diff --git a/CHANGELOG.md b/CHANGELOG.md index cbebdae..df9b9ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add margin between comment author name and timestamp. - Make comment timestamp more subtle. +- Reduce the target heading transition time. +- Reduce top margin of the target heading. - Set socials icons as CSS variables and not inline styles. - Tweak padding of verified instance badge. - Use more fitting cursors in some contexts. diff --git a/sass/_general.scss b/sass/_general.scss index 68d2b4a..09fc3a7 100644 --- a/sass/_general.scss +++ b/sass/_general.scss @@ -49,8 +49,8 @@ body { // Make focused anchor not get covered by nav, // and flash it with primary color when jumping to it :target:not(#main) { - transition: all var(--transition-longer), scroll-margin-block-start 0s; - scroll-margin-block-start: 20vh; + transition: all var(--transition), scroll-margin-block-start 0s; + scroll-margin-block-start: 15vh; color: var(--primary-color); text-shadow: var(--primary-color-alpha) 0 0 0.25rem, var(--primary-color) 0 0 0.75rem; }