fix: Anchor highlight
This commit is contained in:
@ -46,20 +46,14 @@ body {
|
||||
|
||||
:target {
|
||||
scroll-margin-top: 25vh;
|
||||
animation: fade-in-out var(--transition-long);
|
||||
animation: highlight-in-out var(--transition-long);
|
||||
animation-delay: 1s;
|
||||
}
|
||||
|
||||
@keyframes fade-in-out {
|
||||
0% {
|
||||
color: initial;
|
||||
}
|
||||
@keyframes highlight-in-out {
|
||||
50% {
|
||||
color: var(--accent-color);
|
||||
}
|
||||
100% {
|
||||
color: initial;
|
||||
}
|
||||
}
|
||||
|
||||
// Layout
|
||||
|
Reference in New Issue
Block a user