openvibers/afresume Commits

Remove all prefers-reduced-motion blocks — broke animations on Steam Deck

OP OpenVibers committed 17 May 2026 · 8fa17df0a7 · 2 files, +0 −16


Changes

ddiff --git a/src/components/Hero.astro b/src/components/Hero.astro
iindex 8a6ad08..b28b8eb 100644
---- a/src/components/Hero.astro
++++ b/src/components/Hero.astro
@@@ -163,9 +163,6 @@
transition: opacity 0.8s ease;
}
.hero__portrait-img--a { opacity: 1; }
-- @media (prefers-reduced-motion: reduce) {
-- .hero__portrait-img { transition: none; }
-- }
.hero__portrait-tag {
margin-top: 14px; text-align: center;
color: var(--dim); font-size: .8rem;
ddiff --git a/src/styles/global.css b/src/styles/global.css
iindex e688e54..7b1d282 100644
---- a/src/styles/global.css
++++ b/src/styles/global.css
@@@ -158,16 +158,3 @@ section { padding: clamp(60px, 10vw, 120px) 0; position: relative; }
will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
--
--@media (prefers-reduced-motion: reduce) {
-- *, *::before, *::after {
-- animation: none !important;
-- transition-duration: 0.01s !important;
-- }
-- /* Tech marquee is informational, not distracting — keep it scrolling */
-- .marquee__track {
-- animation: scroll 120s linear infinite !important;
-- }
-- [data-reveal] { opacity: 1; transform: none; }
-- html { scroll-behavior: auto; }
--}