From 471d16089b180c9f1d978ee551e371502c1e95b9 Mon Sep 17 00:00:00 2001 From: ouidade Date: Wed, 20 Nov 2024 11:48:08 +0100 Subject: [PATCH] =?UTF-8?q?css=20infos=20sites=20et=20fl=C3=A8ches=20actus?= =?UTF-8?q?=20caroussel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dist/assets/css/bundle.css | 16 +++++++----- .../src/assets/scss/pages/node-type-site.scss | 26 ++++++++----------- .../scss/partials/actu-caroussel-home.scss | 4 +++ 3 files changed, 25 insertions(+), 21 deletions(-) diff --git a/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css b/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css index a45986d..aaab10c 100644 --- a/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css +++ b/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css @@ -1507,6 +1507,9 @@ footer { font-family: "gilroy-semibold"; padding-left: 0.5rem; } +#actus-caroussel button { + top: -2.5rem; +} #actus-caroussel .content-actus .view { display: flex; flex-direction: row; @@ -3353,17 +3356,18 @@ body { padding-bottom: 0.5rem; font-family: "gilroy-light"; } -.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .infos h2 { +.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .infos div div:nth-of-type(2) { + font-size: 0.7rem; + border-bottom: solid 0.1px rgb(247, 0, 43); + padding-bottom: 0.5rem; +} +.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .infos .field--label-above { color: rgb(247, 0, 43); text-transform: uppercase; font-family: "gilroy-regular" !important; font-size: 0.5rem !important; margin-bottom: 0; -} -.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .infos div:first-of-type { - font-size: 0.7rem; - border-bottom: solid 0.1px rgb(247, 0, 43); - padding-bottom: 0.5rem; + margin-top: 0.5rem; } .node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .infos div { flex: 1 1 auto; diff --git a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/node-type-site.scss b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/node-type-site.scss index 4e8eed9..53d5fe7 100644 --- a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/node-type-site.scss +++ b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/node-type-site.scss @@ -201,33 +201,29 @@ .infos{ margin-top: 1rem; font-size: 0.5rem; - // border-bottom: solid 1px $red_QDD; display: flex; flex-direction: row; flex-wrap: wrap; - // display: grid; - // grid-template-columns: 1fr 1fr; - // grid-template-rows: 1fr 1fr 1fr; padding-bottom: 0.5rem; font-family: 'gilroy-light'; - - h2{ + div{ + div:nth-of-type(2){ + font-size: 0.7rem; + border-bottom: solid 0.1px $red_QDD; + padding-bottom: 0.5rem; + } + } + .field--label-above{ color: $red_QDD ; text-transform: uppercase; font-family: 'gilroy-regular' !important; font-size: 0.5rem !important; margin-bottom: 0 ; + margin-top: 0.5rem; + } - div:first-of-type{ - - font-size: 0.7rem; - border-bottom: solid 0.1px $red_QDD; - padding-bottom: 0.5rem; - - - - } + div{ flex: 1 1 auto; min-width: 50%; diff --git a/web/themes/custom/quartiers_de_demain/src/assets/scss/partials/actu-caroussel-home.scss b/web/themes/custom/quartiers_de_demain/src/assets/scss/partials/actu-caroussel-home.scss index 1cd335d..788ff11 100644 --- a/web/themes/custom/quartiers_de_demain/src/assets/scss/partials/actu-caroussel-home.scss +++ b/web/themes/custom/quartiers_de_demain/src/assets/scss/partials/actu-caroussel-home.scss @@ -3,6 +3,7 @@ flex-direction: column; align-items: center; padding-bottom: 6rem; + h2{ width: fit-content; padding-bottom: 0.5rem; @@ -13,6 +14,9 @@ padding-left: 0.5rem; } + button{ + top: -2.5rem; + } .content-actus{ .view{ display: flex;