From 8ebae55898849d9b6b060c0adc87518a16f7cf56 Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 3 Dec 2021 00:49:01 +0100 Subject: [PATCH] new contenu home + footer --- web/profiles/d8-starterkit-profile | 2 +- web/themes/custom/eql/css-compiled/styles.css | 36 ++++++++++--- .../pictos/noun_Arrow_3771902-rouge.svg | 54 +++++++++++++++++++ web/themes/custom/eql/scss/pages/_home.scss | 33 ++++++++++++ .../custom/eql/scss/partials/_footer.scss | 8 +-- 5 files changed, 122 insertions(+), 11 deletions(-) create mode 100644 web/themes/custom/eql/images/pictos/noun_Arrow_3771902-rouge.svg diff --git a/web/profiles/d8-starterkit-profile b/web/profiles/d8-starterkit-profile index 9b46db9..6fe8986 160000 --- a/web/profiles/d8-starterkit-profile +++ b/web/profiles/d8-starterkit-profile @@ -1 +1 @@ -Subproject commit 9b46db9c56faf2cbc965ea1b76ce5345e7f46c0f +Subproject commit 6fe8986494069c7e9bf019cbe98d8f2c7d5166d0 diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 1d4ff02..2fa7656 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -380,6 +380,32 @@ a { font-weight: 800; color: white; font-size: 1.3rem; } + .path-frontpage .block-region-content .block-block-content7db64d87-3e22-4fbd-9c11-2b95f5bef695 { + grid-column: 5; + grid-row: 1; + height: fit-content; + display: flex; + justify-self: end; + width: 50%; + margin-top: 14rem; } + .path-frontpage .block-region-content .block-block-content7db64d87-3e22-4fbd-9c11-2b95f5bef695 .field--name-body { + justify-content: right; + display: flex; + flex-direction: column; + font-family: "Source Code Pro"; + text-transform: uppercase; + text-align: right; + font-size: 1.3rem; } + .path-frontpage .block-region-content .block-block-content7db64d87-3e22-4fbd-9c11-2b95f5bef695 .field--name-body :nth-child(1):after { + display: block; + content: url("../images/pictos/noun_Arrow_3771902-rouge.svg"); + transform: rotate(90deg); + height: fit-content; + position: relative; + top: -30px; + right: -60px; } + .path-frontpage .block-region-content .block-block-content7db64d87-3e22-4fbd-9c11-2b95f5bef695 .field--name-body :nth-child(2) { + font-size: 2rem; } .path-frontpage .block-region-content .block-views-blockactus-blocks-pages-block-1 { grid-area: actus; width: 100vw; @@ -941,9 +967,7 @@ header { #fotter-bottom .region-footer-bottom-left { margin-left: 3rem; border: none; - width: 30%; - display: flex; - flex-direction: row; } + width: 30%; } #fotter-bottom .region-footer-bottom-left .view-id-partenaires .view-content { display: flex; flex-direction: row; @@ -953,9 +977,9 @@ header { #fotter-bottom .region-footer-bottom-left .view-id-partenaires .view-content .node-type-partenaires_logo_footer_ { padding-right: 1rem; padding-bottom: 1rem; } - #fotter-bottom .region-footer-bottom-left .block-views-blockpartenaires-block-3 { - border-left: #009ee3 solid 1px; - padding-left: 1rem; } + #fotter-bottom .region-footer-bottom-left .block-views-blockpartenaires-block-3 img { + width: auto; + height: 30px; } #fotter-bottom .region-footer-bottom-right { width: 15%; display: flex; diff --git a/web/themes/custom/eql/images/pictos/noun_Arrow_3771902-rouge.svg b/web/themes/custom/eql/images/pictos/noun_Arrow_3771902-rouge.svg new file mode 100644 index 0000000..ecb4720 --- /dev/null +++ b/web/themes/custom/eql/images/pictos/noun_Arrow_3771902-rouge.svg @@ -0,0 +1,54 @@ + +image/svg+xml diff --git a/web/themes/custom/eql/scss/pages/_home.scss b/web/themes/custom/eql/scss/pages/_home.scss index bb5c810..fafbefc 100644 --- a/web/themes/custom/eql/scss/pages/_home.scss +++ b/web/themes/custom/eql/scss/pages/_home.scss @@ -173,6 +173,39 @@ } } } + + .block-block-content7db64d87-3e22-4fbd-9c11-2b95f5bef695{ + grid-column: 5; + grid-row: 1; + height: fit-content; + display: flex; + justify-self: end; + width: 50%; + margin-top: 14rem; + .field--name-body{ + justify-content: right; + display: flex; + flex-direction: column; + font-family: "Source Code Pro"; + text-transform: uppercase; + text-align: right; + font-size: 1.3rem; + :nth-child(1){ + &:after{ + display: block; + content: url("../images/pictos/noun_Arrow_3771902-rouge.svg"); + transform: rotate(90deg); + height: fit-content; + position: relative; + top: -30px; + right: -60px; + } + } + :nth-child(2){ + font-size: 2rem; + } + } + } // bandeau actus .block-views-blockactus-blocks-pages-block-1{ diff --git a/web/themes/custom/eql/scss/partials/_footer.scss b/web/themes/custom/eql/scss/partials/_footer.scss index 6ae1f9a..ea03b24 100644 --- a/web/themes/custom/eql/scss/partials/_footer.scss +++ b/web/themes/custom/eql/scss/partials/_footer.scss @@ -28,8 +28,6 @@ margin-left: 3rem; border: none; width: 30%; - display: flex; - flex-direction: row; .view-id-partenaires{ .view-content{ @@ -45,8 +43,10 @@ } } .block-views-blockpartenaires-block-3{ - border-left: $blue-light solid 1px; - padding-left: 1rem; + img{ + width: auto; + height: 30px; + } } }