/* The event presentation's motion (EventPresent.tsx). The reduced motion rule in index.css stops all of it. */ .present-in { animation: present-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; } .present-from-below { --present-from: translateY(2rem); } .present-from-left { --present-from: translateX(-3rem); } .present-from-right { --present-from: translateX(3rem); } @keyframes present-in { from { opacity: 0; transform: var(--present-from); } to { opacity: 1; transform: none; } } /* The bar along the bottom: fills over the slide's seconds (set inline as animation-duration). */ .present-timer { animation: present-timer linear both; } @keyframes present-timer { from { width: 0; } to { width: 100%; } } /* A slide part taller than its room (Scroll): moves up by --present-scroll at a steady pace; its wait at the top is the inline animation-delay, and it stays at the end after. With reduced motion it stays at the top. */ .present-scroll { animation: present-scroll linear both; } @keyframes present-scroll { from { transform: none; } to { transform: translateY(var(--present-scroll)); } } @media (prefers-reduced-motion: reduce) { .present-scroll { animation: none !important; } }