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

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;