forked from blek/world
add background styling for mobile users
This commit is contained in:
parent
86a23df7cc
commit
3d3408321b
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue