From db87cb668f20d3cb66bf5d126f57d9656057d52d Mon Sep 17 00:00:00 2001 From: alizardguy Date: Sun, 17 Dec 2023 20:59:05 -0800 Subject: [PATCH] better scale for navbar text --- styles/navigation.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/styles/navigation.css b/styles/navigation.css index dc495b6..32f7488 100644 --- a/styles/navigation.css +++ b/styles/navigation.css @@ -28,6 +28,13 @@ li { float: left; } +@media only screen and (max-width: 600px) { + li { + font-size: 2.5vw; + font-weight: bolder; + } +} + li a:hover { color: white; } @@ -36,7 +43,7 @@ li a:hover { nav { position: fixed; width: 99%; - left: 0.2%; + left: 0.3%; height: 64px; backdrop-filter: brightness(60%) blur(2px); border-radius: 32px;