{% extends "base.html" %} {# The opening card every video shares. Fields: series, episode, title, subtitle (front matter or the slide block), cast (asset names, default alice, bill, home), notice (optional: a box under the rule saying who can skip the video, as on side trips like 2a). A newline in the title or notice breaks the line there. CJK has no spaces, so the title, subtitle and notice break only at a newline or after punctuation (keep-all), never inside a word; a line too long for the card still wraps. #} {% block style %} /* Wide enough for a katakana title on one line; the title sits above the home's roof, and the subtitle, lower, stops short of it. */ .text { position: absolute; left: 140px; top: 170px; width: 1500px; } h1, .subtitle { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; } .episode { margin-top: 14px; font-size: 30px; color: var(--muted); } h1 { margin: 36px 0 0; font-family: var(--font-heading); font-weight: 800; font-size: 112px; line-height: 1.02; letter-spacing: -0.01em; white-space: pre-line; } .subtitle { margin-top: 34px; font-size: 44px; line-height: 1.25; color: var(--muted); max-width: 960px; } .notice { display: inline-block; margin-top: 44px; padding: 18px 30px; max-width: 820px; white-space: pre-line; font-size: 40px; font-weight: 700; line-height: 1.25; word-break: keep-all; overflow-wrap: anywhere; border: 4px solid var(--accent); border-radius: 18px; background: color-mix(in srgb, var(--accent) 14%, transparent); } .rule { margin-top: 40px; width: 160px; height: 10px; border-radius: 5px; background: var(--accent); } /* The home stands on the ground; Alice and Bill stand in front of it, cut off by the frame. */ .stage { position: absolute; right: 60px; bottom: 0; width: 900px; height: 900px; } .stage .cast-home { position: absolute; left: 170px; bottom: 135px; width: 580px; } .stage .cast-alice { position: absolute; left: 0; bottom: -40px; width: 340px; } .stage .cast-bill { position: absolute; right: 0; bottom: -50px; width: 360px; } {% endblock %} {% block body %}