This commit is contained in:
2023-10-23 15:25:13 +02:00
parent 7e481523be
commit d706e9b9d0
3 changed files with 59 additions and 58 deletions
+35 -30
View File
@@ -13,10 +13,10 @@
// max-height: fit-content;
// }
@media(max-width:792px){
max-height: 500px;
max-height: fit-content;
}
@media(max-width:724px){
max-height: 470px;
max-height: fit-content;
}
@media(max-width: 479px){
max-height: fit-content;
@@ -30,12 +30,17 @@
height: 90%;
.slick-list{
@media(max-width: 810px){
width: 100vw !important;
height: fit-content !important;
}
@media(max-width: 479px){
height: fit-content !important;
width: 100vw !important;
}
}
.slick-list.draggable{
padding-left: 0px !important;
}
.views-row{
.node-type-actualite{
color: $black;
@@ -44,20 +49,17 @@
height: 600px;
margin: auto;
@media (max-width: 810px){
// @media (max-width: 680px){
width: 65%;
height: fit-content;
}
div:first-child{ // block actu dans le bandeau
display: grid;
grid-template-columns: 1fr repeat(9, 1fr) 1fr;
@media (max-width: 810px){
// @media (max-width: 680px){
display: flex;
flex-direction: column;
height: fit-content;
}
.field--name-field-images {
order: 1;
@@ -72,19 +74,19 @@
@media(max-width:852px){
max-height: 310px;
max-width: 100%;
object-fit: contain;
object-fit: cover;
padding-left: 0;
margin-bottom: 1rem;
}
@media(max-width:792px){
max-height: 450px;
// max-height: 450px;
}
@media(max-width:724px){
max-height: 400px;
}
@media (max-width: 680px){
height: 200px;
object-fit: contain;
object-fit: cover;
max-width: 70vw;
margin: auto;
padding-left: 0;
@@ -113,30 +115,33 @@
}
.field--name-field-lieu{
display: flex !important;
flex-direction: row;
// display: inline-block;
grid-column: 9 / span 9;
grid-row: 3;
// display: flex !important;
// flex-direction: row;
.field__label{
display: none;
}
grid-column: 10 / span 12;
grid-row: 2;
&::before{
content: " | ";
margin-right: 2rem;
@media (max-width: 534px){
display: none;
}
}
@media (max-width: 534px){
order: 2;
// &::before{
// content: " | ";
// margin-right: 2rem;
// @media (max-width: 534px){
// display: none;
// }
// }
@media (max-width: 810px){
display: inline-flex;
order: 3;
}
}
.field--name-title{
display: inline-flex;
grid-column: 9 / span 9;
grid-row: 3;
order:3;
grid-row: 4;
order:4;
h2 a{
color: $blue-light !important;
}
@@ -144,8 +149,8 @@
.field--name-field-sous-titre{
display: inline-block;
grid-column: 9 / span 9;
grid-row: 4;
order:4;
grid-row: 5;
order:5;
margin-top: 0.3rem;
font-weight: 800;
}
@@ -175,9 +180,9 @@
display: inline-block;
grid-column: 9 / span 7;
grid-row: 5;
order:5;
padding-top: 1rem;
grid-row: 6;
order:6;
// padding-top: 1rem;
}
}