From c4d0f66b5d56ed7b1fb03b25983fdbf4472ab14c Mon Sep 17 00:00:00 2001 From: Antoine M Date: Fri, 20 Mar 2026 17:05:38 +0100 Subject: [PATCH] STYLE Handling main author and publication directors style --- resources/css/components/author-card.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/resources/css/components/author-card.css b/resources/css/components/author-card.css index 7f966ac..a3b8786 100644 --- a/resources/css/components/author-card.css +++ b/resources/css/components/author-card.css @@ -51,6 +51,30 @@ @apply text-2xl uppercase font-medium tracking-normal; } + .author-card__author-status { + @apply 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-plume2.svg'); + background-size: contain; + background-repeat: no-repeat !important; + background-position: center; + } + + &--author:before { + background-image: url('../resources/img/icons/carhop-plume2.svg'); + } + &--main-author:before { + @apply w-8 h-8; + transform: translateY(-5px); + background-image: url('../resources/img/icons/carhop-auteur-principal.svg'); + } + &--publication-director:before { + @apply w-6 h-6; + background-image: url('../resources/img/icons/carhop-auteur-directeur.svg'); + } + } .author-card__articles-amount { @apply text-primary font-normal flex items-center gap-2;