From afd04451e52bbcffedafff7354974ef65cbbd769 Mon Sep 17 00:00:00 2001 From: Federico Bucchi Date: Mon, 15 Dec 2025 16:27:19 -0800 Subject: [PATCH] Add smooth scroll for anchor click --- assets/stylesheets/new-stylesheets/_core.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/assets/stylesheets/new-stylesheets/_core.scss b/assets/stylesheets/new-stylesheets/_core.scss index 2f62a68ba..49bea8028 100644 --- a/assets/stylesheets/new-stylesheets/_core.scss +++ b/assets/stylesheets/new-stylesheets/_core.scss @@ -4,6 +4,16 @@ @use 'fonts'; @use 'themes' as *; +html { + scroll-behavior: smooth; +} + +@media (prefers-reduced-motion: reduce) { + html { + scroll-behavior: auto; + } +} + body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu,