From 0956ea99f4e6eba84ed73e13432b1b736a5b385c Mon Sep 17 00:00:00 2001 From: ouidade Date: Sun, 28 Nov 2021 22:26:09 +0100 Subject: [PATCH] background contain all pages --- web/themes/custom/eql/css-compiled/styles.css | 16 ++++++++++++---- web/themes/custom/eql/scss/pages/_ami.scss | 2 ++ web/themes/custom/eql/scss/pages/_contact.scss | 2 ++ .../custom/eql/scss/pages/_gouvernance.scss | 2 ++ web/themes/custom/eql/scss/pages/_programme.scss | 2 ++ 5 files changed, 20 insertions(+), 4 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 909ed9b..5fa4c91 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -446,7 +446,9 @@ a { .node-id-35 .region-content { background: url("../images/pictos/carre-contour-bleu_gouvernance.svg"); background-repeat: no-repeat; - background-position-y: 7rem; } + background-position-y: 7rem; + max-width: 100vw; + background-size: contain; } .node-id-35 .layout__region--top { padding-bottom: 3rem; } @@ -461,7 +463,9 @@ a { .node-id-3 { background: url("../images/pictos/carre-contour-bleu_partenaire.svg"); background-repeat: no-repeat; - background-position-y: 7rem; } + background-position-y: 7rem; + max-width: 100vw; + background-size: contain; } .node-id-3 .layout__region--top { padding-bottom: 3rem; } .node-id-3 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { @@ -539,7 +543,9 @@ a { .node-id-4 { background: url("../images/pictos/carre-contour-bleu_programme.svg"); background-repeat: no-repeat; - background-position-y: 7rem; } + background-position-y: 7rem; + max-width: 100vw; + background-size: contain; } .node-id-4 .layout__region--top { padding-bottom: 3rem; } .node-id-4 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { @@ -553,7 +559,9 @@ a { .node-id-5 .region-content { background: url("../images/pictos/carre-contour-bleu_contact.svg"); background-repeat: no-repeat; - background-position-y: 7rem; } + background-position-y: 7rem; + max-width: 100vw; + background-size: contain; } .node-id-5 .layout__region--top { padding-bottom: 3rem; } diff --git a/web/themes/custom/eql/scss/pages/_ami.scss b/web/themes/custom/eql/scss/pages/_ami.scss index 03bc142..18258d1 100644 --- a/web/themes/custom/eql/scss/pages/_ami.scss +++ b/web/themes/custom/eql/scss/pages/_ami.scss @@ -3,6 +3,8 @@ background: url('../images/pictos/carre-contour-bleu_partenaire.svg'); background-repeat: no-repeat; background-position-y: 7rem; + max-width: 100vw; + background-size: contain; .layout__region--top{ //bandeau titre page static padding-bottom: 3rem; diff --git a/web/themes/custom/eql/scss/pages/_contact.scss b/web/themes/custom/eql/scss/pages/_contact.scss index 4411d1e..8a889b1 100644 --- a/web/themes/custom/eql/scss/pages/_contact.scss +++ b/web/themes/custom/eql/scss/pages/_contact.scss @@ -3,6 +3,8 @@ background: url('../images/pictos/carre-contour-bleu_contact.svg'); background-repeat: no-repeat; background-position-y: 7rem; + max-width: 100vw; + background-size: contain; } diff --git a/web/themes/custom/eql/scss/pages/_gouvernance.scss b/web/themes/custom/eql/scss/pages/_gouvernance.scss index 1426026..603a7be 100644 --- a/web/themes/custom/eql/scss/pages/_gouvernance.scss +++ b/web/themes/custom/eql/scss/pages/_gouvernance.scss @@ -3,6 +3,8 @@ background: url('../images/pictos/carre-contour-bleu_gouvernance.svg'); background-repeat: no-repeat; background-position-y: 7rem; + max-width: 100vw; + background-size: contain; } diff --git a/web/themes/custom/eql/scss/pages/_programme.scss b/web/themes/custom/eql/scss/pages/_programme.scss index 78ff364..1926871 100644 --- a/web/themes/custom/eql/scss/pages/_programme.scss +++ b/web/themes/custom/eql/scss/pages/_programme.scss @@ -3,6 +3,8 @@ background: url('../images/pictos/carre-contour-bleu_programme.svg'); background-repeat: no-repeat; background-position-y: 7rem; + max-width: 100vw; + background-size: contain; .layout__region--top{ //bandeau titre page static padding-bottom: 3rem;