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 {
position: relative;
&:after {
content: "";
display: block;
position: absolute;
bottom: -3px;
left: 0;
width: 100%;
background-color: var(--accent-color);
opacity: 0.2;
height: 3px;
border-bottom: 1px solid var(--accent-color);
box-shadow: 0px -2px 0px var(--accent-color) inset;
transition: all 0.3s ease;
&:hover {
box-shadow: 0px -20px 0px var(--accent-color) inset;
color: var(--accent-color-text);
}
}
}