Skip to content

EPUB: title/about-page typography fixes - #70

Merged
jposluns merged 1 commit into
mainfrom
claude/epub-titlepage-css
Jul 3, 2026
Merged

EPUB: title/about-page typography fixes#70
jposluns merged 1 commit into
mainfrom
claude/epub-titlepage-css

Conversation

@jposluns

@jposluns jposluns commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Fixes three title/about-page issues.

  1. "bli-macake.com" line-wrap. The reader was auto-hyphenating the domain at a line break, which read like the domain had a hyphen. Disabled automatic hyphenation (hyphens: none, with vendor prefixes) and wrapped the domain in a no-break span so it can never split.
  2. Licence font size mismatch + high start. The licence block was much smaller (.82em) than the story above it, which looked jarring. Removed the size override so it matches the body text. Also reduced the title page's overall footprint (smaller heading, tighter margins) so the story and licence sit together rather than the licence spilling onto its own screen that started at the very top.
  3. "Blima Cake" left-justified on the title page. Some readers were left-aligning the title even though the container was centered. Set an explicit text-align: center on the title (and subtitle).

Rebuilt BlimaCake.epub; valid (mimetype stored first, 0 malformed XHTML), opens on the cover, 0 en/em dashes. Repo guard and markdownlint clean.

Note: exact line-wrapping and alignment are ultimately reader-dependent, but the explicit hyphens: none, no-break domain, and explicit center alignment remove the causes rather than relying on defaults.

🤖 Generated with Claude Code


Generated by Claude Code

- Disable auto-hyphenation and no-break the domain so it can't render as
  'bli-macake.com' at a line wrap.
- Match the licence block's font size to the body text (was much smaller
  and looked jarring next to the story).
- Center the title explicitly (some readers left-justified it) and shrink
  the title page's footprint (smaller heading, tighter margins) so the
  story and licence stay together instead of the licence spilling onto its
  own screen that started at the top.
Rebuild the book.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpG2vky2XhDtfc6y16TRis
@jposluns
jposluns merged commit 4925635 into main Jul 3, 2026
4 checks passed
@jposluns
jposluns deleted the claude/epub-titlepage-css branch July 7, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants