css: enable smooth scrolling

This commit is contained in:
He4eT 2024-01-15 00:48:34 +01:00
commit af5075d1d1

View file

@ -53,12 +53,15 @@ ul {
/* Layout */ /* Layout */
html, body {
scroll-behavior: smooth;
}
header, header,
footer, footer,
main { main {
box-sizing: content-box; box-sizing: content-box;
max-width: 45rem; max-width: 45rem;
padding: 15px 30px;
padding: 3% 5%; padding: 3% 5%;
} }