Files
kaleidoskop/styles/typography.css
T

98 lines
1.8 KiB
CSS
Raw Normal View History

/* ── Base typography ── */
body {
font-family: Georgia, 'Times New Roman', serif;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
/* ── Title page ── */
.title-eyebrow {
font-size: 0.85rem;
letter-spacing: 0.2em;
text-transform: uppercase;
color: rgba(255,255,255,0.6);
margin-bottom: 1.5rem;
}
.title-main {
font-size: 3rem;
line-height: 1.2;
color: white;
margin-bottom: 1.5rem;
font-style: italic;
}
.title-sub {
font-size: 1.1rem;
color: rgba(255,255,255,0.8);
letter-spacing: 0.05em;
}
/* ── Table of contents ── */
.toc-title {
font-size: 1.6rem;
color: #1a1a3e;
font-style: italic;
border-bottom: 1px solid #ddd;
padding-bottom: 0.5rem;
}
/* ── Story title (first scene right page) ── */
.story-title {
font-size: 1.6rem;
color: var(--color-primary);
font-style: italic;
line-height: 1.3;
border-bottom: 2px solid var(--color-secondary);
padding-bottom: 0.5rem;
margin-bottom: 0.5rem;
}
/* ── Scene text ── */
.scene-text {
font-size: 1.05rem;
line-height: 1.85;
color: var(--color-text, #1a1a2e);
}
.scene-text p {
margin-bottom: 1em;
}
.scene-text p:last-child {
margin-bottom: 0;
}
.scene-text em {
font-style: italic;
}
/* Story 9 has dark background — invert text page */
[data-story="9"].page--text {
background: #0a0a2a;
}
[data-story="9"] .scene-text,
[data-story="9"] .story-title {
color: #ffffff;
}
[data-story="9"] .story-title {
border-color: #ff1493;
}
/* ── Finale ── */
.finale-overlay h2 {
font-size: 2.5rem;
color: white;
font-style: italic;
text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.finale-overlay p {
font-size: 1rem;
color: rgba(255,255,255,0.8);
letter-spacing: 0.1em;
margin-top: 0.5rem;
}