From 3100c9623e2c60cabceecf734d5a9f81512d8f9d Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 5 Jun 2025 09:59:34 +0200 Subject: [PATCH] STYLE Refining handling of white texte and exception in article card --- resources/css/blocks/dernieres-dynamiques.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/resources/css/blocks/dernieres-dynamiques.css b/resources/css/blocks/dernieres-dynamiques.css index 534f1ad..f78191f 100644 --- a/resources/css/blocks/dernieres-dynamiques.css +++ b/resources/css/blocks/dernieres-dynamiques.css @@ -1,9 +1,6 @@ .block-dernieres-dynamiques { @apply bg-primary text-white pt-20; overflow: visible !important; - *:not(.article-card *) { - @apply text-white; - } &__inner { @apply max-w-screen-2xl mx-auto; @@ -141,4 +138,10 @@ @apply text-base font-extrabold uppercase pb-8 tracking-widest nunito text-primary text-center mx-auto block mt-12; } } + + :is(p, span, h1, h2, h3, h4, h5, h6):not( + .article-card * + ) { + @apply text-white; + } }