mirror of
https://github.com/HananoshikaYomaru/openfreebooks.git
synced 2026-11-12 20:45:52 +00:00
23 lines
448 B
SCSS
23 lines
448 B
SCSS
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9999;
|
|
pointer-events: none;
|
|
opacity: 0.7;
|
|
mix-blend-mode: multiply;
|
|
background-image: var(--grain-svg);
|
|
background-size: 180px 180px;
|
|
}
|
|
|
|
[data-theme="dark"] body::before {
|
|
opacity: 0.45;
|
|
mix-blend-mode: soft-light;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root:not([data-theme="light"]) body::before {
|
|
opacity: 0.45;
|
|
mix-blend-mode: soft-light;
|
|
}
|
|
}
|