Newer
Older
// if low opacity means not selected, selected needs to be darker
filter: brightness(95%)
@include grid(3, desktop, half($grid-gutter), half($grid-gutter))
@include media-breakpoint-down(desktop)
figure
&:after
content: ' ' // This is used to allow align baseline without figcaption
padding-bottom: $grid-gutter
padding-top: $grid-gutter
@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
.splide__slide
transition: opacity .3s ease
opacity: 0.1
&.is-next
opacity: 0.6
&.is-active
opacity: 1
@include media-breakpoint-up(desktop)
&:last-child
min-width: 100%
padding-right: 20%
img
// FIXME Arnaud: I would like images at constant height, can't manage to get it right.
max-width: calc(100vw - #{$grid-gutter-sm} * 2)
@include media-breakpoint-up(desktop)
@include in-page-without-sidebar
height: 70vh
max-width: none
order: 2
@media (min-height: 800px)
padding-top: px2rem(40)
&__arrow
&--prev,
&--next
height: 48px
padding: 0
position: static
width: 48px
@include media-breakpoint-up(desktop)
.splide
figure
margin-left: $grid-gutter
margin-right: half(-$grid-gutter)