From 6147691f87b098536797a316f42b6c60220b9e44 Mon Sep 17 00:00:00 2001 From: louiseh Date: Thu, 29 Feb 2024 19:40:23 +0100 Subject: [PATCH] background responsive --- www/css/style.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/www/css/style.css b/www/css/style.css index 634ba1a..ad07c94 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -191,13 +191,15 @@ section:nth-child(2) { background-color: #fbfbfb; background-image: url(../img/theme/paint/paint-yellow.svg) , url(../img/theme/elements/chenille.svg); background-repeat: no-repeat; + background-size:auto, 50%; background-position: 0% 100%, 0% 0%; } section:nth-child(3) { background-color: #fbfbfb; - background-image: url(../img/theme/paint/paint-orange.svg), url(../img/theme/elements/cocon.svg) /*url(../img/theme/elements/bouche.svg)*/; + background-image: url(../img/theme/paint/paint-orange.svg), url(../img/theme/elements/cocon.svg); background-repeat: no-repeat; + background-size:auto, 50%; background-position: 0% 100%, top right; } @@ -205,6 +207,7 @@ section:nth-child(4) { background-color: #fbfbfb; background-image: url(../img/theme/paint/paint-magenta.svg), url(../img/theme/elements/cocon_sortie.svg); background-repeat: no-repeat; + background-size:auto, 50%; background-position: 0% 100%, center left; } @@ -213,6 +216,7 @@ section:nth-child(5) { background-color: #fbfbfb; background-image: url(../img/theme/paint/paint-violet.svg), url(../img/theme/elements/early_papillon.svg); background-repeat: no-repeat; + background-size:auto, 50%; background-position: 0% 100%, center right; } @@ -220,6 +224,7 @@ section:nth-child(6) { background-color: #fbfbfb; background-image: url(../img/theme/elements/papillon.svg); background-repeat: no-repeat; + background-size: 50%; background-position: top left; }