/* GESTION DES FIGURES */ figure{ margin-bottom: 1em; } figcaption{ font-size: 0.8em; margin-top: 0.5em; } figcaption p{ margin: 0; } figure[data-ratio] { position: relative; width: 100%; aspect-ratio: var(--ratio); } figure[data-crop="true"] img { width: 100%; height: 100%; object-fit: cover; object-position: center; } figure[data-crop="false"] img { width: 100%; height: auto; object-fit: contain; } /* --- INTERPAGE ---- */ .interpage figure { /*background-color: var(--copper);*/ background-color: var(--silver); } .interpage figure img { filter: grayscale(100%); mix-blend-mode: screen; }