From c7ac58dca1a978aa1e8ca89cd087fc7f354a4a56 Mon Sep 17 00:00:00 2001 From: 0xmac Date: Fri, 20 Sep 2024 22:46:52 +0200 Subject: [PATCH] Fixed Mobile Navbar issue --- global/global.js | 2 +- src/style.css | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/global/global.js b/global/global.js index bdb25c9..cb9da5d 100644 --- a/global/global.js +++ b/global/global.js @@ -32,7 +32,7 @@ navContent = [ ["P", "Projects", "projects/"], ["P", "Posts", "posts/"], ["SEP"], - ["L", "Personal Git", "https://git.weingardt.dev/explore/repos"], + ["L", "Git", "https://git.weingardt.dev/explore/repos"], ["SEP"], ["P", "Website Info", "info/"] ]; diff --git a/src/style.css b/src/style.css index 9ed5018..e07429c 100644 --- a/src/style.css +++ b/src/style.css @@ -51,7 +51,7 @@ nav{ float:left; clear:left; - text-align:right; + text-align:center; margin-right: 20px; margin-top: 10px; @@ -158,6 +158,10 @@ footer{ content: "/"; } + .navSep { + scale: 0%; + } + .selected-nav{ text-decoration-color: var(--main-fg-color); text-decoration-line: underline; @@ -170,6 +174,12 @@ footer{ margin-right: auto; display: flex; } + + .nav{ + white-space: nowrap; + font-size: 12px; + margin-right: 10px; + } } @media (min-width: 576px){