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

66
html/168.html Normal file
View File

@@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Character Skills Documentation</title>
<link rel="stylesheet" href="book-page.css">
</head>
<body>
<div class="container">
<h1>Advanced Character Skills Overview</h1>
<!-- Skill 1: PROTAGONISTS -->
<h2>33PROTAGONISTS</h2>
<div class="requirements">
<strong>Requirements:</strong> you must have mastered the Wayfarer Class, and must have acquired the Faithful Companion Skill.
</div>
<p>When your companion deals damage, they deal 5 extra damage.</p>
<p>When your companion performs a Check, you may spend 1 Fabula Point and invoke one of your companions Traits in order to let them reroll one or both dice (as per the rules on page 46 of the Core Rulebook).</p>
<p>After you use the Faithful Companion Skill to have your companion perform an action during your turn, you may choose one option (after the companions action has been resolved):</p>
<ul>
<li>You and your companion each recover 10 Mind Points; <br>(OR)</li>
<li>The first time you or your companion perform a Check before the end of your next turn, that Check gains a bonus equal to (your Skill Level in Faithful Companion).</li>
</ul>
<!-- Separator/Section Break -->
<hr style="margin: 40px 0; border: none; border-top: 1px dashed #ccc;">
<!-- Skill 2: SILENT HUNTER -->
<h2>SILENT HUNTER</h2>
<div class="requirements">
<strong>Requirements:</strong> you must have mastered one or more Classes among Rogue, Sharpshooter, and Weaponmaster, and must have acquired the High Speed Skill.
</div>
<p>When you use the High Speed Skill to perform a free attack with a weapon belonging to the bow, spear, or thrown Category, the attack deals extra damage equal to (your Skill Level in the High Speed Skill, multiplied by 5).</p>
<p>Additionally, when you attack one or more creatures with a weapon that belongs to the bow, spear, or thrown Category, those creatures cannot perform free attacks until the end of the current turn.</p>
<!-- Separator/Section Break -->
<hr style="margin: 40px 0; border: none; border-top: 1px dashed #ccc;">
<!-- Skill 3: SKILLFUL DOSAGE -->
<h2>SKILLFUL DOSAGE</h2>
<div class="requirements">
<strong>Requirements:</strong> you must have mastered one or more Classes among Gourmet, Loremaster, Merchant, and Tinkerer.
</div>
<p>Potions and delicacies you create, as well as spells you cast, can now cause creatures to recover Hit Points and Mind Points beyond their maximum HP and MP scores.</p>
<p>This cannot cause a creatures current HP and/or MP to go above 150% of the respective maximum scores; at the end of each scene, if the current Hit Points and/or Mind Points of a creature are still above their maximum scores, they become equal to the maximum score.</p>
<!-- Extraneous Metadata -->
<div class="metadata">
</div>
</div>
</body>
</html>