carlos / todomvc-bakeoff Public

Clone
git clone https://amadan.net/carlos/todomvc-bakeoff

Plain git — no account needed to clone.

Download

Download this file

1{{define "css"}}<style>
2:root {
3 color-scheme: light;
4 --plane: #f9f9f7; --surface: #fcfcfb; --ink: #0b0b0b; --ink-2: #52514e; --muted: #898781;
5 --grid: #e1e0d9; --axis: #c3c2b7; --ring: rgba(11,11,11,0.10);
6 --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a;
7}
8@media (prefers-color-scheme: dark) {
9 :root {
10 color-scheme: dark;
11 --plane: #0d0d0d; --surface: #1a1a19; --ink: #ffffff; --ink-2: #c3c2b7; --muted: #898781;
12 --grid: #2c2c2a; --axis: #383835; --ring: rgba(255,255,255,0.10);
13 --s1: #3987e5; --s2: #d95926; --s3: #199e70;
14 }
15}
16* { box-sizing: border-box; }
17body { margin: 0; background: var(--plane); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
18main { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
19h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 16px; }
20h2 { font-size: 1.35rem; margin: 56px 0 12px; }
21h3 { font-size: 1.05rem; margin: 0 0 4px; }
22p, li { color: var(--ink-2); }
23a { color: inherit; }
24code { font-size: .9em; }
25.card { background: var(--surface); border: 1px solid var(--ring); border-radius: 10px; padding: 18px 20px; margin: 16px 0; }
26.note { color: var(--muted); font-size: .9rem; margin: 2px 0 8px; }
27.chart { width: 100%; height: auto; display: block; }
28.chart .label { fill: var(--ink-2); font-size: 13px; text-anchor: end; }
29.chart .value { fill: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; }
30.chart .missing { fill: var(--muted); font-size: 13px; font-style: italic; }
31.chart .axis { stroke: var(--axis); stroke-width: 1; }
32.chart .s1 { fill: var(--s1); } .chart .s2 { fill: var(--s2); } .chart .s3 { fill: var(--s3); }
33.legend { display: flex; gap: 16px; font-size: .85rem; color: var(--ink-2); margin: 4px 0 0; padding: 0; list-style: none; }
34.legend li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; background: var(--k); }
35.scroll { overflow-x: auto; }
36table { border-collapse: collapse; width: 100%; font-size: .85rem; font-variant-numeric: tabular-nums; }
37th, td { padding: 6px 8px; border-bottom: 1px solid var(--grid); text-align: right; white-space: nowrap; }
38th:first-child, td:first-child { text-align: left; }
39th { color: var(--ink-2); font-weight: 600; }
40.blocked td:not(:first-child) { color: var(--muted); text-align: left; white-space: normal; }
41.prose table { margin: 16px 0; }
42.prose td, .prose th { white-space: normal; text-align: left; vertical-align: top; }
43.prose h2 { margin-top: 40px; }
44dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 8px 0 0; font-size: .92rem; }
45dt { color: var(--muted); } dd { margin: 0; color: var(--ink-2); }
46</style>{{end}}
47