From fc25d9ad20512f63786ff77db7a7795f8c336d71 Mon Sep 17 00:00:00 2001 From: Lyn Fugmann Date: Wed, 9 Oct 2024 09:58:19 +0200 Subject: [PATCH] honor prefers-reduced-motion --- _includes/page.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/_includes/page.css b/_includes/page.css index 9298df2..3cb9b1d 100644 --- a/_includes/page.css +++ b/_includes/page.css @@ -126,3 +126,11 @@ a.btn:hover { /* --color-permalink: #cdcdcda6; */ } +@media (prefers-reduced-motion) { + *, *::before, *::after { + transition: none !important; + } + :root { + scroll-behavior: auto; + } +}