You need to sign in or sign up before continuing.
Newer
Older
// if low opacity means not selected, selected needs to be darker
filter: brightness(95%)
@include in-page-without-sidebar
.top
@include grid(2, desktop)
align-items: baseline
@include grid(3, desktop, half($grid-gutter), half($grid-gutter))
@include media-breakpoint-down(desktop)
@include in-page-without-sidebar
@include grid(4, desktop, $spacing0)
@include in-page-without-sidebar
background: $block-gallery-carousel-background
.block-gallery + &,
.block-pages--cards + &
margin-top: 0
@include media-breakpoint-up(desktop)
@include in-page-with-sidebar
&.is-moving
.splide__slide.is-active
opacity: 0.1
@include in-page-with-sidebar
.splide__slide
transition: opacity .3s ease
opacity: 0.1
&.is-next
opacity: 0.6
&.is-active
opacity: 1
@include media-breakpoint-up(desktop)
@include media-breakpoint-down(desktop)
display: flex
flex-direction: column
justify-content: end
// FIXME Arnaud: I would like images at constant height, can't manage to get it right.
max-height: $block-gallery-carousel-max-height
max-width: calc(100vw - #{$grid-gutter-sm} * 2)
figcaption
margin-top: space(3)
> * + *
margin-top: space(2)
figure
margin-left: $grid-gutter
margin-right: half(-$grid-gutter)