website: the laptop screen moves - six real apps behind the cut-out frame
gates / gates (push) Failing after 7m17s

The operator recorded the six scenes and ruled on their length: use them whole,
"they had been cut as I liked them". Jellyfin, Tandoor, OnlyOffice, Immich,
RomM, Paperless, 0.6s crossfades, 36.6s looping at 904x556.

- hero-clip.mp4 (1 134 KB) + hero-clip.webm (1 295 KB) + hero-poster.webp
  (53 KB), one set for both languages: the recordings are the same on / and /en/.
- The hero <video> sits in the frame's cut-out hole at z-index 1, the frame above
  it at 2. No autoplay attribute: the page's script starts it when the hero is on
  screen, pauses it when it leaves, and never starts it under
  prefers-reduced-motion. With JS off the poster stays.
- make_hero_clip.py reads each scene's own length (ffprobe) instead of cutting
  every one to a fixed window, and the xfade offsets count from the running sum
  minus one fade per transition already made.
- site.css ?v=26 on all 22 pages.

NOT verified: playback in this workstation's Chrome, whose media pipeline loads
nothing at all today (a 1 KB generated WAV blob stalls the same way, with no
error) - which rules the clip out as the cause. Geometry, layering and the
poster frame were verified in the browser.

Jellyfin, Paperless and RomM were filmed on those projects' own public demo
sites; the films in the Jellyfin scene are public-domain prints.
This commit is contained in:
admin committed 2026-10-12 12:39:31 +02:00
1 parent 7733d7b754
commit b0ef27e914
32 files changed
+216 -52

No files matched your search

+22 -9
View File
@@ -2537,23 +2537,36 @@ html::-webkit-scrollbar-corner, .shell ::-webkit-scrollbar-corner { background:
.shell .caps-teaser { grid-template-columns: 1fr; gap: 10px; }
}
/* --- the hero's picture: the REAL dashboard, in a laptop ---------------------
The frame is the operator's own supplied render (2026-10-12); the SCREEN is
website/assets/dashboard-start-{hu,en}.webp composited into it, so what a
visitor sees is a real screenshot of a real box and not a drawing of one.
The file is named dashboard-laptop-<lang>.webp on purpose: gate 19 then holds
it to the page's language like every other dashboard picture. */
/* --- the hero's picture: a laptop whose SCREEN is a clip of real apps --------
The frame is the operator's own supplied render with the screen cut to
transparency (hero-laptop-frame.webp); behind it sits hero-clip.mp4/.webm,
six apps recorded by the operator, assembled by scripts/make_hero_clip.py.
What a visitor sees is real software, not a drawing of it.
NO autoplay attribute on purpose: the page's own script starts the clip when
it scrolls into view and never starts it under prefers-reduced-motion, so a
visitor who asked for less movement is left with the poster frame.
The still composite (dashboard-laptop-<lang>.webp) is kept but no longer
referenced - it is the fallback if the clip is ever pulled. */
.hero-shot { margin: 0; }
.hero-laptop { position: relative; max-width: 620px; margin-inline: auto; }
.hero-shot img {
display: block; width: 100%; height: auto; max-width: 620px;
margin-inline: auto;
display: block; width: 100%; height: auto;
position: relative; z-index: 2; pointer-events: none;
}
/* The hole in the frame, measured off its alpha channel: the clip is rendered to
exactly this shape (904x556, 1.626:1) by make_hero_clip.py, so object-fit has
nothing to crop. z-index keeps the bezel, the glare and the keyboard in FRONT. */
.hero-screen {
position: absolute; z-index: 1; display: block;
left: 11.041%; top: 12.345%; width: 79.817%; height: 64.305%;
object-fit: cover; background: var(--bg-2, #101826); border: 0;
}
.hero-shot figcaption {
margin-top: .4rem; text-align: center;
font-size: .85rem; color: var(--text-2);
}
@media (max-width: 900px) {
.hero-shot img { max-width: 520px; }
.hero-laptop { max-width: 520px; }
}
/* --- an anchored target must not land under the sticky phone top bar -------- */