This commit is contained in:
armansansd 2021-10-18 12:34:20 +02:00
parent dd32259c9e
commit 3b008b5a74
5 changed files with 56 additions and 27 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

@ -325,6 +325,29 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
});
$(".field_ressources_liees div:nth-of-type(2)").slick({
slidesToShow: 3,
slidesToScroll: 1,
centerMode: true,
centerPadding: '60px',
infinite: true,
responsive: [
{
breakpoint: 800,
settings: {
slidesToShow: 2,
centerPadding: '0',
}
},
{
breakpoint: 400,
settings: {
slidesToShow: 1,
centerPadding: '0',
}
}]
});
};

View File

@ -3,43 +3,42 @@
display: block;
}
&.programme-1{
.field_programme{
background: $col-1;
}
// .field_programme{
// background: $col-1;
// }
}
&.programme-2{
.field_programme{
background: $col-2;
}
// .field_programme{
// background: $col-2;
// }
}
&.programme-3{
.field_programme{
background: $col-eur;
}
// .field_programme{
// background: $col-eur;
// }
}
&.programme-4{
.field_programme{
background: $col-1;
}
// .field_programme{
// background: $col-1;
// }
}
&.programme-5{
.field_programme{
background: $col-mond;
}
// .field_programme{
// background: $col-mond;
// }
}
&.programme-6{
.field_programme{
background: $col-ter;
}
// .field_programme{
// background: $col-ter;
// }
}
&.programme-7{
.field_programme{
background: $col-met;
// .field_programme{
// background: $col-met;
// }
}
}
//tmp hidden
.block-region-first{
padding: 1rem;
.field_programme{
@ -99,8 +98,10 @@
font-weight: 600;
margin-bottom: 1rem;
}
#node\:field_image,.field_diaporama{
width: 150%;
margin-bottom: 1rem;
max-height: 22rem;
overflow: hidden;
@ -525,10 +526,13 @@
}
}
}
.field_diaporama {
position: relative;
width: 100%;
overflow: hidden;
margin-top: -.5rem;
z-index: -1;
a{
position: absolute;
height: 100%;
@ -634,5 +638,9 @@
}
}
#node\:field_ressources_liees{
h2{
text-align: center;
}
}
}

View File

@ -102,8 +102,6 @@ i, em{
font-style: italic;
}
//TEMP
.slick-arrow{
font-size: 0;