This commit is contained in:
armansansd 2021-09-21 13:26:37 +02:00
parent c62cb0f0a7
commit d930549df9
2 changed files with 28 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

@ -101,19 +101,32 @@
}
.last-news{
margin-top: 2rem;
height: auto;
.slick-list{
// display: flex;
// align-items: start;
}
.views-field-field-image{
height: 20rem;
margin-top: 1rem;
// position: absolute;
grid-column: 1;
grid-row: 1;
grid-row: 1 / span 5;
z-index: -1;
.field-content{
width: 100%;
height: 100%;
}
img{
width: 100%;
height: 100%;
object-fit: cover;
}
}
.views-field-field-image{
grid-column: 1;
grid-row: auto;
z-index: -1;
margin-top: -15%;
}
.views-field:not(.views-field-field-image){
grid-column: 1;
padding-right: .5rem;
padding-left: .5rem;
background-color: black;
@ -134,7 +147,7 @@
// grid-row: 4;
// }
.views-field-title{
// grid-row: 5;
grid-row: 2;
font-size: $font-big !important;
font-weight: 500;
line-height: 1.2;
@ -143,6 +156,10 @@
}
.views-field-field-sous-titre{
padding: .5rem 0 1rem 0;
grid-row: 4;
}
.views-field-field-date,.views-field-field-dates-actu{
grid-row: 3;
}
.views-field-field-programme{
@ -288,8 +305,8 @@
background: $trame;
font-size: $font-medium;
text-align: center;
padding: 18rem 0 3rem 0;
margin-top: -16rem;
padding: 1rem 0 3rem 0;
// margin-top: -16rem;
.views-row{
.views-field-title{
font-family: "duke" !important;