taille path

This commit is contained in:
2024-10-04 14:21:09 +02:00
parent f115c87ad3
commit 23d8823a45
7 changed files with 57 additions and 50 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1636,13 +1636,13 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
#home .config_pages--type--diaporama-home .diaporama .slick-list {
padding: 0 !important;
}
#home .config_pages--type--diaporama-home .diaporama .slick-list .cadre-img-zoom {
#home .config_pages--type--diaporama-home .diaporama .slick-list .slick-track {
max-height: 1281px;
overflow: hidden;
}
#home .config_pages--type--diaporama-home .diaporama .slick-list .cadre-img-zoom img {
#home .config_pages--type--diaporama-home .diaporama .slick-list .slick-track img {
width: 100%;
height: 960px;
height: auto;
object-fit: cover;
}
#home .config_pages--type--diaporama-home .diaporama .slick-list blockquote {
@@ -1768,6 +1768,16 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
font-family: "gilroy-bold";
padding-bottom: 1rem;
}
#home article.node-type-static .field_field_map_block #block-sitesmapblock {
background-color: #cecfcc;
padding-top: 3rem;
}
#home article.node-type-static .field_field_map_block #block-sitesmapblock h2 {
width: fit-content;
margin: auto;
font-size: 2rem;
padding-bottom: 2rem;
}
#home article.node-type-static #paragraph-id--1 {
background-color: #edefe8;
position: relative;

View File

@@ -369,6 +369,8 @@
//////////// slideshow home //////////////////////////
$(document).ready(function(){
let actuview = $('.content-actus .view')
if (actuview) {
@@ -400,6 +402,9 @@
console.log('salut slick home');
}
$('.slick-carousel').slick({
lazyLoad: 'progressive', // Option 'ondemand' ou 'progressive'
});
});
@@ -415,11 +420,11 @@
slidesToShow: 1,
dots: false,
arrows: false,
centerMode: true,
adaptiveHeight: false,
// centerMode: true,
adaptiveHeight: true,
autoplay: true, // Activer l'autoplay
autoplaySpeed: 4000, // Changement de slide toutes les 4 secondes
infinite: true,
// infinite: true,
pauseOnHover: false, // Ne pas arrêter l'autoplay lors du survol
pauseOnFocus: false,
responsive: [

View File

@@ -7,12 +7,12 @@
.diaporama{
.slick-list{
padding: 0 !important;
.cadre-img-zoom{
.slick-track{
max-height: 1281px;
overflow:hidden;
img{
width: 100%;
height: 960px;
height: auto;
object-fit: cover;
// transform: scale(1.2);
// // // animation: zoomOut infinite 4.3s ease-in-out;
@@ -158,6 +158,20 @@
font-family: 'gilroy-bold';
padding-bottom: 1rem;
}
.field_field_map_block{
#block-sitesmapblock{
background-color: #cecfcc;
padding-top: 3rem;
h2{
width: fit-content;
margin: auto;
font-size: 2rem;
padding-bottom: 2rem;
}
}
}
#paragraph-id--1{ ///// Les enjeux 1
background-color: #edefe8;
position: relative;