Public: anyone can read this; the crew can change it.

Migrated from github.com/amirmushichge/pixel-plays

From the app: pressing and holding i. mobile keeps highlighting and adding the iphone magni... #89

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

quill/pixel-plays:quill/82-from-the-app-pressing-and-holding-i-mobi → main 2 commits fork

  • Merged. quill/82-from-the-app-pressing-and-holding-i-mobi was merged into main as de8d11a.

Review

Sign in to review this change.
34 files changed +45 −1
archery/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #b33a3a; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
balote/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --a: #b5392b; --b: #27496d; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
beekeeper/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #d9a02a; --warn: #c4503f; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
bell-tower/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #a8863a; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
bell-tower/page.test.mjs +1 −1
@@ -17,4 +17,4 @@ test('the HUD peal length follows the peal the tower is ringing', () => {
1717 expect(state(g).seq.length).toBe(4);
1818 expect(String(g.el('length').textContent)).toBe('4');
1919 expect(g.errors).toEqual([]);
20 });
20 }, 30000);
bread-oven/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #c0612b; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
campfire/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
domino-run/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
espresso-bar/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #6f4a33; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
free-throw/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #b4452f; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
goalkeeper/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #3f7a3a; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
harbour-crane/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #b0642e; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
ice-fishing/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --warn: #d6452f; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
kite-hill/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
laundry/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
lighthouse/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #c4503c; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
market-scale/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
mini-ramp/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
orchard/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #c4503c; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
paper-route/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #c4503c; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
pizza-toss/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #b4452f; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
pottery-wheel/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #b4452f; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
row-home/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
serve.test.mjs +12
@@ -422,3 +422,15 @@ test('Espresso Bar and its rules script are served without a track', async () =>
422422 expect(page.headers.get('content-type')).toBe('text/html; charset=utf-8');
423423 expect((await fetch(base + '/espresso-bar/pour.js')).status).toBe(200);
424424 });
425
426 test('every game page turns off text selection and the iOS touch callout', async () => {
427 const { readdirSync, existsSync, readFileSync } = await import('node:fs');
428 const dirs = readdirSync(import.meta.dir, { withFileTypes: true })
429 .filter(d => d.isDirectory() && existsSync(`${import.meta.dir}/${d.name}/index.html`));
430 expect(dirs.length).toBeGreaterThan(0);
431 for (const d of dirs) {
432 const html = readFileSync(`${import.meta.dir}/${d.name}/index.html`, 'utf8');
433 expect(html, d.name).toContain('-webkit-touch-callout: none');
434 expect(html, d.name).toMatch(/html, body \{[^}]*user-select: none/);
435 }
436 });
signal-box/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #7a3b2e; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
sled-run/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #c4503a; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
soapbox-derby/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #b5562b; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
stari-most/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
stone-skip/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #3f7f9c; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
tie-break/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --a: #b5392b; --b: #27496d; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
tightrope/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #cf4b3a; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
tram-line/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #c9a227; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
window-washer/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #3f7fa8; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }
wood-split/index.html +1
@@ -22,6 +22,7 @@
2222 <style>
2323 :root { --ink: #1c1b19; --muted: #8b877f; --paper: #fff; --accent: #9a6b3c; --warn: #d6452f; }
2424 * { box-sizing: border-box; }
25 html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
2526 html, body { height: 100%; margin: 0; background: var(--paper); color: var(--ink); }
2627 body { font: 13px/1.35 ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; overflow: hidden; }
2728 #stage { position: fixed; inset: 0; display: grid; place-items: center; }

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs