Fixed Mobile Navbar issue

This commit is contained in:
0xmac 2024-09-20 22:46:52 +02:00
parent d498e75f77
commit c7ac58dca1
2 changed files with 12 additions and 2 deletions

View File

@ -32,7 +32,7 @@ navContent = [
["P", "Projects", "projects/"], ["P", "Projects", "projects/"],
["P", "Posts", "posts/"], ["P", "Posts", "posts/"],
["SEP"], ["SEP"],
["L", "Personal Git", "https://git.weingardt.dev/explore/repos"], ["L", "Git", "https://git.weingardt.dev/explore/repos"],
["SEP"], ["SEP"],
["P", "Website Info", "info/"] ["P", "Website Info", "info/"]
]; ];

View File

@ -51,7 +51,7 @@ nav{
float:left; float:left;
clear:left; clear:left;
text-align:right; text-align:center;
margin-right: 20px; margin-right: 20px;
margin-top: 10px; margin-top: 10px;
@ -158,6 +158,10 @@ footer{
content: "/"; content: "/";
} }
.navSep {
scale: 0%;
}
.selected-nav{ .selected-nav{
text-decoration-color: var(--main-fg-color); text-decoration-color: var(--main-fg-color);
text-decoration-line: underline; text-decoration-line: underline;
@ -170,6 +174,12 @@ footer{
margin-right: auto; margin-right: auto;
display: flex; display: flex;
} }
.nav{
white-space: nowrap;
font-size: 12px;
margin-right: 10px;
}
} }
@media (min-width: 576px){ @media (min-width: 576px){