chaleong commited on
Commit
f82b7ee
·
verified ·
1 Parent(s): ec3ed9f

Preflight experiments

Browse files
Files changed (2) hide show
  1. index.html +15 -25
  2. thumbnail.png +2 -2
index.html CHANGED
@@ -11,32 +11,21 @@
11
  <style>
12
  /* Layout: a lab ledger. Thesis and scoreboard first, then one chart per question, then every verdict. */
13
  :root {
14
- --bg: #f3f5f4; --surface: #ffffff; --fg: #1a2124; --muted: #5b6669; --line: #d5dcdb;
15
- --accent: #2753b8; --good: #1d7a4c; --bad: #b3362b; --warn: #9a6a12; --base: #8a9699; --on: #ffffff;
16
- --c0: #b3362b; --c1: #d0812a; --c2: #a8901c; --c3: #3f8fa8; --c4: #6b5fb5; --c5: #8a9699;
17
- --display: "Archivo Narrow", "Arial Narrow", system-ui, sans-serif;
18
- --body: "Public Sans", system-ui, -apple-system, sans-serif;
19
- --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
20
- }
21
- @media (prefers-color-scheme: dark) {
22
- :root:not([data-theme="light"]) {
23
- --bg: #12171a; --surface: #1a2125; --fg: #e3e9ea; --muted: #94a1a4; --line: #2c373b;
24
- --accent: #7ea2f2; --good: #5cc28f; --bad: #f07a6c; --warn: #e0b154; --base: #7d898c; --on: #12171a;
25
- --c0: #f07a6c; --c1: #f0a65a; --c2: #e6cf62; --c3: #6cc0d8; --c4: #a497ec; --c5: #7d898c; color-scheme: dark;
26
- }
27
- }
28
- :root[data-theme="dark"] {
29
- --bg: #12171a; --surface: #1a2125; --fg: #e3e9ea; --muted: #94a1a4; --line: #2c373b;
30
- --accent: #7ea2f2; --good: #5cc28f; --bad: #f07a6c; --warn: #e0b154; --base: #7d898c; --on: #12171a;
31
- --c0: #f07a6c; --c1: #f0a65a; --c2: #e6cf62; --c3: #6cc0d8; --c4: #a497ec; --c5: #7d898c; color-scheme: dark;
32
  }
33
  body { background: var(--bg); color: var(--fg); font: 15px/1.6 var(--body); padding-inline: 16px; }
34
- main { max-width: 940px; margin: 0 auto; padding-block: 40px 64px; display: grid; gap: 52px; }
35
  h1, h2 { font-family: var(--display); text-wrap: balance; margin: 0; letter-spacing: 0.01em; }
36
- h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; }
37
- h2 { font-size: 1.5rem; margin-bottom: 10px; }
38
  p { margin: 0 0 12px; max-width: 68ch; }
39
- .eyebrow { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 12px; }
40
  .lede { font-size: 1.08rem; color: var(--muted); }
41
  .takeaway { font-weight: 600; }
42
  .headline { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 20px; font-family: var(--mono); }
@@ -44,8 +33,9 @@ p { margin: 0 0 12px; max-width: 68ch; }
44
  .headline b { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
45
  .headline span { font-size: 12px; color: var(--muted); }
46
  .scroll { overflow-x: auto; }
47
- .chart { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 14px; }
48
- .mermaid { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 16px; }
 
49
  svg text { fill: var(--muted); font: 11px var(--mono); }
50
  svg .lab { fill: var(--fg); } svg .strong { font-weight: 600; } svg .on { fill: var(--on); font-weight: 600; }
51
  svg .grid { stroke: var(--line); stroke-dasharray: 2 4; } svg .axis { stroke: var(--line); }
@@ -201,7 +191,7 @@ flowchart LR
201
 
202
  <script type="module">
203
  import mermaid from "https://cdn.jsdelivr.net/npm/mermaid@11.4.1/dist/mermaid.esm.min.mjs";
204
- mermaid.initialize({ startOnLoad: true, theme: matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "neutral" });
205
  </script>
206
  </body>
207
  </html>
 
11
  <style>
12
  /* Layout: a lab ledger. Thesis and scoreboard first, then one chart per question, then every verdict. */
13
  :root {
14
+ --bg: #090a0f; --surface: #12141c; --fg: #f3f4f6; --muted: #9aa1b1; --line: #2a2e3d;
15
+ --accent: #00ffaa; --good: #00ffaa; --bad: #ff6b5e; --warn: #f5a524; --base: #6b7385; --on: #05110b;
16
+ --c0: #ff6b5e; --c1: #f5a524; --c2: #e6cf62; --c3: #6cc0d8; --c4: #a497ec; --c5: #6b7385;
17
+ --display: "Archivo Narrow", "Arial Narrow", sans-serif;
18
+ --body: "Public Sans", sans-serif;
19
+ --mono: "JetBrains Mono", ui-monospace, monospace;
20
+ color-scheme: dark;
 
 
 
 
 
 
 
 
 
 
 
21
  }
22
  body { background: var(--bg); color: var(--fg); font: 15px/1.6 var(--body); padding-inline: 16px; }
23
+ main { max-width: 1100px; margin: 0 auto; padding-block: 48px 72px; display: grid; gap: 56px; }
24
  h1, h2 { font-family: var(--display); text-wrap: balance; margin: 0; letter-spacing: 0.01em; }
25
+ h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: .98; }
26
+ h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; margin-bottom: 14px; }
27
  p { margin: 0 0 12px; max-width: 68ch; }
28
+ .eyebrow { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 12px; }
29
  .lede { font-size: 1.08rem; color: var(--muted); }
30
  .takeaway { font-weight: 600; }
31
  .headline { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 20px; font-family: var(--mono); }
 
33
  .headline b { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
34
  .headline span { font-size: 12px; color: var(--muted); }
35
  .scroll { overflow-x: auto; }
36
+ .chart { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 24px; }
37
+ .mermaid { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 24px; overflow-x: auto; }
38
+ main > * { min-width: 0; }
39
  svg text { fill: var(--muted); font: 11px var(--mono); }
40
  svg .lab { fill: var(--fg); } svg .strong { font-weight: 600; } svg .on { fill: var(--on); font-weight: 600; }
41
  svg .grid { stroke: var(--line); stroke-dasharray: 2 4; } svg .axis { stroke: var(--line); }
 
191
 
192
  <script type="module">
193
  import mermaid from "https://cdn.jsdelivr.net/npm/mermaid@11.4.1/dist/mermaid.esm.min.mjs";
194
+ mermaid.initialize({ startOnLoad: true, theme: "dark" });
195
  </script>
196
  </body>
197
  </html>
thumbnail.png CHANGED

Git LFS Details

  • SHA256: 23939f393782e2b5bb267414cab33a0ac75210f4d5de9d02a5da5b8b203eb7e8
  • Pointer size: 131 Bytes
  • Size of remote file: 115 kB

Git LFS Details

  • SHA256: c2a2e46034b8aae3679c9d35fccfce6bb2cc6350d5bf88a9776c66970736f1ad
  • Pointer size: 131 Bytes
  • Size of remote file: 123 kB