From 812bea32340708d378cd241d1a5a293dc896a6b8 Mon Sep 17 00:00:00 2001 From: Oliver Rieger Date: Sat, 29 Aug 2026 16:41:52 +0200 Subject: [PATCH] Plaque polish: the goal line finds its gold (--warm never existed in CSS), the chevron centres, the name grows Co-Authored-By: Claude Fable 5 --- index.html | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 2a6c19f..257a61a 100644 --- a/index.html +++ b/index.html @@ -352,27 +352,29 @@ if (location.hostname !== 'splatter-tennis.wuwi.one' && !window.Capacitor?.isNat 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"; + #plaque { position: relative; display: grid; column-gap: 14px; align-items: center; text-align: left; + grid-template-columns: auto 1fr; + grid-template-areas: "badge name" "badge lv" "bar bar" "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; + padding: 18px 34px 15px 18px; background: rgba(8, 14, 10, 0.48); border: 0; border-radius: 12px; cursor: pointer; -webkit-tap-highlight-color: transparent; } #plBadge { grid-area: badge; height: 54px; image-rendering: pixelated; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); } #plName { grid-area: name; align-self: end; padding-bottom: 3px; - font: 700 10px Silkscreen, monospace; color: var(--cream); letter-spacing: 2px; + font: 700 13px 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 */ + /* LITERAL gold โ€” there is no --warm in the page palette (UI.warm is a CANVAS colour), and an + unresolvable var() painted this line black */ #plGoal { grid-area: goal; margin-top: 10px; font: 400 9px Silkscreen, monospace; - font-style: normal; color: var(--warm); letter-spacing: 1px; + font-style: normal; color: #e0cc72; 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); } + #plaque em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); + 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; } @@ -895,6 +897,6 @@ if (location.hostname !== 'splatter-tennis.wuwi.one' && !window.Capacitor?.isNat - +