Commit Graph
3 Commits
Author SHA1 Message Date
noether b4ecff325d fix: center content images (headers/artwork/banner) in the column
Images were display:inline under text-align:start with only
max-width:100% (caps, never stretches), so any image narrower than the
content column hugged the left edge (e.g. covid header 579px in a 640px
column -> 61px right gap) and full-width images reached the column edge.

Add .markdown img:not([width]) { display:block; margin:.75em auto } in
_custom.scss (imported last, wins the cascade). Keying on :not([width])
centers the display images while leaving the inline donation crypto icons
(they carry width/height attributes + inline text) untouched.

Verified in browser: all 38 content images across 20 pages now have equal
left/right gaps; no page has horizontal overflow.
2026-10-29 10:50:18 -06:00
noether dd06c50374 theme: bump base font to 17px and widen the page + sidebar
Add site-level overrides to themes/hugo-book/assets/_variables.scss
(imported after _defaults.scss, so plain assignments override the theme):

  --font-size: 17px          base font up from the theme's 16px (all rem
                             sizes scale off it)
  $container-max-width: 100rem  content cap up from 80rem, so a 1920px
                             display no longer leaves ~310px dead gutters
                             on each side
  $menu-width: 18.75rem       sidebar (category list + search box + search
                             results pane) up from the 10rem theme default
                             so search results are readable
  $mobile-breakpoint          recomputed from the new values (it is derived
                             in _defaults.scss, so the override must redo
                             the arithmetic or the mobile collapse breaks)
2026-10-11 08:59:34 -06:00
surfninjas bb5dad65bf readded hugo-book theme files. 2026-04-24 14:36:57 -06:00