11 Commits
Author SHA1 Message Date
Kevin BurchellandClaude Opus 5.5 ef113f2161 Scorebook: stop the photo caption squeezing the bases card
The stadium photo credit was nowrap, so its full width set the inning
card's minimum and left the bases card ~90-120px (and pushed the row past
the column between 901-1150px). Let the inning and bases cards shrink,
stack the caption, and let the credit wrap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 17:44:48 -07:00
Kevin BurchellandClaude Opus 4.8 21d91c06db Scorebook: bold the scorecard player names
Set sc-pname to font-weight 700 so the names stand out in the grid.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-19 18:53:39 -07:00
Kevin BurchellandClaude Opus 4.8 1d5b78333a Scorebook: bump live scorecard names to 13px
Per the user, 12px still read a touch small; set sc-pname to 13px.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-19 18:52:24 -07:00
Kevin BurchellandClaude Opus 4.8 15b284ba09 Scorebook: larger player names in the scorecard grid
The name column had spare width, so bump the player name text (sc-pname
10->12px live, 13->14px on the Scorecard tab) and the position label
(sc-ppos 8->9px) for easier reading while scoring.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-19 18:51:27 -07:00
Kevin BurchellandClaude Opus 4.8 5aef47c0d4 Scorebook: focus mode hides header + heading during a game
Once scoring starts, auto-hide the site header and the page heading (date /
title / auto-saves) so the collapsed board strip and the scoring workspace
lead. A "Show menu / Hide top" control in the view-tab row reveals them on
demand; Undo stays available via Ctrl/Cmd-Z or U. Auto by default (body
.game-focus set in renderWorkspace), session override via the control, resets
to automatic on reload. The control only shows during a game (has-plays).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-19 12:55:55 -07:00
Kevin BurchellandClaude Opus 4.8 8f650d18ef Scorebook: manual scoreboard collapse for scoring focus
Add a "Collapse" control to the scoreboard's bottom bar that folds the board
to a slim strip (score + inning + a "Show board" expander), so the Live
scoring controls and scorecard lead instead of sitting below the board. Click
the strip or press Enter/Space to expand. State is remembered per device
(localStorage sb-board-collapsed) and restored on load; the collapsed summary
is filled by renderWorkspace. No automatic behavior, nothing else moved.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-19 12:17:25 -07:00
Kevin BurchellandClaude Opus 4.8 b4c4b86dc5 Scorebook: merge the scoreboard's top strip into the bottom line
Drop the separate top status band and fold its two labels onto the bottom
line with the inning: left = game status + inning/outs/bases, right = venue +
Follow MLB. Removes a whole row (and its divider/padding) so the scoreboard
is shorter. Same element ids, so the live updates are unchanged; dead
.board-topline rules removed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-19 12:04:48 -07:00
Kevin BurchellandClaude Opus 4.8 8d04d29339 Scorebook: trim the scoreboard a bit further
Second size pass: matchup score 36->32px, desktop badges 35->32px, content
padding 13->10px, topline 11->9px, bottom bar 9->8px. From the original the
board is score 43->32 and content padding 18->10 — a clearly shorter board.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-19 05:31:12 -07:00
Kevin BurchellandClaude Opus 4.8 21b24cd855 Scorebook: make the scoreboard more compact
Trim the scoreboard's height: smaller matchup score (43->36px) and team
badges, tighter content/topline/bottom padding, and less padding on
extra-wide screens, so the matchup and line score lead without pushing
scoring down the page.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-19 05:26:03 -07:00
Kevin BurchellandClaude Opus 4.8 33a4f26527 Scorebook: dark theme and an Auto/Light/Dark toggle
Add a night-ballpark dark palette and a header control to pick Auto (follow
the device), Light, or Dark, remembered per device. Dark values live in both
@media (prefers-color-scheme:dark):root:not([data-theme=light]) and
:root[data-theme=dark] so the toggle wins in either direction, with
color-scheme:dark for native controls; a tiny <head> script applies a saved
choice before paint to avoid a flash. Tokenize the hardcoded light surfaces
(scorecard grid, tab bars, pitcher/lineup headers, setup tip, brand/footer)
so they flip, keep the deep-green scoreboard, and give the cream action
buttons dark fills. All introduced pairs clear WCAG AA.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-18 16:45:13 -07:00
Kevin BurchellandClaude Opus 4.8 3517da0881 Add scorebook stylesheet: universal fonts, tinted batter + scoreboard
Brings css/scorebook.css under version control with the recent styling:
platform-universal font tokens (--font-serif / --font-sans, no Apple-only
Avenir Next) and background color on the two flat spots — the current-batter
bar gets the light ballpark-green tint, the scoreboard a subtle green
gradient for a lit-board look.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-18 16:17:50 -07:00