Commit 04bf2f3f authored by Michael Henretty's avatar Michael Henretty
Browse files

mobile background image

parent 52cd000f
......@@ -17,7 +17,8 @@
--input-height: 2.5rem;
--sidebar-width: 11rem;
--debug-box-height: 8rem;
--base-background-image: url("/img/wave-blue-large@2x.png");
--base-background-image: url("/img/wave-blue-large.png");
--base-background-image-mobile: url("/img/wave-blue-mobile.png");
--page-margin: 1rem;
--hamburger: calc(var(--header-height) * 0.7);
--transition-default: 0.3s;
......@@ -438,7 +439,6 @@ header.active {
}
#scroller {
background-image: var(--base-background-image);
background-size: 100% 20rem;
background-repeat: no-repeat;
background-position: center 0.7rem;
......@@ -449,6 +449,7 @@ header.active {
@media (max-width: 600px) {
#scroller {
background-image: var(--base-background-image-mobile);
position: fixed;
top: 0; bottom: 0;
left: 0; right: 0;
......@@ -456,6 +457,12 @@ header.active {
}
}
@media (min-width: 600px) {
#scroller {
background-image: var(--base-background-image);
}
}
.profile #scroller {
background: none;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment