Skip to content

Commit

Permalink
increase contrast, fix safari
Browse files Browse the repository at this point in the history
  • Loading branch information
benphelps committed Jun 20, 2024
1 parent 0962e33 commit 2a31380
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,25 @@ body {
background-attachment: fixed;
background-position: center;
background-color: transparent;
color: #ffffffee;
color: rgba(255, 255, 255, 0.7);
}

.md-typeset h1 {
color: #fff;
}

body[data-md-color-scheme="default"] {
color: rgba(255, 255, 255, 1);
}

.blur-overlay {
z-index: -1;
position: fixed;
width: 100%;
height: 100%;
background: hsla(0, 0%, 0%, 0);
backdrop-filter: blur(128px);
-webkit-backdrop-filter: blur(128px);
background: hsl(0deg 0% 0% / 20%);
backdrop-filter: blur(192px);
-webkit-backdrop-filter: blur(192px);
}

.md-nav--lifted > .md-nav__list > .md-nav__item--active > .md-nav__link,
Expand Down Expand Up @@ -253,3 +261,7 @@ body {
.md-typeset details.danger {
box-shadow: 0 0 1rem 0.25rem hsl(0deg 100% 37.45% / 20%);
}

.md-tabs__link {
transform: translateZ(0);
}

0 comments on commit 2a31380

Please sign in to comment.