:root { --bg: #111111; --surface: #1f1610; --border: #3d2b1a; --selection: #3a0a00; --fg: #c4a882; --fg-bright: #d9c6a5; --fg-dim: #8b7355; --comment: #6b5a45; --amber: #d48b30; --amber-hi: #f0a030; --rust: #c84820; --rust-hi: #dc4a20; } *, h1, h2, h3, p{ margin: 0; padding: 0; box-sizing: border-box; font-size: inherit; } ::selection { background: var(--selection); color: var(--fg-bright); } body { font-family: "Comic Mono", "Liberation Mono", "DejaVu Sans Mono", Menlo, monospace; background: var(--bg); color: var(--fg-bright); padding: 32px; max-width: 800px; margin: 0 auto; line-height: 1.6; font-size: 15px; } nav { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 24px; } .nav-links { display: flex; gap: 20px; } a { color: inherit; text-decoration: none; } small, h1, h2, p { display: block; margin-bottom: 4px; } .page { display: none; } /* show the targeted page; fall back to home when no page is targeted */ .page:target, #home { display: block; } body:has(.page:target) #home:not(:target) { display: none; } .intro { margin-bottom: 12px; } .post-list { display: flex; flex-direction: column; gap: 20px; } .post-entry { display: block; border-bottom: 1px solid var(--border); padding-bottom: 16px; } .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 12px; } .card { display: block; border: 1px solid var(--border); padding: 16px; background: var(--surface); transition: border-color 0.2s; } .card:hover { border-color: var(--amber); } .tag { background: var(--border); color: var(--fg-bright); padding: 2px 6px; margin-right: 4px; margin-top: 8px; display: inline-block; } hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; } /* blog posts (generated from posts/*.org) */ article h1, article h2, article h3 { margin: 16px 0 4px; } article p, article ul, article ol, article pre, article blockquote, article table { margin-bottom: 12px; } article ul, article ol { padding-left: 20px; } article a { text-decoration: underline; } pre { background: var(--surface); border: 1px solid var(--border); padding: 12px; overflow-x: auto; } code { font-family: inherit; } blockquote { border-left: 2px solid var(--border); padding-left: 12px; } table { border-collapse: collapse; } th, td { border: 1px solid var(--border); padding: 2px 6px; } img { max-width: 100%; }