From cad1c65c050e035696918dc21ee7fac6b21d3c69 Mon Sep 17 00:00:00 2001 From: ouidade Date: Sat, 27 Nov 2021 23:46:34 +0100 Subject: [PATCH] background svg position --- web/themes/custom/eql/css-compiled/styles.css | 14 +++++++++----- web/themes/custom/eql/scss/pages/_ami.scss | 2 +- web/themes/custom/eql/scss/pages/_contact.scss | 2 +- web/themes/custom/eql/scss/pages/_gouvernance.scss | 2 +- web/themes/custom/eql/scss/pages/_partenaires.scss | 3 ++- web/themes/custom/eql/scss/pages/_programme.scss | 2 +- 6 files changed, 15 insertions(+), 10 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 8d85520..207fd24 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -383,7 +383,7 @@ a { .node-id-20 { background: url("../images/pictos/carre-contour-bleu_partenaire.svg"); background-repeat: no-repeat; - top: 7rem; } + background-position-y: 7rem; } .node-id-20 .layout__region--top { padding-bottom: 3rem; } .node-id-20 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { @@ -423,7 +423,8 @@ a { .node-id-35 .region-content { background: url("../images/pictos/carre-contour-bleu_gouvernance.svg"); - background-repeat: no-repeat; } + background-repeat: no-repeat; + background-position-y: 7rem; } .node-id-35 .layout__region--top { padding-bottom: 3rem; } @@ -437,7 +438,8 @@ a { .node-id-3 { background: url("../images/pictos/carre-contour-bleu_partenaire.svg"); - background-repeat: no-repeat; } + background-repeat: no-repeat; + background-position-y: 7rem; } .node-id-3 .layout__region--top { padding-bottom: 3rem; } .node-id-3 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { @@ -487,7 +489,8 @@ a { .node-id-4 { background: url("../images/pictos/carre-contour-bleu_programme.svg"); - background-repeat: no-repeat; } + background-repeat: no-repeat; + background-position-y: 7rem; } .node-id-4 .layout__region--top { padding-bottom: 3rem; } .node-id-4 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { @@ -500,7 +503,8 @@ a { .node-id-5 .region-content { background: url("../images/pictos/carre-contour-bleu_contact.svg"); - background-repeat: no-repeat; } + background-repeat: no-repeat; + background-position-y: 7rem; } .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 9d23425..03bc142 100644 --- a/web/themes/custom/eql/scss/pages/_ami.scss +++ b/web/themes/custom/eql/scss/pages/_ami.scss @@ -2,7 +2,7 @@ background: url('../images/pictos/carre-contour-bleu_partenaire.svg'); background-repeat: no-repeat; - + background-position-y: 7rem; .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 8a9ed7c..4411d1e 100644 --- a/web/themes/custom/eql/scss/pages/_contact.scss +++ b/web/themes/custom/eql/scss/pages/_contact.scss @@ -2,7 +2,7 @@ .region-content{ background: url('../images/pictos/carre-contour-bleu_contact.svg'); background-repeat: no-repeat; - + background-position-y: 7rem; } diff --git a/web/themes/custom/eql/scss/pages/_gouvernance.scss b/web/themes/custom/eql/scss/pages/_gouvernance.scss index 2b91173..1426026 100644 --- a/web/themes/custom/eql/scss/pages/_gouvernance.scss +++ b/web/themes/custom/eql/scss/pages/_gouvernance.scss @@ -2,7 +2,7 @@ .region-content{ background: url('../images/pictos/carre-contour-bleu_gouvernance.svg'); background-repeat: no-repeat; - + background-position-y: 7rem; } diff --git a/web/themes/custom/eql/scss/pages/_partenaires.scss b/web/themes/custom/eql/scss/pages/_partenaires.scss index c397753..b045c94 100644 --- a/web/themes/custom/eql/scss/pages/_partenaires.scss +++ b/web/themes/custom/eql/scss/pages/_partenaires.scss @@ -2,7 +2,8 @@ background: url('../images/pictos/carre-contour-bleu_partenaire.svg'); background-repeat: no-repeat; - top: 7rem; + background-position-y: 7rem; + .layout__region--top{ //bandeau titre page static padding-bottom: 3rem; diff --git a/web/themes/custom/eql/scss/pages/_programme.scss b/web/themes/custom/eql/scss/pages/_programme.scss index 472937c..78ff364 100644 --- a/web/themes/custom/eql/scss/pages/_programme.scss +++ b/web/themes/custom/eql/scss/pages/_programme.scss @@ -2,7 +2,7 @@ background: url('../images/pictos/carre-contour-bleu_programme.svg'); background-repeat: no-repeat; - + background-position-y: 7rem; .layout__region--top{ //bandeau titre page static padding-bottom: 3rem;