A town simulation in pale isometric line art, implemented with Ritmo ECS and PixiJs 3D
Fit the guide on phones; drop a stray brace from factory.css
Claude386904287c46
diff --git a/docs/screenshots/phone-landscape.webp b/docs/screenshots/phone-landscape.webpindex 546cafb..e779962 100644Binary files a/docs/screenshots/phone-landscape.webp and b/docs/screenshots/phone-landscape.webp differdiff --git a/docs/screenshots/phone-portrait.webp b/docs/screenshots/phone-portrait.webpindex cda496c..a7b2e25 100644Binary files a/docs/screenshots/phone-portrait.webp and b/docs/screenshots/phone-portrait.webp differdiff --git a/src/factory.css b/src/factory.cssindex 6f397db..674e60b 100644--- a/src/factory.css+++ b/src/factory.css@@ -258,8 +258,6 @@ body { font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;}.result.show { display: block; }-}-/* ── The town ticker, map views and their legend ── */.hud .ticker { display: none; flex-direction: column; width: 440px; max-width: 100%; }.hud .ticker.show { display: flex; }diff --git a/src/phone.css b/src/phone.cssindex 777d487..67ba6d9 100644--- a/src/phone.css+++ b/src/phone.css@@ -22,8 +22,10 @@.hud .good { gap: 4px; padding: 3px 7px 3px 4px; }.hud .good .count { font-size: 12px; }- /* The ticker: only what needs looking at now, in at most two lines. */- .hud .ticker .head, .hud .ticker .cell ~ .cell { display: none; }+ /* The ticker: only what needs looking at now (the guide's step first, with its one-line heading), in at most two lines. */+ .hud .ticker .head:not(.guide), .hud .ticker .cell ~ .cell, .hud .ticker .cell ~ .head { display: none; }+ .hud .ticker .head.guide { padding: 6px 10px 0 12px; }+ .hud .ticker .head.guide .progress { display: none; }.hud .ticker .cell { padding: 6px 4px 6px 12px; font-size: 11px; line-height: 1.45; }.hud .ticker .cell .text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }@@ -75,6 +77,7 @@.toolbar button, .toolbar .town-button { min-width: 38px; }.camera-controls button { padding: 6px; min-width: 34px; }.toolbar .speed button { min-width: 32px; padding: 6px 4px; }+ .system button { min-width: 32px; padding: 4px; }}/* ── Landscape phone: short, so the bars stay low and the panel keeps to the side ── */