From 38a7fac1436bd0160423c8b548c915c0b0197565 Mon Sep 17 00:00:00 2001 From: Nonimart Date: Tue, 25 Nov 2025 16:00:49 +0100 Subject: [PATCH] SUPPRIMER le fichier CSS de la carte d'auteur --- resources/css/components/author-card.css | 74 ------------------------ 1 file changed, 74 deletions(-) delete mode 100644 resources/css/components/author-card.css diff --git a/resources/css/components/author-card.css b/resources/css/components/author-card.css deleted file mode 100644 index 70fb4cd..0000000 --- a/resources/css/components/author-card.css +++ /dev/null @@ -1,74 +0,0 @@ -.author-card { - @apply grid w-full border border-primary p-6 mb-12 items-center; - grid-template-columns: min-content 1fr; - gap: 1rem; - - transition: all 0.3s ease-in-out; - - &:hover { - @apply translate-y-[-4px]; - } - - &__profile-picture { - @apply w-32 h-32 object-cover p-2 border border-primary; - - img { - @apply w-full h-full object-cover; - filter: grayscale(100%); - } - &-placeholder { - @apply bg-carhop-green-100 flex items-center justify-center; - - &:before { - content: ''; - @apply block w-6 h-6 filter-primary; - background-image: url('../resources/img/icons/icon-losange.svg'); - background-size: contain; - background-repeat: no-repeat !important; - background-position: center; - } - - &--1n:before { - background-image: url('../resources/img/icons/icon-losange.svg'); - } - &--2n:before { - background-image: url('../resources/img/icons/icon-rectangle-rotated.svg'); - } - &--3n:before { - background-image: url('../resources/img/icons/icon-circle.svg'); - } - &--4n:before { - background-image: url('../resources/img/icons/icon-rectangle-vertical.svg'); - } - } - &-placeholder { - @apply w-full h-full bg-carhop-green-100 relative; - - /* &:after { - @apply content-[''] block w-6 h-6 bg-carhop-green-700 rounded-full absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2; - } */ - } - } - - &__infos { - @apply w-full flex flex-col gap-y-2; - .author-card__name { - @apply text-2xl uppercase font-medium tracking-normal; - } - - .author-card__articles-amount { - @apply text-primary font-normal flex items-center gap-2; - - &::before { - content: ''; - @apply block w-6 h-6 bg-no-repeat bg-center; - background-image: url('../resources/img/icons/icon-activites.svg'); - background-size: contain; - } - } - } - - &__description { - @apply col-span-2; - } -}