1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-11-20 01:52:32 +01:00
This commit is contained in:
GilbN 2022-04-03 13:50:22 +00:00
parent d7969e06cb
commit c257723106

View File

@ -66,11 +66,10 @@ section {
/* slightly transparent fallback for Firefox (not supporting backdrop-filter) */
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
#mainNav,
#mainNav.navbar-scrolled {
box-shadow: none;
background-color: rgba(0, 0, 0, 0.9);
background-color: rgba(var(--accent-color), 1);
}
}
#mainNav .navbar-nav .nav-item .nav-link {
@ -83,6 +82,11 @@ section {
opacity: .8;
}
@media (min-width: 992px) {
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
#mainNav {
background-color: rgba(var(--accent-color), 0.95) !important;
}
}
#mainNav {
box-shadow: none;
background-color: rgba(var(--accent-color), 0.25);