This commit is contained in:
armansansd 2022-04-27 15:55:12 +02:00
parent 963da608b5
commit c77738bf23
4 changed files with 26 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -125,7 +125,16 @@ $(function(){
slidesToShow: 3,
slidesToScroll: 1,
centerMode: false,
centerPadding: '60px'
centerPadding: '60px',
responsive: [
{
breakpoint: 800,
settings: {
slidesToShow: 2,
slidesToScroll: 1,
centerPadding: '0',
}
}]
});
}
@ -352,7 +361,7 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
}
});
console.log($(".block-region-second .field_ressources_liees>div:nth-of-type(2)"));
$(".layout__region--bottom .field_ressources_liees>div:nth-of-type(2)").slick({
slidesToShow: 3,
slidesToScroll: 1,

View File

@ -1,6 +1,8 @@
// page centre de ressources
// & ressource simple
// ressourceS
.path-centre-de-ressources{
.programme-1{
@ -244,6 +246,9 @@
}
}
}
.slick-slider{
overflow: hidden;
}
.slick-arrow{
position: absolute;
height: 100%;
@ -338,6 +343,14 @@
align-items: flex-start;
.views-col:first-child{
grid-column-start: 2;
@include breakpoint(small down) {
grid-column-start: 1;
}
}
@include breakpoint(small down) {
grid-template-columns: repeat(1, 88%);
column-gap: 0;
padding: 0 0 0 1.5rem;
}
}
.views-col:not(.type-74){