From 6a34bd5b6860bf6a35b30db8e5f0e7c832fb6012 Mon Sep 17 00:00:00 2001 From: "git@71rd.net" <git@71rd.net> Date: Fri, 31 Jan 2025 20:10:47 +0000 Subject: [PATCH] honour reduce-motion and dont rotate logos when enabled --- _includes/styles/logo.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_includes/styles/logo.scss b/_includes/styles/logo.scss index 65fab19..df35f35 100644 --- a/_includes/styles/logo.scss +++ b/_includes/styles/logo.scss @@ -13,6 +13,10 @@ animation-play-state: paused; animation-iteration-count: infinite; + @media screen and (prefers-reduced-motion: reduce) { + animation-name: none !important; + } + &:hover { animation-play-state: running; } @@ -33,6 +37,7 @@ height: 100%; border-radius: 50%; } + } @keyframes rotate {