mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-23 18:31:45 +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 {
|
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 a new issue