taille header et padding contenu

This commit is contained in:
ouidade 2024-09-19 14:29:53 +02:00
parent 78e8acc00d
commit 097882e407
2 changed files with 14 additions and 4 deletions

View File

@ -1681,12 +1681,13 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
display: none;
}
#home article.node-type-static .field_body {
width: 80%;
width: 65%;
margin: auto;
display: flex;
flex-direction: row;
flex-wrap: wrap;
position: relative;
margin-left: 14rem;
}
@media (max-width: 1090px) {
#home article.node-type-static .field_body {
@ -1720,7 +1721,7 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
}
}
#home article.node-type-static .field_body > p:nth-child(2) {
padding-left: 15rem;
padding-left: 10rem;
}
@media (max-width: 1090px) {
#home article.node-type-static .field_body > p:nth-child(2) {
@ -1743,6 +1744,7 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
#home article.node-type-static #paragraph-id--1 {
background-color: #edefe8;
position: relative;
padding-left: 4rem;
}
#home article.node-type-static #paragraph-id--1.paragraph--type--static-parts {
padding-bottom: 0 !important;
@ -1979,6 +1981,7 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
}
}
#home article.node-type-static #paragraph-id--6 {
padding-left: 4rem;
display: flex;
flex-direction: column;
margin: auto;
@ -2041,6 +2044,7 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
height: auto;
}
#home article.node-type-static #paragraph-id--7 {
padding-left: 4rem;
background-color: #0833c2;
display: flex;
flex-direction: column;

View File

@ -78,12 +78,14 @@
display: none;
}
.field_body{ ///// texte de présentation
width: 80%;
// width: 80%;
width: 65%;
margin: auto;
display: flex;
flex-direction: row;
flex-wrap: wrap ;
position: relative;
margin-left: 14rem;
@media(max-width: 1090px){
flex-direction: column;
width: 90%;
@ -109,7 +111,8 @@
}
}
> p:nth-child(2){
padding-left: 15rem;
// padding-left: 15rem;
padding-left: 10rem;
@media(max-width: 1090px){
padding-left: 0 ;
}
@ -131,6 +134,7 @@
#paragraph-id--1{ ///// Les enjeux 1
background-color: #edefe8;
position: relative;
padding-left: 4rem;
&.paragraph--type--static-parts{padding-bottom: 0 !important;}
.field_field_title{
@ -368,6 +372,7 @@
#paragraph-id--6{ /////// quartier 2030
padding-left: 4rem;
display: flex;
flex-direction: column;
margin: auto;
@ -424,6 +429,7 @@
}
#paragraph-id--7{ ///////// les piliers
padding-left: 4rem;
background-color: #0833c2ff;
display: flex;
flex-direction: column;