diff --git a/assets/css/v2/style.css b/assets/css/v2/style.css index 24d9f1ea..a30f95b0 100644 --- a/assets/css/v2/style.css +++ b/assets/css/v2/style.css @@ -59,6 +59,7 @@ --flow-gap: 1rem; } +/* reset */ html, body, p, @@ -112,6 +113,19 @@ h6, font-weight: 500; } +html { + scroll-behavior: smooth; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + scroll-margin-top: 1.5rem; +} + /* header */ p { font-weight: 400;