STYLE Refining handling of white texte and exception in article card

This commit is contained in:
Antoine M 2025-06-05 09:59:34 +02:00
parent 371e539598
commit 3100c9623e

View File

@ -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;
}
}