pages css
This commit is contained in:
@@ -1,120 +1,85 @@
|
||||
.partenaires{
|
||||
// font-family: $font-family-default;
|
||||
.content_container{
|
||||
display: grid;
|
||||
grid-template-columns: repeat(12, 1fr);
|
||||
// display: grid;
|
||||
// grid-template-columns: repeat(12, 1fr);
|
||||
#block-quartiers-de-demain-titredepage{
|
||||
grid-column: 3 /span 9;
|
||||
grid-row: 1;
|
||||
margin-top: 3rem;
|
||||
margin-bottom: 3rem;
|
||||
|
||||
h1{
|
||||
text-transform: uppercase;
|
||||
color: $red_QDD ;
|
||||
font-size: $font-large;
|
||||
font-weight: 300;
|
||||
}
|
||||
}
|
||||
.views-element-container{
|
||||
grid-column: 3 /span 9;
|
||||
grid-row: 2;
|
||||
|
||||
}
|
||||
.node-type-partenaire{
|
||||
width: 100%;
|
||||
padding-bottom: 3rem;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(9, 1fr);
|
||||
grid-template-rows: repeat(auto-fill);
|
||||
// grid-gap: 10px;
|
||||
@media (max-width: 810px){
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.field_field_logo{
|
||||
grid-column: 1 /span 2;
|
||||
grid-row: 1 /span 3;
|
||||
padding-right: 1rem;
|
||||
margin: auto;
|
||||
img{
|
||||
object-fit: contain;
|
||||
max-width: 200px;
|
||||
max-height: 200px;
|
||||
}
|
||||
}
|
||||
.field_title{
|
||||
grid-column: 3 /span 8;
|
||||
grid-row: 1;
|
||||
font-weight: 500;
|
||||
font-size: $font-normal;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
.field_body{
|
||||
grid-column: 3 /span 8;
|
||||
grid-row: 2;
|
||||
margin-left: 1rem;
|
||||
|
||||
}
|
||||
.field_field_lien{
|
||||
grid-column: 3 /span 8;
|
||||
grid-row: 3;
|
||||
border-bottom: 2px solid $blue_QDD;
|
||||
width: fit-content;
|
||||
padding-bottom: 0.5rem;
|
||||
margin-left: 1rem;
|
||||
|
||||
a{
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
svg{
|
||||
display: none;
|
||||
}
|
||||
&::before{
|
||||
display: inline-block;
|
||||
content: url("../images/noun-arrow-to-right.svg");
|
||||
padding-right: 0.5rem;
|
||||
padding-top: 0.2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// .field--name-field-partenaires{
|
||||
// padding-top: 3rem;
|
||||
.node-type-partenaire{
|
||||
width: 100%;
|
||||
padding-bottom: 3rem;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, 1fr);
|
||||
grid-template-rows: repeat(auto-fill);
|
||||
@media (max-width: 810px){
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.field--name-field-logo{
|
||||
|
||||
grid-column: 1 / 2;
|
||||
grid-row: 2;
|
||||
margin-top: 2rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
.field--name-field-titre{
|
||||
grid-column: 2 / 8;
|
||||
grid-row: 1;
|
||||
font-weight: 800;
|
||||
|
||||
}
|
||||
.field--name-field-texte{
|
||||
grid-column: 2 / 8;
|
||||
grid-row: 2;
|
||||
}
|
||||
.field--name-field-lien{
|
||||
grid-column: 2 / 8;
|
||||
grid-row: 3;
|
||||
}
|
||||
|
||||
}
|
||||
a{
|
||||
font-weight: 800;
|
||||
svg{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
// }
|
||||
|
||||
// .field--name-field-equipes{
|
||||
// padding-top: 3rem;
|
||||
// .paragraph--type--equipe{
|
||||
// width: 100%;
|
||||
|
||||
// .paragraph--type--personne{
|
||||
// width: 100%;
|
||||
// padding-bottom: 3rem;
|
||||
// display: grid;
|
||||
// grid-template-columns: repeat(7, 1fr);
|
||||
// grid-template-rows: repeat(auto-fill);
|
||||
// @media (max-width: 810px){
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
// }
|
||||
|
||||
// .field--name-field-photo{
|
||||
|
||||
// grid-column: 1 / 2;
|
||||
// grid-row: 1 / span 3;
|
||||
// // margin-top: 2rem;
|
||||
// padding-right: 1rem;
|
||||
// img{
|
||||
// border-radius: 50%;
|
||||
// }
|
||||
// }
|
||||
// .field--name-field-prenom{
|
||||
// grid-column: 2 / span 3;
|
||||
// grid-row: 1;
|
||||
// font-weight: 800;
|
||||
|
||||
// }
|
||||
// .field--name-field-nom{
|
||||
// grid-column: 2 / span 3;
|
||||
// grid-row: 2;
|
||||
// }
|
||||
// .field--name-field-fonction{
|
||||
// grid-column: 2 / 8;
|
||||
// grid-row: 3;
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
// }
|
||||
// a{
|
||||
// font-weight: 800;
|
||||
// svg{
|
||||
// display: none;
|
||||
// }
|
||||
// }
|
||||
|
||||
// }
|
||||
|
@@ -0,0 +1,34 @@
|
||||
.node-type-static{
|
||||
.content_container{
|
||||
|
||||
#block-quartiers-de-demain-titredepage{
|
||||
grid-column: 3 /span 9;
|
||||
grid-row: 1;
|
||||
margin-top: 3rem;
|
||||
|
||||
h1{
|
||||
text-transform: uppercase;
|
||||
color: $red_QDD ;
|
||||
font-size: $font-large;
|
||||
font-weight: 300;
|
||||
}
|
||||
}
|
||||
article.node-type-static{
|
||||
grid-column: 3 /span 9;
|
||||
grid-row: 2;
|
||||
|
||||
div.field_body{
|
||||
h2{
|
||||
font-size: $font-normal;
|
||||
font-weight: 600;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
p{
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// html.js body.node-type-static.node-id-2 div.dialog-off-canvas-main-canvas div.layout-container main div.layout-content div.content_container article.node-type-static
|
||||
// html.no-touchevents.js body.node-type-static.node-id-1.toolbar-horizontal.toolbar-fixed.toolbar-tray-open div.dialog-off-canvas-main-canvas div.layout-container main div.layout-content div.content_container article.contextual-region.node-type-static
|
Reference in New Issue
Block a user