diff options
author | Siri Reiter <siri@pjones.dk> | 2022-10-31 18:58:19 +0100 |
---|---|---|
committer | Siri Reiter <siri@pjones.dk> | 2022-10-31 18:58:19 +0100 |
commit | 28ab2da866106b2ebf627b11c92e67ae7aa65cd7 (patch) | |
tree | d7281a2ad0847241290f2ca9dcd3b1264aa28963 /style.scss | |
parent | 784f54eff6192116221e5d15ee600094350d4c84 (diff) |
background images wide screens only
Diffstat (limited to 'style.scss')
-rw-r--r-- | style.scss | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -18,10 +18,12 @@ @include ikiwiki-style; body { - background-image: url(cloud.jpg), url(grass.jpg), url(stream.jpg), url(birds.jpg); - background-repeat: no-repeat, no-repeat, no-repeat, no-repeat; - background-position: right 5em top 5em, right 5em bottom 5em, left 5em bottom 5em, left 5em top 7em; - background-size: 30em, 30em, 30em, 30em; + @include breakpoint($wide) { + background-image: url(cloud.jpg), url(grass.jpg), url(stream.jpg), url(birds.jpg); + background-repeat: no-repeat, no-repeat, no-repeat, no-repeat; + background-position: right 5em top 5em, right 5em bottom 5em, left 5em bottom 5em, left 5em top 7em; + background-size: 30em, 30em, 30em, 30em; + } } h1 { |