1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 22:54:22 +00:00
festa/styles/components/postcard.css

31 lines
No EOL
545 B
CSS

.postcard {
width: 100vw;
height: 100vh;
background-attachment: fixed;
background-size: cover;
background-position: 50% 50%;
position: fixed;
top: 0;
left: 0;
user-select: none;
pointer-events: none;
}
.postcard-vis-background {
z-index: -1;
filter: blur(7px) contrast(50%) brightness(50%);
}
@media (prefers-color-scheme: light) {
.postcard-vis-background {
filter: blur(7px) contrast(25%) brightness(175%);
}
}
.postcard-vis-foreground {
z-index: 1;
filter: none;
}