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:
36
html/149.html
Normal file
36
html/149.html
Normal file
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Gourmet Profession Entry</title>
|
||||
<link rel="stylesheet" href="book-page.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<header>
|
||||
<h1>GOURMET</h1>
|
||||
<h2>Gourmet</h2>
|
||||
<p style="font-size: 0.9em; margin-top: -10px;">ALSO: Brewer, Chef, Patissier</p>
|
||||
</header>
|
||||
|
||||
<section>
|
||||
<h3>Definition and Skills</h3>
|
||||
<p>Cooking may be considered a common skill, but Gourmets refine their knowledge of foodstuffs to a level that is nothing short of supernatural: they refine the art of extracting spiritual energies from every ingredient, infusing meals with powerful magical effects!</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h3>Way of Life</h3>
|
||||
<p>While most Gourmets are content with simply settling down in a town or village and making a living off their skills, some wander the world in a lifelong search for new ingredients.</p>
|
||||
</section>
|
||||
|
||||
<blockquote>
|
||||
"A true chef respects the nature of that which they transform."
|
||||
</blockquote>
|
||||
|
||||
<div class="metadata">
|
||||
<span>Page 148</span>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user