page actualite image
This commit is contained in:
@@ -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%;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user