87a3925c3e
Replaces Georgia + per-story color theming with a unified premium fairytale look: Cormorant Garamond (display/titles) + Lora (body), warm cream text pages (#faf8f2 with paper noise texture), deep ink typography (#1e1b18) throughout — no per-story text color variation. - fonts/: committed WOFF2 files via @fontsource packages; auto-copied by scripts/setup-fonts.js (runs as postinstall) - Typography: story number in small caps, hairline rule, ❧ ornament - Layout: cream background replaces per-story bg, radial glow on title - build.js: passes frontMatter (author, year) to templates - Templates: author byline on title page, cleaner imprint page Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
34 lines
549 B
CSS
34 lines
549 B
CSS
/* KDP: 8.5×8.5 in trim, 0.125in bleed on all sides */
|
||
@page {
|
||
size: 8.75in 8.75in;
|
||
margin: 0;
|
||
}
|
||
|
||
* {
|
||
box-sizing: border-box;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
html, body {
|
||
width: 8.75in;
|
||
background: white;
|
||
}
|
||
|
||
.page {
|
||
width: 8.75in;
|
||
height: 8.75in;
|
||
position: relative;
|
||
overflow: hidden;
|
||
page-break-after: always;
|
||
break-after: page;
|
||
}
|
||
|
||
/* Safe zone: 0.125in bleed + 0.675in margin = 0.8in from PDF edge */
|
||
.page--text .text-page-inner,
|
||
.page--title .title-content,
|
||
.page--toc,
|
||
.page--imprint .imprint-content {
|
||
padding: 0.8in;
|
||
}
|