ui: backdrop pan — monotonic top→bottom drift
build-and-deploy / build (push) Failing after 11m19s

The S→E→SE→NE loop wandered back near its start, so on a long page the
per-screen movement was imperceptible (worse once the image was zoomed to
215%). Replace it with a single continuous vertical pan (~40% travel) so the
board obviously drifts downward as the page scrolls.
This commit is contained in:
2026-06-27 20:47:36 +10:00
parent 9e177dcc41
commit 2aae7c287e
+7 -10
View File
@@ -428,18 +428,15 @@ svg {
} }
} }
} }
/* Clean monotonic top→bottom pan: as the page scrolls, the board slowly drifts
so the motion is always obvious (no wandering loop that nets to zero). ~40% of
the 215%-tall image = a long, continuous travel. */
@keyframes bgPan { @keyframes bgPan {
0% { from {
transform: translate(-50%, -38%); transform: translate(-50%, -28%);
} }
35% { to {
transform: translate(-50%, -62%); transform: translate(-50%, -72%);
}
68% {
transform: translate(-62%, -62%);
}
100% {
transform: translate(-62%, -38%);
} }
} }