diff --git a/sass/style/parts/_misc.scss b/sass/style/parts/_misc.scss index 489c9ba..b060999 100644 --- a/sass/style/parts/_misc.scss +++ b/sass/style/parts/_misc.scss @@ -36,31 +36,13 @@ blockquote { a { color: inherit; text-decoration: none; - position: relative; + box-shadow: inset 0 -.15em 0 var(--primary-color); transition: all .2s ease-in; } a:hover { color: var(--hover-color); - transition: all .2s ease; -} - -a::after { - content: ""; - display: inline-block; - position: absolute; - z-index: -1; - bottom: -3px; - left: 0; - width: 100%; - height: 3px; - background-color: var(--primary-color); - transition: all .2s ease-in; -} - -a:hover::after { - height: 100%; - transform: translateY(-3px); + box-shadow: inset 0 -1.15em 0 var(--primary-color); transition: all .2s ease; }