Il palio nella cornice dorata disegnata da Codex (tools/incornicia.py); tools/griglia.py per le coordinate delle scene

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ApqNBvNbNCwXqR2RLo8QJh
This commit is contained in:
2026-10-24 22:46:18 +02:00
co-authored by Claude Opus 5.5
parent 39c17a1d0c
commit 9cb026074b
3 changed files with 59 additions and 7 deletions
+5 -7
View File
@@ -193,16 +193,14 @@ body.full #sound { position: fixed; z-index: 13; top: max(8px, env(safe-area-ins
#credits-reel .track { display: flex; gap: 10px; height: 100%; width: max-content; animation: reel 240s linear infinite; }
#credits-reel img { flex: none; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; image-rendering: pixelated; border-radius: 6px; border: 2px solid #3a2d42; }
#credits-reel img.face { aspect-ratio: 1; border-color: var(--accent); }
#credits-reel img.palio { aspect-ratio: 2 / 3; border-color: var(--accent); }
#credits-reel img.palio { aspect-ratio: auto; border: 0; }
/* La fine: il quadro del palio accanto alle parole (sotto, sugli schermi stretti). */
#ending .ending-row { display: flex; align-items: center; justify-content: center; gap: 1.2em; max-width: 92%; min-height: 0; }
#ending figure.palio { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .3em; flex: none; }
#ending figure.palio img, #face img.palio { height: min(52vh, 300px); max-height: 46vmin; aspect-ratio: 2 / 3; image-rendering: pixelated;
/* La cornice: legno dorato a gradini, con il passe-partout chiaro fra la cornice e la tela. */
box-sizing: content-box; padding: 5px; background: #efe3c0; border: 12px solid transparent;
border-image: linear-gradient(135deg, #fbe39a, #c08a3a 22%, #f3cf75 40%, #8a5420 58%, #e0ad55 78%, #6b3f18) 12;
outline: 3px solid #3a230e; box-shadow: inset 0 0 0 1px #c9b48a, 0 0 0 5px #2a1f30, 0 10px 24px rgba(0,0,0,.6); }
#face img.palio { height: min(56vmin, 380px); border-radius: 0; }
/* Il quadro ha già la sua cornice dorata (tools/incornicia.py): solo l'ombra sotto. */
#ending figure.palio img, #face img.palio { height: min(56vh, 330px); max-height: 50vmin; width: auto; image-rendering: pixelated;
filter: drop-shadow(0 8px 14px rgba(0,0,0,.6)); }
#face img.palio { height: min(62vmin, 420px); border: 0; border-radius: 0; }
#ending figure.palio figcaption { font-size: clamp(6.5px, .85vw, 9px); color: var(--dim); max-width: 22em; }
#ending .ending-row > div { max-width: 26em; text-align: center; }
@media (max-aspect-ratio: 1/1) { #ending .ending-row { flex-direction: column; } #ending figure.palio img { height: 30vh; } }