diff options
author | Parker <contact@pkrm.dev> | 2024-11-12 23:34:45 -0600 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2024-11-12 23:34:45 -0600 |
commit | 47b429e8b1c8ae99a945ee0795d98311bc2aba42 (patch) | |
tree | 0d6390b8f0629d9c83163b99432cf4673ca25065 /app/src/styles/Navbar.module.css | |
parent | 3b2258877fcbd211314b153c56273e3a597ad08b (diff) |
basic navbar
Diffstat (limited to 'app/src/styles/Navbar.module.css')
-rw-r--r-- | app/src/styles/Navbar.module.css | 47 |
1 files changed, 35 insertions, 12 deletions
diff --git a/app/src/styles/Navbar.module.css b/app/src/styles/Navbar.module.css index 217e4b1..d8c3f72 100644 --- a/app/src/styles/Navbar.module.css +++ b/app/src/styles/Navbar.module.css @@ -1,18 +1,41 @@ -/* Create the nav and center the span */ +/* Create the navbar and set the colors */ .navbar { display: flex; - justify-content: center; - align-items: center; - height: 60px; - background-color: #f8f9fa; + justify-content: space-between; + background-color: #3b4148; + color: white; + padding: 15px; } -/* Create the nav links */ +.navbarLink { + margin: 0 20px; + position: relative; + display: inline-block; + text-decoration: none; + color: #ccc; + font-size: 20px; + font-weight: 600; +} + +.navbarLink::after { + content: ""; + position: absolute; + bottom: 0; + left: 0; + width: 0%; + height: 2px; + background-color: #ccc; + transition: width 0.3s ease; +} + +.navbarLink:hover::after { + width: 100%; +} + +.navbarLeft { + margin-left: 50px; +} -span { - font-size: 35px; - font-weight: 600; - color: #333; - text-decoration: none; - margin-right: 10px; +.navbarRight { + margin-right: 50px; }
\ No newline at end of file |