From 58691cf896ad041f9937bc9898d78f098a9eccab Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sun, 6 Nov 2022 20:47:52 -0800 Subject: [PATCH] funny link hover attempt 2 --- package.json | 2 +- packages/client/src/style.scss | 28 ++++++++++++---------------- 2 files changed, 13 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 666444c81e..58482a94c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.119.0-calc.9", + "version": "12.119.0-calc.9.1", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/style.scss b/packages/client/src/style.scss index f306eb221f..55dc23213b 100644 --- a/packages/client/src/style.scss +++ b/packages/client/src/style.scss @@ -483,23 +483,19 @@ hr { ._link { color: var(--link); - // &::after { - // content: ''; - // position: absolute; - // width: 100%; - // transform: scaleX(0); - // height: 2px; - // bottom: 0; - // left: 0; - // background-color: var(--link); - // transform-origin: bottom right; - // transition: transform 0.25s ease-out; - // } + &:after { + content: ''; + position: absolute; + bottom: 0; + left: 0; + width: 0%; + border-bottom: 2px solid var(--link); + transition: 0.4s; + } - // &:hover::after { - // transform: scaleX(1); - // transform-origin: bottom left; - // } + &:hover:after { + width: 100%; + } } ._caption {