.flickity-button { background: transparent; &:hover { background: transparent; } } .flickity-button-icon { fill: $col_black; } .flickity-button:disabled { display: none; } #block-colloque2024-views-block-slide-programme-block-1, #block-colloque2024-views-block-slide-programme-node-intervenant-block-1 { .__slide { article { width: calc(100% - 30px); height: 325px; // background: none; display: flex; flex-direction: column; margin: 3rem $gutter 1.5rem $gutter; @media screen and (min-width: 768px) { width: calc(100% / 2 - #{$gutter} * 2); } @media screen and (min-width: 992px) { width: calc(100% / 3 - #{$gutter} * 2); } @media screen and (min-width: 1200px) { width: calc(100% / 4 - #{$gutter} * 2); } a { width: 100%; height: 100%; background: white; @include shadow; .__wrap { background: white; } } &.first { & > span { font-family: "Mariannelight"; position: absolute; top: -2.5rem; width: max-content; font-size: 1.2rem; line-height: 1.2; text-transform: uppercase; } &:not(:first-child) { &::before { position: absolute; display: block; content: " "; width: 1px; height: calc(100% + 3rem); margin: -2.5rem 0 0 0; background: $color1; left: -0.5rem; top: 0; } } } } } } #block-colloque2024-views-block-gallerie-block-1, #block-colloque2024-views-block-slide-programme-block-1, #block-colloque2024-views-block-slide-programme-node-intervenant-block-1, #block-colloque2024-views-block-dernieres-publications-block-1, #block-colloque2024-views-block-slide-interviews-block-1 { section:not(.wrap_head) { margin: 1rem 0; } .views { section.wrap_head { // @include croix_or; .head { display: flex; flex-direction: row; align-items: center; position: relative; .custom-line { flex: 1; /* Pour étendre le trait sur toute la largeur disponible */ border: none; border-top: 1px solid #000; /* Couleur et style de la ligne */ margin: 10px 0; /* Marge supérieure et inférieure pour l'espacement */ } h3{ // &:after{ // content:url(../images/path1.svg); // max-width: fit-content; // } } } .head::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; /* Étendre la ligne sur toute la largeur */ border-bottom: 1px solid #000; /* Couleur et style de la ligne */ } } } @media screen and (min-width: 576px) { .views { section { .head { display: flex !important; width: 100%; justify-content: space-between; align-items: center; } } } } } .paragraph--type--role-de-l-intervenant { margin-bottom: 2rem; .__slide { &:after { content: "flickity"; display: none; @media screen and (min-width: 768px) { content: ""; } } .flickity-viewport { // overflow: initial; } .flickity-slider > div { width: 70%; padding: 0 0.5rem; @media screen and (min-width: 768px) { width: 100%; } } } } .flickity-slider { position: absolute; // width: 300px; height: 100%; margin-left: 10px; &:hover{ // border: solid 1px black; } }