summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiri Reiter <siri@jones.dk>2017-08-29 22:12:17 +0200
committerSiri Reiter <siri@jones.dk>2017-08-29 22:12:17 +0200
commit735dcc8766f169b78c72a671535e317a5a5494ce (patch)
treed4d0f797f0988c6e7fc93995bfda559bf745fc4a
parent46d77e77047b47af5f69824124aef42c2f3253bf (diff)
Fix responsive topbar background image.
-rw-r--r--local.scss8
1 files changed, 3 insertions, 5 deletions
diff --git a/local.scss b/local.scss
index a9a8d2f..20a1efb 100644
--- a/local.scss
+++ b/local.scss
@@ -82,11 +82,9 @@ div.branding {
background-position: 20% 0;
background-repeat: no-repeat;
color: $link_color;
- img.img {
- @media screen and (max-width: 480px) {
- max-width: 96%;
- height: auto;
- }
+ @media screen and (max-width: 480px) {
+ background-position: 2%;
+ background-size: 96%;
}
}