From 778d7e478048229f376a0cc3835e45212b72dc03 Mon Sep 17 00:00:00 2001 From: Ahurac Date: Tue, 4 Jun 2024 11:55:48 +0200 Subject: [PATCH] =?UTF-8?q?portfolio=20:=20liens=20r=C3=A9gl=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/portfolio.astro | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/src/pages/portfolio.astro b/src/pages/portfolio.astro index 2dea084..80b1a5f 100644 --- a/src/pages/portfolio.astro +++ b/src/pages/portfolio.astro @@ -112,29 +112,13 @@ a { text-decoration: none; color: #ff66ff; padding: 2px; - transition: all 0.1s ease-out; -} - -a::before { - content: ''; - position: absolute; - width: 100%; - height: 100%; - bottom: 0; - left: 0; - background-color: #ff66ff; - transform: scaleY(0.1); - transition: all 0.1s ease-out; - transform-origin: bottom; - z-index: -1; -} - -a:hover::before { - transform: scaleY(1); + transition: all 0.3s ease; + box-shadow: inset 0 -3px 0 #ff66ff; } a:hover { color: white; + box-shadow: inset 0 -24px 0 #ff66ff; } code {