{% extends "base.html" %} {# Zabob, the course's host, in front of the stream scene. Fields: series, name (default Zabob), role (default "your host"), line (optional: a sentence under the name, such as the video's subject), host and scene (pictures in assets/, default zabob and host-scene). The scene is muted so the words stay on top; its light comes from the right, like the key light on Zabob. #} {% block style %} .scene { position: absolute; inset: 0; background: center / cover no-repeat; } .scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(14,26,30,.66) 0%, rgba(14,26,30,.38) 42%, rgba(14,26,30,0) 66%); } /* The portrait's frame cuts his shoulders off square; they sink into a darker foreground instead of ending in mid-air. */ .foreground { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 9%, transparent 30%); } .host { position: absolute; left: 0; bottom: 0; width: 860px; height: 860px; background: center / cover no-repeat; } .text { position: absolute; z-index: 2; right: 120px; top: 200px; width: 900px; display: grid; gap: 26px; justify-items: end; text-align: right; } .text, h1, .role, .line { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; } .series { text-shadow: 0 3px 14px rgba(20,10,40,.6); } h1 { margin: 0; font-family: var(--font-heading); font-weight: 900; font-size: 168px; line-height: 1; letter-spacing: -0.02em; color: color-mix(in srgb, var(--accent) 70%, white); text-shadow: 0 6px 28px rgba(20,10,40,.55); } .role { font-size: 60px; font-weight: 600; text-shadow: 0 4px 18px rgba(20,10,40,.6); } .rule { width: 160px; height: 10px; border-radius: 5px; background: var(--accent); } .line { font-size: 42px; line-height: 1.3; color: var(--ink); max-width: 860px; text-shadow: 0 3px 14px rgba(20,10,40,.7); } {% endblock %} {% block body %}
{{ series }}

{{ name or "Zabob" }}

{{ role or "your host" }}
{% if line %}
{{ line }}
{% endif %}
{% endblock %}