Add support for reduced motion preferences and clean up CSS structure
This commit is contained in:
parent
c6e8563552
commit
a9da19a3f5
@ -13,6 +13,12 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: no-preference) {
|
||||||
|
html {
|
||||||
|
interpolate-size: allow-keywords;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
@ -23,11 +29,6 @@ picture,
|
|||||||
video,
|
video,
|
||||||
canvas,
|
canvas,
|
||||||
svg {
|
svg {
|
||||||
:root {
|
|
||||||
/* Consider dark mode implementation later */
|
|
||||||
color-scheme: light;
|
|
||||||
}
|
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
@ -236,6 +237,7 @@ header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (hover: hover) {
|
@media (hover: hover) {
|
||||||
|
|
||||||
a:hover,
|
a:hover,
|
||||||
a:link:hover,
|
a:link:hover,
|
||||||
a:visited:hover {
|
a:visited:hover {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user