From 2a9aacb1da1325eda38559b482516d45c179873a Mon Sep 17 00:00:00 2001 From: GauthierWebDev Date: Mon, 21 Apr 2025 18:26:07 +0200 Subject: [PATCH] style: Add smooth scroll behavior to HTML element --- app/layouts/style.css | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/app/layouts/style.css b/app/layouts/style.css index 483a6de..472c008 100755 --- a/app/layouts/style.css +++ b/app/layouts/style.css @@ -1,3 +1,8 @@ +/* Smooth scroll */ +html { + scroll-behavior: smooth; +} + /* Links */ a { text-decoration: none; @@ -19,15 +24,6 @@ body { box-sizing: border-box; } -/* Page Transition Animation */ -#page-content { - opacity: 1; - transition: opacity 0.3s ease-in-out; -} -body.page-is-transitioning #page-content { - opacity: 0; -} - #root { height: 100%; width: 100%;