decor-6-site/assets/css/figures.css
sarahgarcin1 76dc174fca merge
2026-04-09 18:20:12 +02:00

50 lines
No EOL
770 B
CSS

/* 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;
}
<<<<<<< HEAD
/* --- INTERPAGE ---- */
.interpage figure {
/*background-color: var(--copper);*/
background-color: var(--silver);
}
.interpage figure img {
filter: grayscale(100%);
mix-blend-mode: screen;
=======
#f4c52433-bf53-4933-b207-b845153ad93d{
background-color: red;
>>>>>>> af9785e4361ed41252a42b30a658359475f05d7b
}