@font-face { font-family: 'Paper Mono'; src: url('/font/PaperMono[wght].woff2') format('woff2'); font-weight: 100 800; font-display: swap; } :root { color-scheme: light dark; --graphite: #656b73; --ash: #878c94; --silver: #bec3c9; --mist: #e6e9ed; --snow: #f3f5f9; --slate: #92a1ad; --frost: #9cb0ca; --surface: light-dark(#f3f5f9, #161a1e); --surface-raised: light-dark(#fff, #1f2329); --surface-sunken: light-dark(#e6e9ed, #0f1215); --line: light-dark(#bec3c9, #33373e); --line-strong: light-dark(#878c94, #70767e); --ink: light-dark(#1e2228, #e6e9ed); --ink-muted: light-dark(#5e646b, #a3a8af); --accent-ink: light-dark(#4f5c78, #9cb0ca); --accent: #9cb0ca; --button: light-dark(#7f94b0, #9cb0ca); --on-accent: light-dark(#1e2228, #15191d); --blush: light-dark(#cad1dc, #3b4250); --collar: light-dark(#1b1f24, #434950); --stud: light-dark(#bec3c9, #e6e9ed); --focus-ring: light-dark(#4f5c78, #9cb0ca); --shadow-soft: 0 2px 10px rgb(101 107 115 / 0.16); --scrim: light-dark(rgb(27 31 36 / 0.6), rgb(8 10 12 / 0.7)); --warn: light-dark(#6e4d75, #d2b0da); --hl-foreground: var(--ink); --hl-background: var(--surface-sunken); --hl-token-comment: var(--ink-muted); --hl-token-punctuation: var(--ink-muted); --hl-token-parameter: var(--ink); --hl-token-keyword: light-dark(#3d5c84, #a0c0eb); --hl-token-link: var(--hl-token-keyword); --hl-token-function: light-dark(#565583, #b8b8ea); --hl-token-string: light-dark(#136868, #87cccc); --hl-token-string-expression: var(--hl-token-string); --hl-token-constant: var(--warn); --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px; --space-5: 48px; --radius-sm: 4px; --radius-md: 14px; --radius-round: 9999px; --font-display: 'Josefin Sans', 'Futura', system-ui, sans-serif; --font-sans: 'Figtree', system-ui, sans-serif; --font-mono: 'Paper Mono', ui-monospace, monospace; --text-display: 300 4.5rem/0.95 var(--font-display); --text-title: 300 2rem/1.25 var(--font-display); --text-heading: 600 1.25rem/1.4 var(--font-sans); --text-body: 400 1rem/1.625 var(--font-sans); --text-small: 400 0.8125rem/1.54 var(--font-sans); --text-label: 600 0.75rem/1.34 var(--font-sans); --text-code: 400 0.875rem/1.58 var(--font-mono); @media (prefers-color-scheme: dark) { --shadow-soft: 0 2px 12px rgb(0 0 0 / 0.5); } } html { scrollbar-color: var(--line-strong) var(--surface); } body { margin: 0; background: var(--surface); color: var(--ink); font: var(--text-body); font-size-adjust: from-font; } ::selection { background: var(--accent); color: var(--on-accent); } :focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; } a { color: var(--accent-ink); border-radius: var(--radius-sm); text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: 0.2em; &:hover { text-decoration: underline; } } :is(h1, h2, p, figure, pre) { margin: 0; } :is(h1, h2) { text-wrap: balance; } p { text-wrap: pretty; } @view-transition { navigation: auto; } @media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } } ::view-transition-group(*) { animation-duration: 0.3s; } .collar { height: 32px; view-transition-name: collar; background: var(--collar) url('/motifs/spike.svg') repeat-x center / var(--space-4) 16px; } .page { box-sizing: border-box; max-width: 688px; /* 640 + 24px gutters */ margin: 0 auto; padding: var(--space-4) var(--space-4) var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); } .title { font: var(--text-title); letter-spacing: 0.01em; } .heading { font: var(--text-heading); } .small { font: var(--text-small); color: var(--ink-muted); } .label { font: var(--text-label); letter-spacing: 0.08em; } .mono { font: var(--text-code); } .sparkly { display: flex; align-items: flex-start; gap: var(--space-2); } .tap { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding-inline: var(--space-2); margin-inline: calc(-1 * var(--space-2)); font: var(--text-label); letter-spacing: 0.08em; } .bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); } .tags { display: inline-flex; flex-wrap: wrap; gap: var(--space-1); } .tag { --h: 255; padding: var(--space-1) var(--space-2); background: light-dark(oklch(0.86 0.045 var(--h)), oklch(0.36 0.05 var(--h))); color: light-dark(oklch(0.34 0.06 var(--h)), oklch(0.92 0.035 var(--h))); border-radius: var(--radius-round); font: var(--text-label); letter-spacing: 0.08em; } .tidbits { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); list-style: none; margin: 0; padding: 0; & li { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--space-3); min-height: 44px; padding-block: var(--space-1); box-sizing: border-box; border-top: 1px solid var(--line); } & time { width: 96px; font: var(--text-small); color: var(--ink-muted); } & a { flex: 1 1 240px; } } .art { display: block; box-sizing: border-box; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-raised); transition: border-color 0.12s ease-out; &.empty { display: flex; align-items: center; justify-content: center; color: var(--ink-muted); font: var(--text-small); } } .blur { position: relative; display: block; overflow: hidden; border-radius: var(--radius-md); & img { filter: blur(12px); scale: 1.1; /* hides the blur's faded edges */ @media (prefers-reduced-motion: no-preference) { transition: filter 0.2s ease, scale 0.2s ease; } } } :is(a, button) { & > :is(picture, .blur) { display: block; border-radius: var(--radius-md); transition: translate 0.12s ease-out, box-shadow 0.12s ease-out; } &:is(:hover, :focus-visible) { & > :is(picture, .blur) { box-shadow: var(--shadow-soft); @media (prefers-reduced-motion: no-preference) { translate: 0 -2px; } } & .art { border-color: var(--line-strong); } & .blur img { filter: none; scale: 1; } } } .split { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--space-2); } .warn { color: var(--warn); font-weight: 600; } .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .foot { margin-top: var(--space-5); background: var(--surface-sunken); & div { box-sizing: border-box; max-width: 688px; margin: 0 auto; padding: var(--space-4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); font: var(--text-small); color: var(--ink-muted); } }