Skip to content

Commit

Permalink
only darken on dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
benphelps committed Jun 20, 2024
1 parent 2a31380 commit ec448d6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ body {
background-attachment: fixed;
background-position: center;
background-color: transparent;
color: rgba(255, 255, 255, 0.7);
color: rgba(255, 255, 255, 0.8);
}

.md-typeset h1 {
Expand All @@ -113,9 +113,13 @@ body[data-md-color-scheme="default"] {
position: fixed;
width: 100%;
height: 100%;
background: hsl(0deg 0% 0% / 20%);
backdrop-filter: blur(192px);
-webkit-backdrop-filter: blur(192px);
background: hsl(0deg 0% 0% / 10%);
backdrop-filter: blur(128px);
-webkit-backdrop-filter: blur(128px);
}

[data-md-color-scheme="default"] .blur-overlay {
background: hsla(0, 0%, 0%, 0);
}

.md-nav--lifted > .md-nav__list > .md-nav__item--active > .md-nav__link,
Expand Down

0 comments on commit ec448d6

Please sign in to comment.