mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-23 10:21:46 +01:00
style(article content): improve link styling
This commit is contained in:
parent
d36a7c0950
commit
6f5093a93d
1 changed files with 8 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue