From 0611189f5f8e8d589130428eb84370e361a988b8 Mon Sep 17 00:00:00 2001 From: Gilles Van Assche Date: Fri, 28 Feb 2025 13:53:57 +0100 Subject: [PATCH] Ajustements pour Gauth --- css/app.css | 13 +++++++----- css/base-styles-previous-theme.css | 1 + resources/css/base-styles-previous-theme.css | 1 + resources/css/pages/archive-portfolio.css | 21 +++++++++++--------- 4 files changed, 22 insertions(+), 14 deletions(-) diff --git a/css/app.css b/css/app.css index 9d6d2f2..5fa2e0e 100644 --- a/css/app.css +++ b/css/app.css @@ -285,7 +285,10 @@ font-weight: 600; } -.portfolio-project-card{ +.portfolio-project-card { + position: absolute; + z-index: 2; + position: relative; margin-left: auto; margin-right: auto; padding-left: 3rem; @@ -356,18 +359,18 @@ font-size: 0.875rem; line-height: 1.25rem; --tw-text-opacity: 1; - color: rgb(115 115 115 / var(--tw-text-opacity, 1)); + color: rgb(0 0 0 / var(--tw-text-opacity, 1)); } -.portfolio-project-card__details .excerpt a{ +.portfolio-project-card__details .excerpt p a{ --tw-text-opacity: 1; - color: rgb(115 115 115 / var(--tw-text-opacity, 1)); + color: rgb(0 0 0 / var(--tw-text-opacity, 1)); text-decoration: underline; text-decoration-color: #999999; transition: all 0.2s ease-in; } -.portfolio-project-card__details .excerpt a:hover { +.portfolio-project-card__details .excerpt p a:hover { text-decoration: underline; text-decoration-color: #000; } diff --git a/css/base-styles-previous-theme.css b/css/base-styles-previous-theme.css index a9c06e0..76b155b 100644 --- a/css/base-styles-previous-theme.css +++ b/css/base-styles-previous-theme.css @@ -3169,6 +3169,7 @@ p:empty { width: 390px; left: -15px; top: -40%; + z-index: 1; } } diff --git a/resources/css/base-styles-previous-theme.css b/resources/css/base-styles-previous-theme.css index ce2f609..b75b649 100644 --- a/resources/css/base-styles-previous-theme.css +++ b/resources/css/base-styles-previous-theme.css @@ -2715,6 +2715,7 @@ p:empty { width: 390px; left: -15px; top: -40%; + z-index: 1; } } diff --git a/resources/css/pages/archive-portfolio.css b/resources/css/pages/archive-portfolio.css index d7d14a9..ebc8523 100644 --- a/resources/css/pages/archive-portfolio.css +++ b/resources/css/pages/archive-portfolio.css @@ -26,6 +26,9 @@ } .portfolio-project-card { + position: absolute; + z-index: 2; + position: relative; @apply mx-auto px-12 pt-32; max-width: 1800px; @@ -65,16 +68,16 @@ /* @apply bigCaslon text-4xl; */ } p { - @apply text-sm text-neutral-500 pb-0 mb-0; - } - a{ - @apply text-neutral-500; - text-decoration: underline; - text-decoration-color: #999999; - transition: all 0.2s ease-in; - &:hover { + @apply text-sm text-black pb-0 mb-0; + a{ + @apply text-black; text-decoration: underline; - text-decoration-color: #000; + text-decoration-color: #999999; + transition: all 0.2s ease-in; + &:hover { + text-decoration: underline; + text-decoration-color: #000; + } } } }