From 731eef5f04f03f576969f9e3e5100386d682cc84 Mon Sep 17 00:00:00 2001 From: ouidade Date: Thu, 9 Dec 2021 13:58:15 +0100 Subject: [PATCH] height 1er bandeau home --- web/themes/custom/eql/css-compiled/styles.css | 7 ++-- .../custom/eql/images/pictos/forme_home_2.svg | 34 +++++++++---------- web/themes/custom/eql/scss/pages/_home.scss | 13 +++++-- 3 files changed, 33 insertions(+), 21 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 21994a3..acc1adf 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -315,15 +315,18 @@ a { font-weight: 900; color: #009ee3; line-height: 7rem; - margin-top: 1rem; + margin-top: 2rem; margin-bottom: 5rem; width: fit-content; } + .path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche p { + margin-top: 4rem; + margin-bottom: 0; } .path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche span { background-color: white; } .path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title { grid-column: 4; grid-row: 2; - margin-top: 4rem; } + margin-top: 3rem; } .path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title h2 { background-color: white; } .path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title h2 a { diff --git a/web/themes/custom/eql/images/pictos/forme_home_2.svg b/web/themes/custom/eql/images/pictos/forme_home_2.svg index d320b05..e109e7e 100644 --- a/web/themes/custom/eql/images/pictos/forme_home_2.svg +++ b/web/themes/custom/eql/images/pictos/forme_home_2.svg @@ -3,9 +3,9 @@ version="1.1" id="svg871" xml:space="preserve" - width="1695.3451" - height="1022.6142" - viewBox="0 0 1695.3451 1022.6142" + width="1695.3441" + height="1022.614" + viewBox="0 0 1695.3441 1022.614" sodipodi:docname="forme_home_2.svg" inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20, custom)" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" @@ -61,7 +61,7 @@ x2="341.04544" y2="623.79181" gradientUnits="userSpaceOnUse" - gradientTransform="translate(435.18428,-1001.4364)" /> diff --git a/web/themes/custom/eql/scss/pages/_home.scss b/web/themes/custom/eql/scss/pages/_home.scss index c758b80..5da556f 100644 --- a/web/themes/custom/eql/scss/pages/_home.scss +++ b/web/themes/custom/eql/scss/pages/_home.scss @@ -14,6 +14,8 @@ min-height: 100vh; + // 1er bandeau home + .block-views-blockhome-nodes-block-1{ grid-area: presentation; grid-row: 1; @@ -38,18 +40,25 @@ font-weight: 900; color: $blue-light; line-height: 7rem; - margin-top: 1rem; + margin-top: 2rem; margin-bottom: 5rem; width: fit-content; + p{ + margin-top: 4rem; + margin-bottom: 0; + + } + span { background-color: $white; + } } .field--name-title{ grid-column: 4; grid-row: 2; - margin-top: 4rem; + margin-top: 3rem; h2{