From 7604592b7a68fee231b63ff5123837e3eb1beaf8 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 22 Jan 2024 18:21:16 +0000 Subject: Update font sizes and padding in Default layout and Navbar --- src/styles/Navbar.css | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'src/styles/Navbar.css') diff --git a/src/styles/Navbar.css b/src/styles/Navbar.css index 9dbf797..ee4801f 100644 --- a/src/styles/Navbar.css +++ b/src/styles/Navbar.css @@ -1,7 +1,7 @@ nav { font-weight: 300; - padding-top: 2vh; - padding-bottom: 4.5vh; + padding-top: 1.5em; + padding-bottom: 2.2em; } ul.nav-list { list-style-type: none; @@ -10,11 +10,11 @@ ul.nav-list { display: flex; flex-direction: row; justify-content: center; - gap: 4vh; + gap: 2.2em; } a.nav-link { - font-size: 2vh; + font-size: 1.1em; } a.nav-link:hover { @@ -26,14 +26,6 @@ a.nav-link:active { color: #609460; } -@media (max-width: 768px) { - ul.nav-list { - flex-direction: column; - align-items: center; - gap: 2vh; - } -} - .nav-toggle { background: transparent; border: none; @@ -72,11 +64,10 @@ a.nav-link:active { padding: 20px; } - ul.nav-list { flex-direction: column; align-items: center; - gap: 2vh; + gap: 1em; display: none; } @@ -96,4 +87,4 @@ a.nav-link:active { .nav-list.show a.nav-link { animation: fadeIn 0.5s ease-in-out forwards; } -} +} \ No newline at end of file -- cgit v1.2.3