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 4c5e063..5df422e 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 @@ -2586,6 +2586,13 @@ body { margin: auto; margin-left: 14rem; } +@media (max-width: 1090px) { + #home #live-youtube { + flex-direction: column; + width: 90%; + margin-left: 1rem; + } +} #home #live-youtube h2 { text-align: center; font-size: 1.5rem; @@ -3619,11 +3626,11 @@ main { #lessites .content_container #block-quartiers-de-demain-titredepage { margin-top: 14rem; grid-column: 2/span 9; - margin-left: 0; padding-left: 0%; } } #lessites .content_container #block-quartiers-de-demain-titredepage h1 { + text-align: center; text-transform: none; color: rgb(7, 50, 194); font-size: 2rem; @@ -3661,6 +3668,11 @@ main { top: 0px; } } +@media (max-width: 810px) { + #lessites .content_container .view .header_view #block-sitesmap-block { + width: 95vw; + } +} #lessites .content_container .view .header_view #block-sitesmap-block #sites-map-container { width: 100%; } @@ -3669,6 +3681,9 @@ main { height: fit-content; } } +#lessites .content_container .view .header_view #block-sitesmap-block #sites-map-container h2 { + display: none; +} #lessites .content_container .view .views-row-wrapper { display: flex; flex-direction: row; 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 ab65514..08a8e99 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 @@ -701,6 +701,11 @@ width: 55%; margin: auto; margin-left: 14rem; + @media(max-width: 1090px){ + flex-direction: column; + width: 90%; + margin-left: 1rem; + } h2{ text-align: center; font-size: 1.5rem; 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 192a75e..384d3b3 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 @@ -17,11 +17,12 @@ main{ @media(max-width: 810px){ margin-top: 14rem; grid-column: 2 /span 9; - margin-left: 0; + // margin-left: 0; padding-left: 0%; } h1{ + text-align: center; text-transform: none; color: $blue_QDD; font-size: 2rem; @@ -61,12 +62,16 @@ main{ top: 0px; } + @media(max-width: 810px){ + width: 95vw; + } #sites-map-container{ width: 100%; @media(max-width: 810px){ height:fit-content; } + h2{display: none;} } }