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 b28abf1..a45986d 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 @@ -202,7 +202,12 @@ h2, h3 { } @media (max-width: 810px) { .layout-container main#home { - padding-top: 320px; + padding-top: 380px; + } +} +@media (max-width: 810px) { + .layout-container .node-type-static .layout-content .content_container #block-quartiers-de-demain-titredepage { + margin-top: 14rem; } } @@ -557,6 +562,7 @@ header .header:hover + .header_nav_container { flex: 1 0 100%; position: relative; left: -100%; + top: -45px; } } @@ -599,6 +605,7 @@ header .header:hover + .header_nav_container { flex: 1 0 100%; position: relative; left: -100%; + top: -45px; } } @@ -2576,7 +2583,7 @@ body { } @media (max-width: 810px) { #consultation .layout-content .content_container #block-quartiers-de-demain-titredepage { - margin-top: 10rem; + margin-top: 14rem; } } #consultation .layout-content .content_container #block-quartiers-de-demain-titredepage h1 { @@ -2797,7 +2804,7 @@ body { } @media (max-width: 810px) { .partenaires .layout-content .content_container #block-quartiers-de-demain-titredepage { - margin-top: 10rem; + margin-top: 14rem; grid-column: 2/span 9; } } @@ -3061,7 +3068,7 @@ body { } @media (max-width: 810px) { #page-node .content_container { - margin-top: 10rem; + margin-top: 14rem; width: 80%; } } @@ -3569,7 +3576,7 @@ main { } @media (max-width: 810px) { #lessites .content_container #block-quartiers-de-demain-titredepage { - margin-top: 10rem; + margin-top: 14rem; grid-column: 2/span 9; margin-left: 0; padding-left: 0%; diff --git a/web/themes/custom/quartiers_de_demain/src/assets/scss/global/_layout.scss b/web/themes/custom/quartiers_de_demain/src/assets/scss/global/_layout.scss index 09fe138..a97dd0b 100644 --- a/web/themes/custom/quartiers_de_demain/src/assets/scss/global/_layout.scss +++ b/web/themes/custom/quartiers_de_demain/src/assets/scss/global/_layout.scss @@ -45,10 +45,15 @@ $width-menu-slidedown : 550px; @media(max-width: 810px){ - padding-top: 320px; + padding-top: 380px; } } } + .node-type-static .layout-content .content_container #block-quartiers-de-demain-titredepage{ + @media(max-width: 810px){ + margin-top: 14rem; + } + } } .layout--threecol-25-50-25{ diff --git a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/actualite.scss b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/actualite.scss index f45de04..225cff8 100644 --- a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/actualite.scss +++ b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/actualite.scss @@ -7,7 +7,7 @@ margin: auto; align-items: center; @media(max-width: 810px){ - margin-top: 10rem; + margin-top: 14rem; width: 80%; } #block-quartiers-de-demain-prevnextblock{ diff --git a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/consultation.scss b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/consultation.scss index a353d28..222f510 100644 --- a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/consultation.scss +++ b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/consultation.scss @@ -13,7 +13,7 @@ margin-top: 1rem; width: fit-content; @media(max-width: 810px){ - margin-top: 10rem; + margin-top: 14rem; } h1{ text-transform: none; diff --git a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/lessites.scss b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/lessites.scss index 7c965dd..192a75e 100644 --- a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/lessites.scss +++ b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/lessites.scss @@ -15,7 +15,7 @@ main{ padding-left: 20%; @media(max-width: 810px){ - margin-top: 10rem; + margin-top: 14rem; grid-column: 2 /span 9; margin-left: 0; padding-left: 0%; diff --git a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/partenaires.scss b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/partenaires.scss index edd566b..8483f5b 100644 --- a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/partenaires.scss +++ b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/partenaires.scss @@ -9,7 +9,7 @@ margin-top: 1rem; width: fit-content; @media(max-width: 810px){ - margin-top: 10rem; + margin-top: 14rem; grid-column: 2 /span 9; } 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 1c7ee64..e592834 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 @@ -342,6 +342,8 @@ header{ flex: 1 0 100%; position: relative; left: -100%; + top: -45px; + } } @@ -376,6 +378,7 @@ header{ flex: 1 0 100%; position: relative; left: -100%; + top: -45px; } }