|
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
6 | 6 | <title>Sign in — demarkus Library</title> |
7 | 7 | <style> |
8 | | - :root { color-scheme: dark; } |
| 8 | + /* Match the reading room's Tufte palette (page.html): off-white/off-black |
| 9 | + paper+ink, Charter serif, light-dark() adaptive — so the turnstile and the |
| 10 | + library feel like one place. */ |
| 11 | + :root { |
| 12 | + color-scheme: light dark; |
| 13 | + --paper: light-dark(#fffff8, #151515); |
| 14 | + --ink: light-dark(#111111, #dddddd); |
| 15 | + --faint: light-dark(#11111120, #dddddd28); |
| 16 | + --muted: light-dark(#11111199, #dddddd99); |
| 17 | + } |
9 | 18 | * { box-sizing: border-box; } |
10 | 19 | html, body { height: 100%; } |
11 | 20 | body { margin: 0; min-height: 100%; |
12 | 21 | display: flex; align-items: center; justify-content: center; |
13 | | - background: #000; color: #f4f4f4; |
14 | | - font: 16px/1.6 system-ui, sans-serif; text-align: center; } |
15 | | - /* Faint full-page knowledge graph, sits behind the card. */ |
| 22 | + background: var(--paper); color: var(--ink); text-align: center; |
| 23 | + font: 17px/1.55 Charter, 'Bitstream Charter', 'Sitka Text', Cambria, Georgia, serif; } |
| 24 | + /* Faint full-page knowledge graph, sits behind the card — ink at low opacity |
| 25 | + so it reads on light and dark alike. */ |
16 | 26 | .graph { position: fixed; inset: 0; width: 100%; height: 100%; |
17 | 27 | z-index: 0; pointer-events: none; |
18 | | - opacity: .22; color: #fff; } |
| 28 | + opacity: .12; color: var(--ink); } |
19 | 29 | .graph .edges line { stroke: currentColor; stroke-width: .7; } |
20 | 30 | .graph .node { fill: currentColor; } |
21 | | - .graph .hub { fill: #fff; } |
22 | 31 | .card { position: relative; z-index: 1; |
23 | 32 | max-width: 26rem; padding: 4rem 1.25rem; |
24 | | - background: radial-gradient(60% 60% at 50% 50%, #000 55%, transparent); |
| 33 | + background: radial-gradient(60% 60% at 50% 50%, var(--paper) 55%, transparent); |
25 | 34 | border-radius: 1rem; } |
26 | | - h1 { font-size: 1.4rem; font-weight: 600; } |
27 | | - p { color: #cfcfcf; } |
28 | | - p.error { color: #ff6b5e; } |
29 | | - button { font: inherit; padding: .55rem 1.4rem; border-radius: 8px; |
30 | | - border: 1px solid #fff6; background: transparent; color: inherit; |
| 35 | + h1 { font-size: 1.7rem; font-weight: 500; line-height: 1.2; } |
| 36 | + p { color: var(--muted); } |
| 37 | + p.error { color: light-dark(#cf222e, #f85149); } |
| 38 | + button { font: inherit; padding: .5rem 1.4rem; border-radius: 6px; |
| 39 | + border: 1px solid var(--muted); background: transparent; color: inherit; |
31 | 40 | cursor: pointer; transition: background .15s; } |
32 | | - button:hover { background: #ffffff14; } |
| 41 | + button:hover { background: var(--faint); } |
33 | 42 | </style> |
34 | 43 | </head> |
35 | 44 | <!-- No htmx on this page: the turnstile is a plain form so signing in works |
|
0 commit comments