From 28ab2da866106b2ebf627b11c92e67ae7aa65cd7 Mon Sep 17 00:00:00 2001 From: Siri Reiter Date: Mon, 31 Oct 2022 18:58:19 +0100 Subject: background images wide screens only --- style.scss | 10 ++++++---- 1 file 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 { -- cgit v1.2.3