page actualite image

This commit is contained in:
2021-12-07 17:26:21 +01:00
parent e79b1827ec
commit 28204e510a
8 changed files with 149 additions and 78 deletions
@@ -1,57 +1,90 @@
.path-node.page-node-type-actualite{
.layout__region--top{
background-color: $background-actus;
.block-region-top{
display: grid;
grid-template-columns: 1fr repeat(4, 2fr) 1fr;
padding-top: 2rem;
.block-entity-fieldnodefield-actu-type{
grid-column: 2;
}
.block-entity-fieldnodetitle{
grid-column: 2 /span 6;
margin: 0;
.field--name-title{
font-family: "Source Code Pro";
font-size: 4rem;
font-weight: 500;
.layout--threecol-25-50-25{
// display: grid;
// grid-template-rows: repeat(6, auto);
.layout__region--top{
// grid-row: 1 / span 2;
background-color: $background-actus;
// height: fit-content;
padding-right: 1rem;
.block-region-top{
// position: relative;
display: grid;
grid-template-columns: 1fr repeat(8, 1fr) 1fr;
padding-top: 2rem;
.block-entity-fieldnodefield-actu-type{
grid-column: 2;
}
.block-entity-fieldnodetitle{
grid-column: 2 /span 12;
margin: 0;
.field--name-title{
font-family: "Source Code Pro";
font-size: 3rem;
font-weight: 500;
}
}
.block-entity-fieldnodefield-date{
grid-column: 2;
text-transform: uppercase;
color: $blue-dark;
font-size: 1.2rem;
font-weight: 800;
}
.block-entity-fieldnodefield-images{
grid-column-start: 5;
grid-column-end: 9;
img{
padding-top: 2rem;
width: 600px;
// height: auto;
max-height: 400px;
object-fit: cover;
}
// position: relative;
// bottom: -50%;
}
}
}
.layout__region--first{
margin-top: 15rem;
}
.layout__region--second{
// grid-row: 3;
flex: 0 1 50%;
margin-top: 15rem;
.block-region-second{
width: 90%;
.block-entity-fieldnodebody{
.panel-body{
#outputtext{
overflow-y: visible !important;
}
}
}
}
.block-entity-fieldnodefield-date{
grid-column: 2;
text-transform: uppercase;
color: $blue-dark;
font-size: 1.5rem;
font-weight: 800;
}
}
}
}
.layout__region--second{
flex: 0 1 45%;
.block-region-second{
width: 90%;
.block-entity-fieldnodebody{
.panel-body{
#outputtext{
overflow-y: visible !important;
}
}
.layout__region--third{
// grid-row: 4;
margin-top: 15rem;
.block-region-third{
width: 65%;
}
}
}
}
.layout__region--third{
.block-region-third{
width: 65%;
}
}
@@ -9,6 +9,11 @@
.layout__region--top{ //bandeau titre page static
padding-bottom: 3rem;
.block-region-top{
.block-entity-fieldnodefield-images{
display: none;
height: inherit;
}
.block-entity-fieldnodetitle{
.field--name-title{
font-family: 'Source Code Pro';
@@ -11,6 +11,11 @@
.layout__region--top{ //bandeau titre page static
padding-bottom: 3rem;
.block-region-top{
.block-entity-fieldnodefield-images{
display: none;
height: inherit;
}
.block-entity-fieldnodetitle{
.field--name-title{
font-family: 'Source Code Pro';
+2 -2
View File
@@ -38,7 +38,7 @@
font-weight: 900;
color: $blue-light;
line-height: 7rem;
margin-top: 6rem;
margin-top: 1rem;
margin-bottom: 5rem;
width: fit-content;
span {
@@ -184,7 +184,7 @@
display: flex;
justify-self: end;
width: 50%;
margin-top: 14rem;
margin-top: 3rem;
.field--name-body{
justify-content: right;
display: flex;
@@ -9,6 +9,7 @@
.layout__region--top{ //bandeau titre page static
padding-bottom: 3rem;
.block-region-top{
.block-entity-fieldnodetitle{
.field--name-title{
font-family: 'Source Code Pro';
@@ -8,7 +8,13 @@
.layout__region--top{ //bandeau titre page static
padding-bottom: 3rem;
.block-region-top{
.block-entity-fieldnodefield-images{
display: none;
height: inherit;
}
.block-entity-fieldnodetitle{
.field--name-title{
@@ -9,11 +9,11 @@
margin-left: 13%;
margin-top: 15vh;
}
.block-entity-fieldnodefield-images{
display: none;
height: inherit;
// .block-entity-fieldnodefield-images{
// display: none;
// height: inherit;
}
// }
}
.layout__region--first{ // menu ancres a gauche