Graphley / website / assets / retirement.css
| 1 | :root { color-scheme: light dark; font: 1rem/1.6 system-ui, sans-serif; } |
| 2 | body { max-inline-size: 42rem; margin: clamp(3rem, 10vw, 7rem) auto 2rem; padding: 0 1.25rem; } |
| 3 | h1, h2 { line-height: 1.15; } |
| 4 | h1 { margin-block: 0 1rem; font-size: clamp(2rem, 6vw, 3rem); } |
| 5 | h2 { margin-block-start: 2rem; font-size: 1.3rem; } |
| 6 | footer { border-block-start: 1px solid color-mix(in srgb, currentColor 30%, transparent); margin-block-start: 2.5rem; padding-block-start: 1rem; font-size: .9rem; } |
| 7 | nav { display: flex; flex-wrap: wrap; gap: 1rem; } |
| 8 | a { color: inherit; text-underline-offset: .2em; } |
| 9 | a:focus-visible { outline-offset: .25em; } |
| 10 | |
| 11 | /* Monochrome presentation includes images, illustrations, embedded demos, and |
| 12 | CSS artwork. Filter the document root, not a layout wrapper, so fixed/sticky |
| 13 | controls retain their viewport behavior. Original media remain intact. */ |
| 14 | html { filter: grayscale(1); } |