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

38
html/16.html Normal file
View File

@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The World - Chapter Overview</title>
<link rel="stylesheet" href="book-page.css">
</head>
<body>
<h1>The World</h1>
<p>This chapter provides a birds eye view of Fabula Ultimas approach to natural fantasy worlds. Both Players and Game Masters are welcome to read it it contains valuable tools for both roles.</p>
<p>The chapter is constructed as follows:</p>
<h2>Chapter Sections Overview</h2>
<ul>
<li>
<strong>Natural Fantasy Locations</strong>: This section helps you create natural fantasy regions, settlements and landmarks. It also provides ten in-depth examples of natural fantasy locations, each detailed first as a narrative archetype, and then as a collection of playable hooks.
</li>
<li>
<strong>Conflicts</strong>: This section explores the conflicts typical of natural fantasy, from both narrative and rules perspectives.
</li>
<li>
<strong>Magic and Rituals</strong>: This section delves into the role of magic and supernatural entities in natural fantasy worlds, and what they represent.
</li>
<li>
<strong>Technology</strong>: This section provides ideas on how to frame the role of technology and craftsmanship in natural fantasy worlds, including new rules to create items from raw materials.
</li>
<li>
<strong>Rare Items and Artifacts</strong>: The chapters last two sections focus on rare items and artifacts you might find in a natural fantasy setting. As well as general advice, there are also a number of ready-to-use item lists.
</li>
</ul>
</body>
</html>