91 lines
2.6 KiB
SCSS
91 lines
2.6 KiB
SCSS
.path-node.page-node-type-actualite{
|
|
.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: 40vh;
|
|
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 9;
|
|
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: 360px;
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.layout__region--third{
|
|
// grid-row: 4;
|
|
margin-top: 15rem;
|
|
.block-region-third{
|
|
width: 65%;
|
|
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
|