honour prefers-reduced-motion in embeds

This commit is contained in:
dakkar 2024-10-12 19:45:35 +01:00
parent 464fb22710
commit 14e21d00b9

View file

@ -462,3 +462,16 @@ bdi.block { display: block }
opacity: 1; opacity: 1;
} }
} }
@media (prefers-reduced-motion) {
@keyframes mfm-spin { 0% { transform: none; filter: none; opacity: 1 } }
@keyframes mfm-spinX { 0% { transform: none; filter: none; opacity: 1 } }
@keyframes mfm-spinY { 0% { transform: none; filter: none; opacity: 1 } }
@keyframes mfm-jump { 0% { transform: none; filter: none; opacity: 1 } }
@keyframes mfm-bounce { 0% { transform: none; filter: none; opacity: 1 } }
@keyframes mfm-twitch { 0% { transform: none; filter: none; opacity: 1 } }
@keyframes mfm-shake { 0% { transform: none; filter: none; opacity: 1 } }
@keyframes mfm-rubberBand { 0% { transform: none; filter: none; opacity: 1 } }
@keyframes mfm-rainbow { 0% { transform: none; filter: none; opacity: 1 } }
@keyframes mfm-fade { 0% { transform: none; filter: none; opacity: 1 } }
}