style(article content): improve link styling
This commit is contained in:
parent
d36a7c0950
commit
6f5093a93d
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user