style: Add smooth scroll behavior to HTML element

This commit is contained in:
Gauthier Daniels 2025-04-21 18:26:07 +02:00
parent 183656213e
commit 2a9aacb1da

View File

@ -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%;