feat: Add book viewer at /book with shared design system

- Add html/index.html: book viewer with auto-discovering sidebar,
  prev/next navigation, keyboard shortcuts, and URL hash persistence
- Add html/book-page.css: shared stylesheet for all book pages derived
  from fabula-ultima-sheet.css (dark theme, CSS variables, Cinzel/
  Crimson Text fonts, common class styles)
- Add book.js entry point so webpack injects the shared CSS into the
  book viewer; update webpack.config.js for two entry points, split
  CSS chunk, CopyWebpackPlugin for book pages, and /book dev server
  rewrite rule
- Add scripts/strip_watermark.py: removes "Guest Customer (Order
  #52072168)" watermark artifacts from all 210 book pages
- Add scripts/restyle_book.py: strips per-page <style> blocks and
  injects <link rel="stylesheet" href="book-page.css"> into all pages
- Update Justfile deploy to scp -r dist/* for the new /book subtree

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-06 03:36:35 +00:00
parent 58552b536f
commit c75cd188c1
220 changed files with 12685 additions and 10 deletions

39
html/47.html Normal file
View File

@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Golden City</title>
<link rel="stylesheet" href="book-page.css">
</head>
<body>
<h1>The Golden City</h1>
<p>A vast city floating in the sky that escaped the unrelenting march of time few know of its existence and even fewer how to reach it. Legend has it humans are the descendants of its mysterious inhabitants, keepers of lost secrets since the dawn of time. However, in the silent magnificence of this enchanted place lurks the gloom and sadness of an inhuman secret.</p>
<div class="info-box">
<h2>Golden City At A Glance</h2>
<p><strong>Keywords:</strong> gloom, astonishment, emptiness.</p>
<h3>Key Attributes</h3>
<ul>
<li><strong>Terrain:</strong> buildings, gardens, stone</li>
<li><strong>Common elements:</strong> A, B, F</li>
<li><strong>Travel roll:</strong> d12. Rare elements: E, T</li>
<li><strong>Dangers:</strong> an illusory trap that locks the travelers in an endless mirage; the dormant security system that protects the city.</li>
<li><strong>Discoveries:</strong> an unknown artifact from a lost civilization, an ancient and forgotten technology, a primordial being and keeper of all lore.</li>
<li><strong>Themes:</strong> the wonders of the ancients, the creation outlasting the creators, the hidden rules of the world, the loneliness of immortals.</li>
</ul>
</div>
<h3>The Remote Ruin</h3>
<p><em>A secondary location/concept associated with the main city's mystery.</em></p>
<div class="metadata">
<p><strong>Document Reference:</strong> Golden City ()</p>
<p><em>Metadata Source: Inquiry</em></p>
</div>
</body>
</html>