small adjustments

This commit is contained in:
2024-10-21 12:25:32 +02:00
parent 6d5ca756b0
commit 7909acf96a
9 changed files with 36 additions and 29 deletions

View File

@@ -206,7 +206,7 @@
//// ancre dans texte au click parragraphe correspondant arrive en dessous du header
//// ancre dans texte au click paragraphe correspondant arrive en dessous du header
(function($, window) {
@@ -317,15 +317,17 @@
$(document).ready(function(){
$('.__timeline-content').slick({
slidesToShow: 3,
// slidesToScroll: 1,
slidesToScroll: 1,
dots: false,
arrows: true,
centerMode: true,
adaptiveHeight: true,
adaptiveHeight: false,
autoplay: false,
draggable: true,
infinate: true,
loop: true,
// autoplaySpeed: 1500,
infinite: true,
// infinite: true,
// centerPadding: '100px',
responsive: [
{
@@ -367,7 +369,7 @@
});
//////////// slideshow home //////////////////////////
//////////// start slideshow home //////////////////////////
@@ -380,7 +382,7 @@
dots: false,
arrows: true,
centerMode: true,
adaptiveHeight: true,
adaptiveHeight: false,
autoplay: false,
// autoplaySpeed: 1500,
// infinite: true,
@@ -421,7 +423,7 @@
dots: false,
arrows: false,
// centerMode: true,
adaptiveHeight: true,
adaptiveHeight: false,
autoplay: true, // Activer l'autoplay
autoplaySpeed: 4000, // Changement de slide toutes les 4 secondes
// infinite: true,
@@ -443,9 +445,9 @@
}
});
//////////// end slideshow home //////////////////////////
//////////////// lightbox galerie image page site////////////////////////
//////////////// start lightbox galerie image page site////////////////////////
// Sélectionne uniquement les images à l'intérieur de '.paragraph--type--site-diapo'
let images = document.querySelectorAll('.paragraph--type--site-diapo .lightbox-trigger');
@@ -508,6 +510,7 @@
}
});
//////////////// end lightbox galerie image page site////////////////////////

View File

@@ -201,10 +201,11 @@
}
.field_field_parties{
div{width: fit-content;}
width: 70%;
// width: 70%;
}
div:has(.field_field_parties){
margin-top: 2rem;
width: 100%;
@media(max-width: 500px){
width: 100%;
}
@@ -228,7 +229,9 @@
.diaporama{
display: flex !important;
flex-direction: row !important;
justify-content: space-between;
// justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
@media(max-width: 500px){
flex-direction: column !important;
}
@@ -236,13 +239,14 @@
margin: auto;
img{
object-fit: cover;
width: 300px;
height: 200px;
width: 350px;
height: 230px;
}
}
.image-field-caption{
margin: 0;
p{
margin-top: 0;
font-size: 0.3rem;
font-family: 'gilroy-light';
}

View File

@@ -227,7 +227,7 @@ header{
height: 170px;
}
.header_left_container{
flex: 0 0 70%;
flex: 0 0 65%;
transform-origin: bottom right;
@media(max-width: 810px){
flex: 1 0 100%;
@@ -258,7 +258,7 @@ header{
height: 170px;
}
.header_left_container{
flex: 0 0 70%;
flex: 0 0 65%;
transform-origin: bottom right;
@media(max-width: 810px){
flex: 1 0 100%;