responsive node ressource

This commit is contained in:
2025-12-01 10:43:44 +01:00
parent cbc0053467
commit 8a8ecbb3e4
3 changed files with 75 additions and 8 deletions

View File

@@ -13,8 +13,12 @@
display: flex;
flex-direction: column;
width: 100%;
}
.layout__region--first{
@media(max-width: 810px){
order:2
}
.block-region-first{
#sites-map-container{
width: 100% !important;
@@ -27,6 +31,9 @@
&::after{
content: " :";
}
@media(max-width: 810px){
font-size: 1rem;
}
}
}
@@ -47,6 +54,9 @@
padding-bottom: 0.2rem;
padding-top: 0.2rem;
padding-left: 0.2rem;
@media(max-width: 810px){
font-size: 1rem;
}
// svg{
// display: none;
@@ -71,15 +81,21 @@
margin-top: 3rem;
margin-right: 2rem;
// width: 60%;
@media(max-width: 810px){
order:1;
margin-top: 3rem;
margin-right: 0;
}
.block-region-second{
display: flex;
flex-direction: column;
flex-wrap: wrap;
margin-left: 2rem;
margin-right: 3rem;
@media(max-width: 500px){
margin-left: 0.5rem;
margin-top: 1rem;
@media(max-width: 810px){
margin-left: 00rem;
margin-top: 0rem;
margin-right: 0rem;
}
.field_title,
.field_field_sous_titre{
@@ -219,6 +235,7 @@
div:has(.field_field_images){
order: 10;
width: 100%;
.diaporama{
display: flex !important;
flex-direction: row !important;
@@ -231,10 +248,17 @@
}
.images{
// margin: auto;
@media (max-width:810px){
margin: auto;
}
img{
object-fit: cover;
width: 220px !important;
height: 145px;
@media (max-width:810px){
width: 100% !important;
height: auto;
}
}
}
.image-field-caption{
@@ -244,6 +268,9 @@
margin-top: 0;
font-size: 0.5rem;
font-family: 'gilroy-light';
@media (max-width:810px){
font-size: 1rem;
}
}
}
}