website: redesign part 4

This commit is contained in:
nym21
2026-06-03 16:37:00 +02:00
parent 07734b8bab
commit 1bcf3235b6
6 changed files with 17 additions and 33 deletions
+3 -8
View File
@@ -12,8 +12,10 @@ body {
position: fixed;
inset: 0;
overflow: auto;
color: white;
opacity: 0;
pointer-events: none;
scroll-behavior: smooth;
transition: opacity 180ms ease;
}
@@ -23,16 +25,9 @@ body {
}
}
html {
scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
body > main {
scroll-behavior: auto;
transition: none;
}
html {
scroll-behavior: auto;
}
}