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 {