@@ -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,
+ slidesToShow: 1,
+ }]
+ });
+
};
@@ -3,43 +3,42 @@
display: block;
}
&.programme-1{
- .field_programme{
- background: $col-1;
- }
+ // .field_programme{
+ // background: $col-1;
+ // }
&.programme-2{
- background: $col-2;
+ // background: $col-2;
&.programme-3{
- background: $col-eur;
+ // background: $col-eur;
&.programme-4{
&.programme-5{
- background: $col-mond;
+ // background: $col-mond;
&.programme-6{
- background: $col-ter;
+ // background: $col-ter;
&.programme-7{
- background: $col-met;
+ // 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%;
max-height: 22rem;
overflow: hidden;
@@ -525,10 +526,13 @@
.field_diaporama {
position: relative;
width: 100%;
+ margin-top: -.5rem;
+ z-index: -1;
a{
position: absolute;
height: 100%;
@@ -634,5 +638,9 @@
-
+ #node\:field_ressources_liees{
+ h2{
+ text-align: center;
@@ -102,8 +102,6 @@ i, em{
font-style: italic;
-//TEMP
.slick-arrow{
font-size: 0;