From e8475d56ebe8dd1c9a5f245931aec09f572ca939 Mon Sep 17 00:00:00 2001 From: Ruben Date: Sat, 28 Sep 2024 01:36:36 -0500 Subject: [PATCH] fix disabling more animations for prefers-reduced-motion --- style.css | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/style.css b/style.css index be6446e..a2c0cd9 100644 --- a/style.css +++ b/style.css @@ -811,6 +811,14 @@ footer { } .terminal { + .term-titlebar { + div { + #minimize-btn, #maximize-btn, #close-btn { + transition: 0s background; + } + } + } + .term-input { .blink { animation: unset !important; @@ -818,28 +826,25 @@ footer { -webkit-animation: unset !important; } } - - .terminal:hover { - .term-titlebar { - div { - #minimize-btn { - background: var(--yellow); - } - #maximize-btn { - background: var(--green); - } - #close-btn { - background: var(--red); - } + + transition: 0s border-color !important; + } + + .terminal:hover { + .term-titlebar { + div { + #minimize-btn { + background: var(--yellow); + } + #maximize-btn { + background: var(--green); + } + #close-btn { + background: var(--red); } } - .term-input { - .blink { - display: unset; - } - } - border-color: var(--green); } + transition: 0s border-color !important; } #sneexy > section > #pfp {