Skip to content

Commit

Permalink
Site updated: 2024-09-27 12:18:46
Browse files Browse the repository at this point in the history
  • Loading branch information
zlicdt committed Sep 27, 2024
1 parent 40fd7cc commit 0f02719
Showing 1 changed file with 48 additions and 5 deletions.
53 changes: 48 additions & 5 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,21 @@ sup > a::before,
-o-transform: rotate(-135deg);
transform: rotate(-135deg);
}
.navbar .dropdown-collapse,
.top-nav-collapse,
.navbar-col-show {
background-color: var(--navbar-bg-color);
@supports (-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px)) {
.navbar .dropdown-collapse,
.top-nav-collapse,
.navbar-col-show {
background: rgba(120,180,255,0.5);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
}
}
@supports not ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
.navbar .dropdown-collapse,
.top-nav-collapse,
.navbar-col-show {
background: #78b4ff;
}
}
@media (max-width: 767px) {
.navbar {
Expand Down Expand Up @@ -845,7 +856,7 @@ i.iconfont {
--link-hover-color: #30a9de;
--link-hover-bg-color: #f8f9fa;
--line-color: #eaecef;
--navbar-bg-color: #2f4154;
--navbar-bg-color: #78b4ff;
--navbar-text-color: #fff;
--subtitle-color: #fff;
--scrollbar-color: #c4c6c9;
Expand Down Expand Up @@ -889,6 +900,22 @@ i.iconfont {
filter: brightness(0.9);
transition: filter 0.2s ease-in-out;
}
@supports (-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px)) {
:root:not([data-user-color-scheme]) .navbar .dropdown-collapse,
:root:not([data-user-color-scheme]) .top-nav-collapse,
:root:not([data-user-color-scheme]) .navbar-col-show {
background: rgba(31,49,68,0.5);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
}
}
@supports not ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
:root:not([data-user-color-scheme]) .navbar .dropdown-collapse,
:root:not([data-user-color-scheme]) .top-nav-collapse,
:root:not([data-user-color-scheme]) .navbar-col-show {
background: #1f3144;
}
}
:root:not([data-user-color-scheme]) .license-box {
background-color: rgba(62,75,94,0.35);
transition: background-color 0.2s ease-in-out;
Expand Down Expand Up @@ -927,6 +954,22 @@ i.iconfont {
filter: brightness(0.9);
transition: filter 0.2s ease-in-out;
}
@supports (-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px)) {
[data-user-color-scheme="dark"] .navbar .dropdown-collapse,
[data-user-color-scheme="dark"] .top-nav-collapse,
[data-user-color-scheme="dark"] .navbar-col-show {
background: rgba(31,49,68,0.5);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
}
}
@supports not ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
[data-user-color-scheme="dark"] .navbar .dropdown-collapse,
[data-user-color-scheme="dark"] .top-nav-collapse,
[data-user-color-scheme="dark"] .navbar-col-show {
background: #1f3144;
}
}
[data-user-color-scheme="dark"] .license-box {
background-color: rgba(62,75,94,0.35);
transition: background-color 0.2s ease-in-out;
Expand Down

0 comments on commit 0f02719

Please sign in to comment.