aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-03-01 13:02:50 +0000
committerubq323 <ubq323@ubq323.website>2022-03-01 13:02:50 +0000
commitb96542d91a7fb8ce6c4275b97f72b90c5227d6f3 (patch)
treee2ca55d966d61bb4e09dda2beeaaecc05559efbf
parent60244846f4318e47747fc9f6ed342a765919dc20 (diff)
disable pulsate animation when prefers-reduced-motion enabled
-rw-r--r--apioforum/static/md-colors.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/apioforum/static/md-colors.css b/apioforum/static/md-colors.css
index e29da0c..d2d71c1 100644
--- a/apioforum/static/md-colors.css
+++ b/apioforum/static/md-colors.css
@@ -1,5 +1,8 @@
pulsate { animation: 2s infinite alternate pulsate; }
+@media (prefers-reduced-motion) {
+ pulsate { animation: none; }
+}
@keyframes pulsate {
from { letter-spacing: normal; }