fix: Style of current heading

This commit is contained in:
daudix
2024-02-02 23:32:07 +03:00
parent 4e37f12afd
commit 91b1a38f93

View File

@ -46,13 +46,12 @@ body {
// and flash it with primary color when jumping to it
:target {
scroll-margin-top: 15vh;
animation: highlight-in-out var(--transition-long);
animation-delay: 1s;
animation: var(--transition-long) 1s highlight-in-out;
@keyframes highlight-in-out {
50% {
color: var(--primary-color);
font-weight: bolder;
letter-spacing: 0.25rem;
}
}
}