summaryrefslogtreecommitdiff
path: root/style.scss
diff options
context:
space:
mode:
authorSiri Reiter <siri@pjones.dk>2022-10-31 18:58:19 +0100
committerSiri Reiter <siri@pjones.dk>2022-10-31 18:58:19 +0100
commit28ab2da866106b2ebf627b11c92e67ae7aa65cd7 (patch)
treed7281a2ad0847241290f2ca9dcd3b1264aa28963 /style.scss
parent784f54eff6192116221e5d15ee600094350d4c84 (diff)
background images wide screens only
Diffstat (limited to 'style.scss')
-rw-r--r--style.scss10
1 files changed, 6 insertions, 4 deletions
diff --git a/style.scss b/style.scss
index 2df204f..eb3a3d8 100644
--- a/style.scss
+++ b/style.scss
@@ -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 {