style(article content): improve link styling

This commit is contained in:
Jimmy Cai 2020-08-22 23:11:34 +02:00
parent d36a7c0950
commit 6f5093a93d

View file

@ -287,17 +287,14 @@
} }
a { a {
position: relative; border-bottom: 1px solid var(--accent-color);
&:after { box-shadow: 0px -2px 0px var(--accent-color) inset;
content: "";
display: block; transition: all 0.3s ease;
position: absolute;
bottom: -3px; &:hover {
left: 0; box-shadow: 0px -20px 0px var(--accent-color) inset;
width: 100%; color: var(--accent-color-text);
background-color: var(--accent-color);
opacity: 0.2;
height: 3px;
} }
} }
} }