FIX refining aspect

This commit is contained in:
Nonimart 2025-10-22 16:37:33 +02:00
parent 9b460a9639
commit 3207380c7f

View File

@ -51,7 +51,7 @@
} }
.revue-recommandation-card { .revue-recommandation-card {
@apply flex flex-col gap-x-8 gap-y-2 bg-white p-8 border border-primary; @apply flex flex-col gap-x-8 gap-y-2 bg-white p-8 border border-primary h-fit;
.content-meta { .content-meta {
@apply text-primary; @apply text-primary;
} }
@ -61,9 +61,25 @@
&__thumbnail { &__thumbnail {
@apply p-4 border border-primary mt-8; @apply p-4 border border-primary mt-8;
transform: rotate(2deg); transform: rotate(2deg);
img { img {
transition: filter 0.3s ease-out;
filter: grayscale(100%);
@apply w-full h-48 object-cover; @apply w-full h-48 object-cover;
} }
&:hover img {
filter: grayscale(0%);
} }
} }
}
.revue-recommandation-card:nth-child(1) {
@apply mt-auto;
}
.revue-recommandation-card:nth-child(2) {
@apply my-auto;
}
.revue-recommandation-card:nth-child(3) {
@apply mb-auto;
}
} }