diff --git a/scripts/build.js b/scripts/build.js index 6ecefd3..4d465ef 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -69,8 +69,8 @@ async function build() { const outPath = join(root, 'output', 'book.html'); await writeFile(outPath, html, 'utf-8'); - // title page + copyright + TOC + (4 scenes × 2 pages per story) + finale - const pageCount = 3 + stories.reduce((acc, s) => acc + s.scenes.length * 2, 0) + 1; + // copyright + TOC + (4 scenes × 2 pages per story) + finale + const pageCount = 2 + stories.reduce((acc, s) => acc + s.scenes.length * 2, 0) + 1; await writeFile( join(root, 'output', 'book-meta.json'), JSON.stringify({ pageCount, storyCount: stories.length, builtAt: new Date().toISOString() }, null, 2), diff --git a/styles/layout.css b/styles/layout.css index 749a0ff..84bd583 100644 --- a/styles/layout.css +++ b/styles/layout.css @@ -66,23 +66,6 @@ margin-top: auto; } -/* ── Title page ── */ -.page--title { - background: var(--midnight, #0d0d2b); - /* Radial glow toward center */ - background-image: radial-gradient(ellipse at 50% 45%, #1a1a4a 0%, #0d0d2b 65%); - display: flex; - align-items: center; - justify-content: center; - text-align: center; -} - -.title-content { - display: flex; - flex-direction: column; - align-items: center; -} - /* ── Imprint page ── */ .page--imprint { background: var(--cream, #faf8f2); diff --git a/styles/typography.css b/styles/typography.css index a30d52f..25c049a 100644 --- a/styles/typography.css +++ b/styles/typography.css @@ -65,55 +65,6 @@ body { print-color-adjust: exact; } -/* ── Title page ── */ -.title-eyebrow { - font-family: var(--font-display); - font-style: italic; - font-weight: 300; - font-size: 0.9rem; - letter-spacing: 0.22em; - text-transform: uppercase; - color: rgba(255, 255, 255, 0.5); - margin-bottom: 1.8rem; -} - -.title-main { - font-family: var(--font-display); - font-style: italic; - font-weight: 300; - font-size: 3.4rem; - line-height: 1.15; - color: #ffffff; - margin-bottom: 1.6rem; - letter-spacing: 0.01em; -} - -.title-author { - font-family: var(--font-display); - font-style: italic; - font-weight: 400; - font-size: 1rem; - color: rgba(255, 255, 255, 0.65); - letter-spacing: 0.12em; - margin-bottom: 0.5rem; -} - -.title-sub { - font-family: var(--font-display); - font-style: italic; - font-weight: 300; - font-size: 1rem; - color: rgba(255, 255, 255, 0.45); - letter-spacing: 0.08em; -} - -.title-rule { - width: 3rem; - height: 1px; - background: rgba(255, 255, 255, 0.25); - margin: 1.4rem auto; -} - /* ── Imprint page ── */ .imprint-content { font-family: var(--font-body); diff --git a/templates/book.html b/templates/book.html index d10fee8..9a5161e 100644 --- a/templates/book.html +++ b/templates/book.html @@ -9,18 +9,6 @@ - {# ── Title page ── #} -
-
-

Das Kaleidoskop
der Schlummerwelten

-
-

Zwölf magische Geschichten für die Nacht

- {% if frontMatter.author %} -

{{ frontMatter.author }}

- {% endif %} -
-
- {# ── Copyright / imprint page ── #}