forked from blek/world
1
0
Fork 0

add background styling for mobile users

This commit is contained in:
b1ek 2024-01-07 23:06:37 +10:00
parent 86a23df7cc
commit 3d3408321b
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 9 additions and 1 deletions

View File

@ -9,9 +9,17 @@
background: black url(/sunset.gif) no-repeat; background: black url(/sunset.gif) no-repeat;
background-size: cover; background-size: cover;
background-position: bottom; background-position-y: bottom;
background-position-x: center;
filter: brightness(0.25); filter: brightness(0.25);
box-shadow: inset 0 0 512px 128px black; box-shadow: inset 0 0 512px 128px black;
transition: 250ms ease;
@media (max-width:667px) {
filter: brightness(0.5);
box-shadow: inset 0 0 128px 32px black;
background-position-x: 14.5%;
}
} }
.content { .content {