diff --git a/web/themes/custom/colloque2024/css-compiled/index.css b/web/themes/custom/colloque2024/css-compiled/index.css index e71bba7c..731fdd07 100644 --- a/web/themes/custom/colloque2024/css-compiled/index.css +++ b/web/themes/custom/colloque2024/css-compiled/index.css @@ -1658,7 +1658,7 @@ https://flickity.metafizzy.co @media screen and (min-width: 1200px) { #block-colloque2024-views-block-slide-programme-block-1 .__slide article, #block-colloque2024-views-block-slide-programme-node-intervenant-block-1 .__slide article { - width: calc(100% / 4 - 0.5rem * 2); } } + width: calc(100% / 4 - 0.5rem * 1); } } #block-colloque2024-views-block-slide-programme-block-1 .__slide article a, #block-colloque2024-views-block-slide-programme-node-intervenant-block-1 .__slide article a { width: 100%; diff --git a/web/themes/custom/colloque2024/css/components/slides/slides.scss b/web/themes/custom/colloque2024/css/components/slides/slides.scss index e0951c64..aead5554 100644 --- a/web/themes/custom/colloque2024/css/components/slides/slides.scss +++ b/web/themes/custom/colloque2024/css/components/slides/slides.scss @@ -29,7 +29,8 @@ width: calc(100% / 3 - #{$gutter} * 2); } @media screen and (min-width: 1200px) { - width: calc(100% / 4 - #{$gutter} * 2); + width: calc(100% / 4 - #{$gutter} * 1); + } a { width: 100%; diff --git a/web/themes/custom/colloque2024/js/script.js b/web/themes/custom/colloque2024/js/script.js index 389929c2..cdef85e3 100644 --- a/web/themes/custom/colloque2024/js/script.js +++ b/web/themes/custom/colloque2024/js/script.js @@ -349,7 +349,7 @@ function scrollReaveal(){ hero_participant : document.querySelectorAll('.participant_full .__img'), title_participant: document.querySelectorAll('.participant_full figcaption'), article : document.querySelectorAll('.home #txt_present, article#presentation'), - blocs : document.querySelectorAll('#block-views-block-slide-programme-block-1, #block-views-block-dernieres-publications-block-1, .__ressources > *'), + blocs : document.querySelectorAll('#block-colloque2024-views-block-slide-programme-block-1, #block-colloque2024-views-block-dernieres-publications-block-1, .__ressources > *'), p : document.querySelectorAll('article#presentation p, .letter-sort, .participant_full .content > *'), programme: document.querySelectorAll('.programme.container'), thumbnails : document.querySelectorAll('.programme .thumbnails, .views.__publications .thumbnails, .les_intervenants .thumbnails_participants'), @@ -395,7 +395,7 @@ function scrollReaveal(){ function pagination(){ - const $next = $('#block-views-block-gallerie-block-1 .pager a'); + const $next = $('#block-colloque2024-views-block-gallerie-block-1 .pager a'); $next.on("click",function(event){ event.preventDefault(); @@ -434,7 +434,7 @@ function pagination(){ }) .done(function( data ) { let $data = $(data).find(".wrap--image"); - $( "#block-views-block-gallerie-block-1 section.d-flex" ).append($data); + $( "#block-colloque2024-views-block-gallerie-block-1 section.d-flex" ).append($data); $next.attr('href', base_uri +'='+ currentPage); diff --git a/web/themes/custom/colloque2024/template/views/lists/views-view-unformatted--programme.html.twig b/web/themes/custom/colloque2024/template/views/lists/views-view-unformatted--programme.html.twig index 28d2f667..7b049bba 100644 --- a/web/themes/custom/colloque2024/template/views/lists/views-view-unformatted--programme.html.twig +++ b/web/themes/custom/colloque2024/template/views/lists/views-view-unformatted--programme.html.twig @@ -26,7 +26,7 @@