diff --git a/web/zebra-spaces.html b/web/zebra-spaces.html index 0803b67..cc98b09 100644 --- a/web/zebra-spaces.html +++ b/web/zebra-spaces.html @@ -26,7 +26,7 @@ html.theme-dark .status-line { color: #888; } html.theme-dark .timeline, html.theme-dark .cameras-col { border-right-color: #222; } - html.theme-dark .timeline-frame { background: #000; border-color: #222; } + html.theme-dark .game-tile-frame { background: #000; border-color: #222; } /* buttons + inputs */ html.theme-dark button, html.theme-dark .game-tabs button, @@ -176,19 +176,25 @@ position: relative; } .controls { min-width: 0; } + /* games live in the LEFT column now (under cameras + screens-thumbs) + * so people can play casually during a meeting without competing + * with screen-shares for the middle slot. The tabs wrap if the + * column is narrow; the iframe is sized for the column. */ + .games-h2 { margin-top: 0.5rem; } .game-tabs { - display: grid; grid-auto-flow: column; grid-auto-columns: max-content; - gap: 0.4rem; margin-bottom: 0.5rem; + display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: row; + gap: 0.25rem; margin-bottom: 0.35rem; } .game-tabs button { background: #fff; color: #000; border: 1px solid #000; - padding: 0.3rem 0.8rem; font-family: monospace; font-size: 0.8rem; cursor: pointer; + padding: 0.25rem 0.5rem; font-family: monospace; font-size: 0.72rem; + cursor: pointer; text-align: left; } .game-tabs button.active { background: #000; color: #fff; } .game-tabs button:hover:not(.active) { background: #f0f0f0; } - .timeline-frame { - min-height: 80vh; width: 100%; - border: 1px solid #ddd; background: #fff; + .game-tile-frame { + width: 100%; aspect-ratio: 4 / 3; + border: 1px solid #ddd; background: #fff; display: block; } @media (max-width: 800px) { body { padding: 1.25rem; } @@ -280,8 +286,7 @@ } .screen-tile.needs-tap .tap-play { display: grid; } /* spotlight active → hide the game iframe so the spotlight tile owns the column */ - .timeline:has(> #sec-spotlight:not(.hidden)) > .game-tabs, - .timeline:has(> #sec-spotlight:not(.hidden)) > #game-frame { display: none; } + /* (games live in sec-cameras now — no timeline-side hide rule needed) */ /* camera tiles live in the LEFT column now — single column, stacked * vertically. Each tile keeps a 16:9 letterbox so faces don't squash. */ @@ -497,14 +502,28 @@ try {