fix: Style of current heading
This commit is contained in:
@ -46,13 +46,12 @@ body {
|
|||||||
// and flash it with primary color when jumping to it
|
// and flash it with primary color when jumping to it
|
||||||
:target {
|
:target {
|
||||||
scroll-margin-top: 15vh;
|
scroll-margin-top: 15vh;
|
||||||
animation: highlight-in-out var(--transition-long);
|
animation: var(--transition-long) 1s highlight-in-out;
|
||||||
animation-delay: 1s;
|
|
||||||
|
|
||||||
@keyframes highlight-in-out {
|
@keyframes highlight-in-out {
|
||||||
50% {
|
50% {
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
font-weight: bolder;
|
letter-spacing: 0.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user