respect prefers-reduced-motion while animating

This commit is contained in:
Aditya Telange 2021-01-13 23:35:54 +05:30
parent b6a308d331
commit 18ae4e5593
No known key found for this signature in database
GPG key ID: 82E844EF3DA99E77
5 changed files with 31 additions and 0 deletions

View file

@ -53,6 +53,12 @@
transform: scale(.96)
}
@media (prefers-reduced-motion) {
.post-entry:active {
transform: none
}
}
.tag-entry .entry-cover {
display: none
}