Newer
Older
--spacing0: #{$spacing0}
--spacing1: #{$spacing1}
--spacing2: #{$spacing2}
--spacing3: #{$spacing3}
--spacing4: #{$spacing4}
--spacing5: #{$spacing5}
--grid-gutter: #{$grid-gutter}
--header-menu-max-height: calc(100vh - var(--header-height) - #{$spacing4})
// TODO: choisir entre margin top / bottom --> https://matthewjamestaylor.com/css-margin-top-vs-bottom
body
color: $body-color
background: $body-background-color
@media (prefers-reduced-motion: reduce)
*
transition-duration: 0s !important
// &:not(.is-loaded)
// *
// transition-duration: 0s !important
ul,
ol
// https://since1979.dev/aligning-your-lists-with-your-text/
padding-left: 0
list-style-position: inside
.document-content
.container > .lead
margin-bottom: $spacing3
position: relative
@include in-page-with-sidebar
.block
.block-content
@include media-breakpoint-up(desktop)
padding-left: offset(4)
// > .container:last-of-type
// margin-bottom: $spacing4
details
&:not([open]):hover
summary::after
transform: translateY(5px)
summary
margin-left: px2rem(10)
line-height: px2rem(22)
transition: transform 0.25s
&::marker
content: none
&::-webkit-details-marker
display: none
&[open]
summary
justify-content: center
height: 100vh
left: 0
overflow: hidden
position: fixed
top: 0
width: 100%
padding: $spacing2
width: auto
max-height: 100vh
overflow-y: auto
width: col(8)
.modal-header
margin-bottom: $spacing0
button
@include button-reset
@include icon-block(close, before)
position: absolute