From bd7589a175e10cf98fd0f7956b83bbd4e3527e82 Mon Sep 17 00:00:00 2001 From: nono-lqdn Date: Fri, 30 Jan 2026 11:33:55 +0100 Subject: [PATCH] =?UTF-8?q?Prise=20en=20compte=20du=20r=C3=A9glage=20pour?= =?UTF-8?q?=20minimiser=20la=20quantit=C3=A9=20de=20mouvements=20non=20ess?= =?UTF-8?q?entiels.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/drag.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/css/drag.css b/css/drag.css index 766e9a1..cf936d1 100644 --- a/css/drag.css +++ b/css/drag.css @@ -25,6 +25,12 @@ main img.draggable { animation-iteration-count: infinite; } +@media (prefers-reduced-motion) { + .draggable:hover { + /* In case the user doesn't want thing to wiggle, we disable the animation */ + } +} + @keyframes shake { 0% { transform: translate(1px, 1px) rotate(0deg); } 10% { transform: translate(-1px, -2px) rotate(-1deg); }