Manual
Almnck.
Price: 50ⓐ

Experiment: 10% Root Font Enlargement

Date: 2026-02-20 Status: Reverted Commit: cc77276 (partially reverted; “Recently on Almanack” and data-hide-on-page features kept)

What We Tried

Scaled the entire site 10% larger by setting font-size: 110% on :root, with a reset to 100% at the 640px mobile breakpoint. Associated tweaks: drop-cap height adjustment (+1em), manual hyphens on article titles, hidden ornament endcaps on mobile.

Why

The base font (EB Garamond at 1.3rem off a 16px root = 20.8px) felt slightly small on modern high-DPI displays. A 10% bump to 22.88px was meant to improve readability without changing any relative sizing.

What Went Wrong

The three-column margins layout (0.33fr / 1fr / 0.33fr grid with 12rem minimum margins) had no room to absorb the larger text. At intermediate viewport widths (800px-1000px), margin boxes clipped off the edge and the center body text had too few words per line (~7-8 instead of the target ~10).

The enlargement cascaded into several compounding problems:

  1. Margin overflow: At 850px viewport, the grid minimum widths (12rem + 22rem + 12rem = 46rem = 810px at the new root size) exceeded available space after padding and gaps, causing the right margin to clip.

  2. Font-size inheritance breakage: Margin boxes (.margin-box), subscribe forms, and video chapter TOCs used hardcoded rem values (0.9rem, 0.85rem, 0.8rem, 0.7rem) that don’t scale with any responsive adjustment to .margin font-size. Converting these to em units fixed inheritance but changed the sizing chain in unexpected ways.

  3. Squeeze zone complexity: Fixing the layout required a new intermediate media query (935px-724px) with different grid proportions (0.4fr / 1fr / 0.4fr), reduced body text (1.1rem), suppressed drop-cap enlargement, and a lowered Mode 3 breakpoint (723px). Each fix introduced new edge cases.

  4. JS/CSS breakpoint sync: The sidenotes JS (minViewportWidth: 800) had to be manually kept in sync with the CSS Mode 3 breakpoint. At one point the JS was still at 800px while CSS was at 768px, leaving empty margin columns with no content.

What We Learned

  • rem vs em in margins: Margin box internals should use em (relative to .margin parent) not rem (absolute to root). This allows a single .margin { font-size } change to scale everything inside. Affected: .margin-box (0.9rem), .subscribe-form (0.85rem), .video-chapter-toc (0.8rem), .video-chapter-toc-heading (0.7rem).

  • Grid minimums constrain responsive range: The minmax(12rem, 0.33fr) margins set a hard floor. Lowering to minmax(5rem, 0.33fr) allowed the layout to survive down to ~700px viewport, but margins at 5rem (88px) are barely usable. The comfortable three-column threshold is around 980-1000px at the enlarged root size.

  • Breakpoint arithmetic: With root at 110%, the effective rem is 17.6px instead of 16px. Every rem-based breakpoint, minimum, and spacing is 10% larger in absolute terms, which shifts all the layout thresholds.

  • Wide desktop margin scaling works: Above ~1200px, bumping .margin font-size (from 0.85rem to 1.2rem) made sidenotes and margin boxes noticeably more readable, with no layout issues. This could be pursued independently of any root enlargement.

Approach If Revisited

Rather than a global root enlargement, consider:

  1. Increase only body font-size (e.g. 1.4rem or 1.5rem) without touching :root. This keeps all rem-based layout values (grid minimums, breakpoints, spacing) at their designed sizes while making body text larger.

  2. Convert margin-box internals to em first (the rem-to-em changes identified above), so margin font scaling works cleanly.

  3. Add a wide-desktop media query (min-width: 1200px) to bump margin font-size independently, since there’s ample room at those widths.

  4. Test at 800px viewport as the critical squeeze point before committing any size increase.