mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 14:44:21 +00:00
Move postcard filters to postcard.css
This commit is contained in:
parent
599fa117cd
commit
02df4ae841
2 changed files with 7 additions and 8 deletions
|
@ -15,10 +15,6 @@
|
|||
--warning: #ffff88;
|
||||
}
|
||||
|
||||
.postcard {
|
||||
filter: blur(7px) contrast(50%) brightness(50%);
|
||||
}
|
||||
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root, :host {
|
||||
|
@ -36,8 +32,4 @@
|
|||
--negative: #880000;
|
||||
--warning: #666600;
|
||||
}
|
||||
|
||||
.postcard {
|
||||
filter: blur(7px) contrast(25%) brightness(175%);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
background-size: cover;
|
||||
background-position: 50% 50%;
|
||||
z-index: -1;
|
||||
filter: blur(7px) contrast(50%) brightness(50%);
|
||||
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
@ -15,6 +16,12 @@
|
|||
pointer-events: none;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
.postcard {
|
||||
filter: blur(7px) contrast(25%) brightness(175%);
|
||||
}
|
||||
}
|
||||
|
||||
.postcard-visible {
|
||||
z-index: 1;
|
||||
filter: none;
|
||||
|
|
Loading…
Reference in a new issue