From 17a1a288980575c6a22c74c8eef758e4d0b7c1f4 Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 20 Sep 2024 13:51:59 +0200 Subject: [PATCH] lien plaquette home --- .../quartiers_de_demain/dist/assets/css/bundle.css | 6 ++++++ .../src/assets/scss/pages/home.scss | 12 ++++++++++++ 2 files changed, 18 insertions(+) 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 b6efc8b..b79b2dd 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 @@ -1741,6 +1741,12 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h margin-top: 0; } } +#home article.node-type-static .field_body > p:nth-child(4) { + flex: 1 100%; + display: flex; + justify-content: flex-end; + padding-right: 2rem; +} #home article.node-type-static .field_field_title { width: fit-content; margin: auto; diff --git a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/home.scss b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/home.scss index 4e66e72..5007e1b 100644 --- a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/home.scss +++ b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/home.scss @@ -124,6 +124,18 @@ margin-top: 0; } } + > p:nth-child(4){ + flex: 1 100%; + display: flex; + justify-content: flex-end; + padding-right: 2rem; + // margin: auto; + // padding-bottom: 2rem; + // @media(max-width: 1090px){ + // padding-top: 0 ; + // margin-top: 0; + // } + } } .field_field_title{ width: fit-content;