From b7c48a73baf9ee570b1eb5ae7f8cff0b5596c88d Mon Sep 17 00:00:00 2001 From: Antoine M Date: Mon, 13 Apr 2026 17:00:48 +0200 Subject: [PATCH] STYLE Refining aspect --- resources/css/blocks/press-ressources.css | 30 ++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/resources/css/blocks/press-ressources.css b/resources/css/blocks/press-ressources.css index 4155eeb..ec19559 100644 --- a/resources/css/blocks/press-ressources.css +++ b/resources/css/blocks/press-ressources.css @@ -62,7 +62,10 @@ @apply my-12; } .contact-datas { - @apply grid grid-cols-1 md:grid-cols-3 gap-8; + @apply grid grid-cols-1 md:grid-cols-3 gap-8 list-none; + li { + @apply !list-none; + } a { @apply block mb-1; } @@ -72,6 +75,12 @@ } .download-list { @apply mt-16; + li { + @apply !list-none; + } + a { + @apply no-underline; + } .list-heading { @apply grid gap-4 bg-primary text-white p-4 uppercase tracking-wider; grid-template-columns: 4fr 1fr 1fr 1fr; @@ -93,6 +102,9 @@ grid-template-columns: 4fr 1fr 1fr 1fr; @apply text-primary py-6 items-center; @apply grid gap-4 border-b relative; + &:hover { + filter: none; + } } .file-name { transition: transform 0.3s ease-out; @@ -100,8 +112,10 @@ } &:hover { + @apply !text-white !no-underline; + a { - @apply text-white; + @apply !text-white !no-underline; } .file-name { transform: translateX(10px); @@ -198,7 +212,17 @@ @apply sticky top-0; li.presse-reviews__year { - @apply list-none border border-primary border-solid p-6 text-4xl fjalla; + @apply !list-none border border-primary border-solid text-4xl fjalla; + a { + @apply !no-underline block p-6; + } + + &:hover { + @apply bg-carhop-green-700 text-white; + a { + @apply !text-white !no-underline filter-none; + } + } } li.presse-reviews__year + li.presse-reviews__year { @apply mt-4;