main.scss: fix mobile navbar border

This commit is contained in:
Aminda Suomalainen ⚧ 2024-05-27 07:59:02 +03:00
parent 4bfa26f410
commit c01b5f9eee
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 16 additions and 0 deletions

View File

@ -13,3 +13,19 @@
text-color: revert !important;
background-color: revert !important;
}
@media (prefers-color-scheme: dark) {
.site-nav {
color-scheme: only dark !important;
color: #ffffff !important;
background-color: #1c1b22 !important;
}
}
@media (prefers-color-scheme: light) {
.site-nav {
color-scheme: only light !important;
color: #000000 !important;
background-color: #ffffff !important;
}
}