The presentation (now EventPresent) cuts the event's page into sections at its Heading blocks: a section's text on one slide, then its schedules' slides, a map block's map and each location lit up, and an events block's grid and each event. One Present button on the event page replaces the schedule's. Setup lists the sections, each schedule's days and entries under its own; the address keys are now skip and hide, numbered by schedule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
61 lines
1.3 KiB
CSS
61 lines
1.3 KiB
CSS
/* 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;
|
|
}
|
|
}
|