diff options
-rw-r--r-- | header.php | 8 | ||||
-rw-r--r-- | styles/style.css | 8 |
2 files changed, 8 insertions, 8 deletions
@@ -13,15 +13,15 @@ session_start(); <div id="wrapper"> <h1 id="title">cflip.net forum<sub style="font-size: small;">beta</sub></h1> <nav> - <a href="index.php">Home</a> - <a href="create_thread.php">Create a thread</a> + <a class="nav_button" href="index.php">Home</a> + <a class="nav_button" href="create_thread.php">Create a thread</a> <div id="user"> <?php if (isset($_SESSION['signed_in'])) { - echo 'Signed in as <a href="user.php?id='. $_SESSION['user_id'] .'">' . $_SESSION['user_name'] . '</a> <a href="includes/signout_inc.php">Log out</a>'; + echo 'Signed in as <b><a href="user.php?id='. $_SESSION['user_id'] .'">' . $_SESSION['user_name'] . '</a></b> <a class="nav_button" href="includes/signout_inc.php">Log out</a>'; } else { - echo '<a href="signin.php">Sign in</a> or <a href="register.php">Register an account</a>'; + echo '<a class="nav_button" href="signin.php">Sign in</a> or <a class="nav_button" href="register.php">Register an account</a>'; } ?> </div> diff --git a/styles/style.css b/styles/style.css index fe7c56c..29ed200 100644 --- a/styles/style.css +++ b/styles/style.css @@ -76,16 +76,16 @@ a:hover { max-height: 600px; } -nav a { +.nav_button { background-color: #00728B; border: 1px solid black; - color: #FFF; + color: white; padding: 3px; text-decoration: none; } -nav a:hover { - color: #FFF; +.nav_button:hover { + color: white; background-color: #009FC1; } |