From 3aaf2b9baf7d5beaa34ecaa91be54a41f94b863c Mon Sep 17 00:00:00 2001 From: Oliver Rieger Date: Sat, 29 Aug 2026 16:39:42 +0200 Subject: [PATCH] The plaque becomes a letterhead: crest left, the level line writ large beside it, the bar full-width Co-Authored-By: Claude Fable 5 --- index.html | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/index.html b/index.html index c35a5a9..2a6c19f 100644 --- a/index.html +++ b/index.html @@ -348,29 +348,31 @@ if (location.hostname !== 'splatter-tennis.wuwi.one' && !window.Capacitor?.isNat -webkit-mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20200%2024%22%20shape-rendering=%22crispEdges%22%3E%3Cg%20fill=%22%23000%22%3E%3Crect%20x=%220%22%20y=%220%22%20width=%22140%22%20height=%2224%22/%3E%3Crect%20x=%22140%22%20y=%220%22%20width=%226%22%20height=%226%22/%3E%3Crect%20x=%22140%22%20y=%226%22%20width=%226%22%20height=%226%22/%3E%3Crect%20x=%22140%22%20y=%2212%22%20width=%226%22%20height=%226%22/%3E%3Crect%20x=%22140%22%20y=%2218%22%20width=%226%22%20height=%226%22/%3E%3Crect%20x=%22146%22%20y=%220%22%20width=%226%22%20height=%226%22/%3E%3Crect%20x=%22146%22%20y=%2212%22%20width=%226%22%20height=%226%22/%3E%3Crect%20x=%22152%22%20y=%226%22%20width=%226%22%20height=%226%22/%3E%3Crect%20x=%22152%22%20y=%2218%22%20width=%226%22%20height=%226%22/%3E%3Crect%20x=%22158%22%20y=%220%22%20width=%226%22%20height=%226%22/%3E%3Crect%20x=%22158%22%20y=%2212%22%20width=%226%22%20height=%226%22/%3E%3Crect%20x=%22170%22%20y=%220%22%20width=%226%22%20height=%226%22/%3E%3Crect%20x=%22170%22%20y=%2212%22%20width=%226%22%20height=%226%22/%3E%3C/g%3E%3C/svg%3E"); mask-size: 100% 100%; mask-repeat: no-repeat; } - /* THE PLAYER PLAQUE: centred under the title on a TRANSLUCENT surface (no solid panel — the - splash art, blood pool included, stays visible through and around it; Oliver's call, the - solid panel in the foot sat exactly on the backdrop's blood). LEVEL · LEAGUE wears the - announcement face now, writ large; the goal line stands under the bar; the chevron on the - right edge says the whole thing opens. The badge COLLECTION stays on the card. */ - #plaque { position: relative; display: flex; flex-direction: column; align-items: center; - gap: 6px; margin: 22px auto 0; width: auto; max-width: 88%; - padding: 14px 40px 12px; background: rgba(8, 14, 10, 0.48); border: 0; + /* THE PLAYER PLAQUE: a LETTERHEAD, not a centred stack (Oliver: the stack sat cramped) — the + crest on the left, name over the big LEVEL · LEAGUE line beside it, the chevron on the + right; the bar runs the full width below and the goal line closes left-aligned. Translucent + surface, generous rows — the splash art, blood pool included, stays visible around it. */ + #plaque { display: grid; column-gap: 14px; align-items: center; text-align: left; + grid-template-columns: auto 1fr auto; + grid-template-areas: "badge name chev" "badge lv chev" "bar bar bar" "goal goal goal"; + margin: 24px auto 0; width: min(330px, 92%); box-sizing: border-box; + padding: 18px 18px 15px; background: rgba(8, 14, 10, 0.48); border: 0; border-radius: 12px; cursor: pointer; -webkit-tap-highlight-color: transparent; } - #plBadge { height: 46px; image-rendering: pixelated; + #plBadge { grid-area: badge; height: 54px; image-rendering: pixelated; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); } - #plName { font: 700 11px Silkscreen, monospace; color: var(--cream); letter-spacing: 2px; - white-space: nowrap; } - #plLv { font: 400 27px Bangers, cursive; color: var(--acid); letter-spacing: 1.5px; - text-decoration: none; text-shadow: 2px 2px 0 rgba(0,0,0,0.5); } - #plRow { display: block; width: 200px; max-width: 100%; } + #plName { grid-area: name; align-self: end; padding-bottom: 3px; + font: 700 10px Silkscreen, monospace; color: var(--cream); letter-spacing: 2px; + white-space: nowrap; overflow: hidden; } + #plLv { grid-area: lv; align-self: start; font: 400 26px Bangers, cursive; color: var(--acid); + letter-spacing: 1.5px; text-decoration: none; text-shadow: 2px 2px 0 rgba(0,0,0,0.5); } + #plRow { grid-area: bar; display: block; width: auto; margin-top: 15px; } /* NO nowrap here: the longest goal line is ~380px and a nowrap child sets the CARD's min-content past the viewport — that was the phantom horizontal scrollbar Oliver spotted */ - #plGoal { font: 400 9px Silkscreen, monospace; font-style: normal; color: var(--warm); - letter-spacing: 1px; text-shadow: 1px 1px 0 rgba(0,0,0,0.5); text-align: center; - line-height: 1.6; } - #plaque em { position: absolute; right: 13px; top: 50%; margin-top: -8px; - font: 700 15px Silkscreen, monospace; font-style: normal; color: var(--acid); } + #plGoal { grid-area: goal; margin-top: 10px; font: 400 9px Silkscreen, monospace; + font-style: normal; color: var(--warm); letter-spacing: 1px; + text-shadow: 1px 1px 0 rgba(0,0,0,0.5); text-align: left; line-height: 1.6; } + #plaque em { grid-area: chev; font: 700 15px Silkscreen, monospace; font-style: normal; + color: var(--acid); } #plRow s, #cdBar s, #cdCareer s { flex: 1; height: 6px; background: rgba(255,255,255,0.10); border: 1px solid var(--line); text-decoration: none; display: block; } #cdBar s { height: 8px; } @@ -893,6 +895,6 @@ if (location.hostname !== 'splatter-tennis.wuwi.one' && !window.Capacitor?.isNat - +