From f1eecda1a490ae65b591c4f96d36eadcc4101db4 Mon Sep 17 00:00:00 2001 From: ouidade Date: Tue, 29 Oct 2024 16:09:14 +0100 Subject: [PATCH] fix design maud --- .../custom/quartiers_de_demain/dist/assets/css/bundle.css | 7 +++++-- .../quartiers_de_demain/src/assets/scss/pages/home.scss | 4 ++-- .../src/assets/scss/partials/header.scss | 2 ++ 3 files changed, 9 insertions(+), 4 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 dd1cb63..5660dc9 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 @@ -409,6 +409,10 @@ header .header_nav_container #block-quartiers-de-demain-entete ul { align-items: center; } } +header .header_nav_container #block-quartiers-de-demain-entete ul li { + width: 100%; + text-align: left; +} @media (max-width: 1090px) { header .header_nav_container #block-quartiers-de-demain-entete ul li { padding-top: 0.3rem; @@ -2297,7 +2301,7 @@ body { padding: 1rem; padding-left: 0; position: relative; - top: -70px; + top: -100px; } @media (max-width: 820px) { #home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto svg:nth-of-type(2) { @@ -2324,7 +2328,6 @@ body { padding: 1rem; padding-left: 0; position: relative; - left: -0.5rem; } @media (max-width: 820px) { #home article.node-type-static #paragraph-id--7 .field_field_texte .colone-picto svg:nth-of-type(3) { 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 8dfc262..0749005 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 @@ -597,7 +597,7 @@ padding: 1rem; padding-left: 0; position: relative; - top: -70px; + top: -100px; @media(max-width: 820px){ grid-row: 4; grid-column: 1 /span 2 ; @@ -619,7 +619,7 @@ padding: 1rem; padding-left: 0; position: relative; - left: -0.5rem; + // left: -0.5rem; @media(max-width: 820px){ grid-row: 8 ; grid-column: 1 /span 2; diff --git a/web/themes/custom/quartiers_de_demain/src/assets/scss/partials/header.scss b/web/themes/custom/quartiers_de_demain/src/assets/scss/partials/header.scss index 2567552..584e679 100644 --- a/web/themes/custom/quartiers_de_demain/src/assets/scss/partials/header.scss +++ b/web/themes/custom/quartiers_de_demain/src/assets/scss/partials/header.scss @@ -153,6 +153,8 @@ header{ // top: calc($header-height-pad / 10); } li{ + width: 100%; + text-align: left; @media(max-width: 1090px){ padding-top: 0.3rem; }