From 91b1a38f93409611ca1f8db5aed0ccf1621dcbfc Mon Sep 17 00:00:00 2001 From: daudix Date: Fri, 2 Feb 2024 23:32:07 +0300 Subject: [PATCH] fix: Style of current heading --- sass/_main.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sass/_main.scss b/sass/_main.scss index 44d4eb5..41157a3 100644 --- a/sass/_main.scss +++ b/sass/_main.scss @@ -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; } } }