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.
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)