mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 22:54:22 +00:00
Remove -vis
from the postcard className
This commit is contained in:
parent
6412472d3e
commit
1c00c6d8e0
2 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ export function PostcardRenderer() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={classNames("postcard", `postcard-vis-${visibility}`)}
|
className={classNames("postcard", `postcard-${visibility}`)}
|
||||||
style={{
|
style={{
|
||||||
backgroundImage: image,
|
backgroundImage: image,
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -14,18 +14,18 @@
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.postcard-vis-background {
|
.postcard-background {
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
filter: blur(7px) contrast(50%) brightness(50%);
|
filter: blur(7px) contrast(50%) brightness(50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: light) {
|
@media (prefers-color-scheme: light) {
|
||||||
.postcard-vis-background {
|
.postcard-background {
|
||||||
filter: blur(7px) contrast(25%) brightness(175%);
|
filter: blur(7px) contrast(25%) brightness(175%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.postcard-vis-foreground {
|
.postcard-foreground {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
filter: none;
|
filter: none;
|
||||||
}
|
}
|
Loading…
Reference in a new issue