Add support for reduced motion preferences and clean up CSS structure

This commit is contained in:
Christian Galo 2025-05-05 03:25:04 -05:00
parent c6e8563552
commit a9da19a3f5

View File

@ -13,6 +13,12 @@
margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
html {
interpolate-size: allow-keywords;
}
}
body {
line-height: 1.5;
-webkit-font-smoothing: antialiased;
@ -23,11 +29,6 @@ picture,
video,
canvas,
svg {
:root {
/* Consider dark mode implementation later */
color-scheme: light;
}
display: block;
max-width: 100%;
}
@ -236,6 +237,7 @@ header {
}
@media (hover: hover) {
a:hover,
a:link:hover,
a:visited:hover {