css vignette ressources

This commit is contained in:
2025-09-19 14:28:04 +02:00
parent c99162cd2f
commit b3f26b9b36
2 changed files with 16 additions and 10 deletions
@@ -21,6 +21,8 @@
grid-template-columns: repeat(8, 1fr);
grid-template-rows: repeat(3, 1fr);
padding: 1rem;
height: fit-content;
max-height: 17rem;
&::before{
content: 'FILTRER :';
grid-column: 1;
@@ -101,6 +103,7 @@
img{
height: 100%;
object-fit: contain;
max-width: 100%;
}
}
}
@@ -120,27 +123,27 @@
h2{
order: 2;
margin: 0;
font-size: 1.5rem;
font-size: 1.2rem;
font-weight: 500;
line-height: 1.8rem;
}
.field--name-field-sous-titre {
order: 3;
font-size: 1.3rem;
font-size: 1rem;
padding-top: 0.3rem;
}
.field--name-field-auteur{
order: 4;
font-weight: 900;
padding-top: 1rem;
padding-top: 0.5rem;
padding-bottom: 1rem;
font-size: 1rem;
font-size: 0.8rem;
}
.field--name-field-type-de-ressource{
order: 1;
text-transform: uppercase;
font-size: 0.9rem;
font-size: 0.7rem;
a{
pointer-events: none;
}