disable canvas on reduced motion
Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
parent
9db309db8c
commit
b5d1bc009c
2 changed files with 11 additions and 0 deletions
|
@ -239,5 +239,10 @@ body.dark-mode .main a.contact-method p {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media (prefers-reduced-motion) {
|
||||||
|
canvas#bg {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=style.css.map */
|
/*# sourceMappingURL=style.css.map */
|
||||||
|
|
|
@ -270,3 +270,9 @@ body.dark-mode {
|
||||||
51% { opacity: 1; }
|
51% { opacity: 1; }
|
||||||
100% { opacity: 0; }
|
100% { opacity: 0; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion) {
|
||||||
|
canvas#bg {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue