Skip to content

Commit 3eab5d3

Browse files
committed
Tweak links appearance
1 parent cf75252 commit 3eab5d3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

sass/_animations.scss

+4
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,21 @@
2424
@keyframes link-color-shift {
2525
0% {
2626
color: var(--color-link-muted);
27+
text-underline-offset: .1em;
2728
}
2829
100% {
2930
color: var(--color-link);
31+
text-underline-offset: .2em;
3032
}
3133
}
3234

3335
@keyframes link-color-shift-reverse {
3436
0% {
3537
color: var(--color-link);
38+
text-underline-offset: .2em;
3639
}
3740
100% {
3841
color: var(--color-link-muted);
42+
text-underline-offset: .1em;
3943
}
4044
}

sass/_text.scss

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ a {
99
animation-duration: 0.2s;
1010

1111
&:hover {
12-
text-decoration: underline;
1312
animation: link-color-shift;
1413
animation-timing-function: ease-in;
1514
animation-iteration-count: 1;

0 commit comments

Comments
 (0)