diff options
author | Cflip <36554078+cflip@users.noreply.github.com> | 2021-01-24 14:18:59 -0700 |
---|---|---|
committer | Cflip <36554078+cflip@users.noreply.github.com> | 2021-01-24 14:18:59 -0700 |
commit | 3598ab4ca42d1caf759ba74dbafa175fb63b05d9 (patch) | |
tree | 94af7e8107a1da734e0892a6683138cb43c182a8 | |
parent | 21ed9dbdfdebc4aef497a9b2ac24e0a0493742d6 (diff) |
Change style on navbar user link
-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; } |