Present: a slide with more than the screen holds scrolls through it

The day overview, tag and block lists and the spotlight text hold, scroll to the end over the slide's seconds, then hold. The spotlight description is no longer cut at six lines. Reduced motion keeps them at the top.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-11-03 03:21:44 -06:00
parent b30f5f11fe
commit d17e2596ba
2 changed files with 111 additions and 53 deletions

View file

@ -38,3 +38,25 @@
width: 100%;
}
}
/* A slide part taller than its room (Scroll): holds at the top,
moves up by --present-scroll, holds at the end. With reduced
motion it stays at the top. */
.present-scroll {
animation: present-scroll ease-in-out both;
}
@keyframes present-scroll {
0%,
15% {
transform: none;
}
85%,
100% {
transform: translateY(var(--present-scroll));
}
}
@media (prefers-reduced-motion: reduce) {
.present-scroll {
animation: none !important;
}
}