mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
only darken on dark mode
This commit is contained in:
parent
2a31380dbc
commit
ec448d6c41
@ -97,7 +97,7 @@ body {
|
|||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: rgba(255, 255, 255, 0.7);
|
color: rgba(255, 255, 255, 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
.md-typeset h1 {
|
.md-typeset h1 {
|
||||||
@ -113,9 +113,13 @@ body[data-md-color-scheme="default"] {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: hsl(0deg 0% 0% / 20%);
|
background: hsl(0deg 0% 0% / 10%);
|
||||||
backdrop-filter: blur(192px);
|
backdrop-filter: blur(128px);
|
||||||
-webkit-backdrop-filter: blur(192px);
|
-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,
|
.md-nav--lifted > .md-nav__list > .md-nav__item--active > .md-nav__link,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user