e6c8fa4a29508008a08f6b9d55585b87c65fb0f3
custom.css
| ... | ... | @@ -31,7 +31,8 @@ body { |
| 31 | 31 | padding: 0; |
| 32 | 32 | background: var(--bg); |
| 33 | 33 | color: var(--fg); |
| 34 | - font: 18px Iosevka Comfy, monospace, Iosevka, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New"; |
|
| 34 | + font-size: 16px; |
|
| 35 | + font: Iosevka Comfy, monospace, Iosevka, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New"; |
|
| 35 | 36 | } |
| 36 | 37 | |
| 37 | 38 | /* ===== Layout: wider column (nav breathing room) ===== */ |
| ... | ... | @@ -65,7 +66,7 @@ h3 { font-size: 1.2rem; color: var(--muted); } |
| 65 | 66 | h4, h5, h6 { font-size: 1rem; color: var(--muted); } |
| 66 | 67 | |
| 67 | 68 | /* ===== Text & links ===== */ |
| 68 | -p, ul, ol, blockquote, pre, table { margin: 1.25rem 0; } |
|
| 69 | +p, ul, ol, blockquote, pre, table { margin: 1.25rem 0; font-size: 18px; } |
|
| 69 | 70 | li { margin: .4rem 0; } |
| 70 | 71 | a { |
| 71 | 72 | color: var(--link); |
| ... | ... | @@ -159,7 +160,7 @@ input[type="search"], input[type="text"], textarea, select, button { |
| 159 | 160 | |
| 160 | 161 | /* Force our font stack and colors across common wrappers + markdown */ |
| 161 | 162 | :root, html, body, |
| 162 | -#container, .gollum-site, .gollum-content, .wiki, .page, main, |
|
| 163 | +#container, .gollum-site, .gollum-content, .wiki, .page, main, td, |
|
| 163 | 164 | .markdown-body, |
| 164 | 165 | .markdown-body *, .markdown-body *::before, .markdown-body *::after { |
| 165 | 166 | font-family: Iosevka Comfy, monospace, Iosevka, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New" !important; |
| ... | ... | @@ -248,40 +249,18 @@ nav.actions #minibutton-home { flex: 0 0 auto; } |
| 248 | 249 | |
| 249 | 250 | /* Inline image badges */ |
| 250 | 251 | img.badge { |
| 251 | - height: 1.05em; /* track with surrounding text size */ |
|
| 252 | + height: 32px; /* track with surrounding text size */ |
|
| 252 | 253 | width: auto; /* keep aspect ratio */ |
| 253 | - vertical-align: -0.18em; /* nudge down to sit on the baseline */ |
|
| 254 | - margin-right: .35em; |
|
| 255 | - border-radius: 3px; |
|
| 254 | + vertical-align: -0.16em; /* nudge down to sit on the baseline */ |
|
| 255 | + border-radius: 5px; |
|
| 256 | 256 | box-shadow: 0 0 0 1px var(--border) inset; /* subtle keyline */ |
| 257 | 257 | image-rendering: auto; /* avoid pixelation for PNG/SVG */ |
| 258 | 258 | transition: transform .12s ease, box-shadow .12s ease, filter .12s ease; |
| 259 | 259 | } |
| 260 | 260 | |
| 261 | -/* If a badge is inside a link, hint interactivity */ |
|
| 262 | -a > img.badge { |
|
| 263 | - box-shadow: 0 0 0 1px color-mix(in srgb, var(--link) 45%, transparent) inset; |
|
| 264 | -} |
|
| 265 | -a:hover > img.badge, |
|
| 266 | -a:focus > img.badge { transform: translateY(-1px); } |
|
| 267 | - |
|
| 268 | -/* Size variants */ |
|
| 269 | -img.badge.sm { height: .9em; } |
|
| 270 | -img.badge.lg { height: 1.3em; } |
|
| 271 | - |
|
| 272 | -/* Compact row of badges */ |
|
| 273 | -.badges { |
|
| 274 | - display: inline-flex; |
|
| 275 | - gap: .35rem; |
|
| 276 | - flex-wrap: wrap; |
|
| 277 | - align-items: center; |
|
| 278 | -} |
|
| 279 | -.badges > img.badge { margin: 0; } |
|
| 280 | - |
|
| 281 | 261 | /* Right-floating decorative badge (e.g., section callout) */ |
| 282 | 262 | img.badge.right { |
| 283 | 263 | float: right; |
| 284 | - margin: 0 0 .2rem .5rem; |
|
| 285 | 264 | } |
| 286 | 265 | |
| 287 | 266 | /* Optional: monochrome SVGs that follow text color (export with fill="currentColor") */ |
| ... | ... | @@ -296,6 +275,6 @@ img.badge.icon { filter: none; } /* ensure no accidental filters */ |
| 296 | 275 | } |
| 297 | 276 | |
| 298 | 277 | /* === Hide Gollum’s auto-generated page title ========================== */ |
| 299 | -header-title { |
|
| 278 | +h1.header-title { |
|
| 300 | 279 | display: none !important; |
| 301 | 280 | } |