Skip to content

An AI skill that turns books into animated, narrated, interactive web experiences

fix(site): film landing pages, impeccable pass

yzr0944977564c6
diff --git a/site/madness/index.html b/site/madness/index.html
index f6dc82d..d745360 100644
--- a/site/madness/index.html
+++ b/site/madness/index.html
@@ -13,11 +13,15 @@
--ui: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif; --serif: "Iowan Old Style", Palatino, Georgia, serif; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--ui); }
- header { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 48px 24px 24px; }
- header img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 14px 40px #4a33182e; }
+ header { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 1100px; margin: 0 auto; padding: 20px 24px 24px; }
+ header img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 14px 40px #0006; }
h1 { margin: 0 0 8px; font: 700 clamp(34px, 4.6vw, 56px)/1.05 var(--serif); }
.lede { font-size: 20px; color: var(--soft); }
- main { max-width: 1000px; margin: 0 auto; padding: 8px 24px 80px; }
+ main { max-width: 1100px; margin: 0 auto; padding: 8px 24px 40px; }
+ .back { max-width: 1100px; margin: 0 auto; padding: 14px 24px 0; font: 600 13px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; }
+ .back a { display: inline-block; padding: 10px 0; color: var(--soft); text-decoration: none; }
+ .back a:hover { color: var(--ink); }
+ a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.episodes { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.episodes a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
@@ -28,16 +32,20 @@
.episodes span { margin: 0 16px 16px; color: var(--soft); font-size: 15px; line-height: 1.5; }
.episodes.shorts { grid-template-columns: repeat(4, 1fr); }
.episodes.shorts img { aspect-ratio: 9 / 16; }
+ .episodes.shorts small, .episodes.shorts b, .episodes.shorts span { margin-left: 12px; margin-right: 12px; }
+ .episodes.shorts small { font-size: 12px; letter-spacing: .02em; }
+ ::selection { background: var(--accent); color: var(--paper); }
main h2 { margin: 48px 0 0; font: 700 28px/1.2 var(--serif); }
main h2 + p { margin: 4px 0 0; color: var(--soft); }
.watched small::after { content: " · ✓ watched"; color: var(--accent); }
- @media (max-width: 760px) { header { grid-template-columns: 1fr; padding-top: 28px; } .episodes { grid-template-columns: 1fr; } .episodes.shorts { grid-template-columns: 1fr 1fr; } }
+ @media (max-width: 760px) { header { grid-template-columns: 1fr; padding-top: 8px; } .episodes { grid-template-columns: 1fr; } .episodes.shorts { grid-template-columns: 1fr 1fr; } }
.credits { max-width: 1100px; margin: 40px auto 60px; padding: 0 24px; color: var(--soft); font-size: 14px; line-height: 1.6; }
.credits h2 { font: 600 20px/1.3 var(--serif); color: inherit; } .credits h3 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 18px 0 6px; }
.credits ul { margin: 0; padding-left: 18px; columns: 2 340px; } .credits a { color: inherit; }
</style>
</head>
<body>
+<nav class="back"><a href="../">← Bookshelf</a></nav>
<header>
<img src="img/cover.webp" width="1400" height="788" alt="The six fools of the film in a row, from a 1494 woodcut to Van Gogh, under the walled title Madness and Civilization.">
<div>
diff --git a/site/pandemic-scroll/index.html b/site/pandemic-scroll/index.html
index 13a6e02..578116c 100644
--- a/site/pandemic-scroll/index.html
+++ b/site/pandemic-scroll/index.html
@@ -6,6 +6,7 @@
<title>The Pandemic</title>
<meta name="description" content="COVID-19 from Wuhan to the waves and the count: a scroll story recut from Papermorph's documentary.">
<link rel="stylesheet" href="lib/scroll.css">
+<style>/* the film red, one step darker so small red text reads on the paper (4.7:1) */ :root { --red: #c4321f; }</style>
</head>
<body>
<div class="progress" aria-hidden="true"><i></i></div>
diff --git a/site/pandemic/index.html b/site/pandemic/index.html
index c302074..894f84c 100644
--- a/site/pandemic/index.html
+++ b/site/pandemic/index.html
@@ -8,25 +8,28 @@
<link rel="stylesheet" href="lib/fonts.css">
<link rel="stylesheet" href="lib/book.css"><!-- only for --progress-key, if the book sets one -->
<style>
- :root { --ink: #2b2520; --soft: #6a6258; --paper: #ece3cd; --card: #f6f1e4; --line: #d8ccb2; --accent: #e5402f; --night: #15171c;
+ :root { --ink: #2b2520; --soft: #6a6258; --paper: #ece3cd; --card: #f6f1e4; --line: #d8ccb2; --accent: #e5402f; --accent-text: #b8301f; --accent-on-night: #f0563f; --night: #15171c;
--ui: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif; --serif: "EB Garamond", "Iowan Old Style", Palatino, Georgia, serif;
--key: "Oswald", "Avenir Next Condensed", "Arial Narrow", sans-serif; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 19px/1.62 var(--serif); }
a { color: inherit; }
+ a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
+ ::selection { background: var(--accent); color: #fff; }
.top { background: var(--night); color: #f3ede0; }
- .top nav { max-width: 1180px; margin: 0 auto; padding: 18px 24px 0; font: 500 14px/1 var(--key); letter-spacing: .14em; text-transform: uppercase; }
- .top nav a { color: #d9b9b0; text-decoration: none; }
+ .top nav { max-width: 1180px; margin: 0 auto; padding: 10px 24px 0; font: 500 14px/1 var(--key); letter-spacing: .14em; text-transform: uppercase; }
+ .top nav a { color: #d9b9b0; text-decoration: none; display: inline-block; padding: 8px 0; }
+ .top nav a:hover { color: #f3ede0; }
header { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 28px 24px 52px; }
header .film { position: relative; display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 50px #0008; }
header .film img { display: block; width: 100%; height: auto; }
- header .film span { position: absolute; left: 18px; bottom: 16px; padding: 10px 18px; background: var(--accent); color: #fff; font: 600 16px/1 var(--key); letter-spacing: .12em; text-transform: uppercase; }
- header .film:hover span, header .film:focus-visible span { background: #c8301f; }
- .kicker { margin: 0 0 6px; color: var(--accent); font: 500 14px/1.2 var(--key); letter-spacing: .16em; text-transform: uppercase; }
+ header .film span { position: absolute; left: 18px; bottom: 16px; padding: 10px 18px; background: #c8301f; color: #fff; font: 600 16px/1 var(--key); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
+ header .film:hover span, header .film:focus-visible span { background: #a8271a; }
+ .kicker { margin: 0 0 6px; color: var(--accent-on-night); font: 500 14px/1.2 var(--key); letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0 0 10px; font: 600 clamp(40px, 5.4vw, 66px)/1 var(--key); letter-spacing: .02em; text-transform: uppercase; }
.lede { margin: 0 0 14px; font-size: 21px; color: #e6dccb; }
.meta { margin: 0; color: #b3a99a; font: 15px/1.5 var(--ui); }
- .watched .meta::after { content: " · ✓ watched"; color: var(--accent); }
+ .watched .meta::after { content: " · ✓ watched"; color: var(--accent-on-night); }
main { max-width: 760px; margin: 0 auto; padding: 24px 24px 40px; }
main h2 { margin: 56px 0 8px; font: 600 26px/1.2 var(--key); letter-spacing: .06em; text-transform: uppercase; }
main h2:first-child { margin-top: 32px; }
@@ -41,7 +44,7 @@
.numbers div { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; }
.numbers b { display: block; font: 600 30px/1.1 var(--key); color: var(--accent); }
.numbers span { font: 14px/1.4 var(--ui); color: var(--soft); }
- code { font-size: .86em; background: #e2d7bd; padding: 1px 5px; border-radius: 3px; }
+ code { font-size: .86em; color: var(--ink); background: #e2d7bd; padding: 1px 5px; border-radius: 3px; }
.credits { max-width: 1000px; margin: 20px auto 70px; padding: 0 24px; color: var(--soft); font: 14px/1.6 var(--ui); }
.credits h2 { font: 600 20px/1.3 var(--key); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.credits h3 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 18px 0 6px; color: var(--ink); }
@@ -56,14 +59,14 @@
.shorts small { margin: 10px 12px 0; color: var(--soft); font: 600 12px/1.3 var(--ui); letter-spacing: .04em; text-transform: uppercase; }
.shorts b { margin: 2px 12px 4px; font: 600 19px/1.2 var(--key); letter-spacing: .03em; text-transform: uppercase; }
.shorts span { margin: 0 12px 12px; color: var(--soft); font: 14px/1.45 var(--ui); }
- .shorts .watched small::after { content: " · ✓ watched"; color: var(--accent); }
+ .shorts .watched small::after { content: " · ✓ watched"; color: var(--accent-text); }
.shorts .story { display: grid; grid-template-columns: 3fr 2fr; margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.shorts .story:hover, .shorts .story:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.shorts .story img { display: block; width: 100%; height: 100%; aspect-ratio: 1000 / 625; object-fit: cover; }
.shorts .story div { display: flex; flex-direction: column; justify-content: center; padding: 20px 24px; }
.shorts .story b { margin: 0; font: 600 22px/1.2 var(--key); letter-spacing: .03em; text-transform: uppercase; }
.shorts .story span { margin: 6px 0 0; color: var(--soft); font: 15px/1.5 var(--ui); }
- .shorts .story i { margin-top: 12px; color: var(--accent); font: 600 14px/1.3 var(--ui); font-style: normal; }
+ .shorts .story i { margin-top: 12px; color: var(--accent-text); font: 600 14px/1.3 var(--ui); font-style: normal; }
@media (max-width: 1000px) { .shorts ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { figure { margin: 22px 0; } figcaption { margin: 8px 0 0; } }
@media (max-width: 760px) { header { grid-template-columns: 1fr; gap: 24px; } header .film span { left: 10px; bottom: 10px; padding: 7px 11px; font-size: 13px; } .pair, .numbers { grid-template-columns: 1fr; } .shorts ul { grid-template-columns: 1fr 1fr; } .shorts .story { grid-template-columns: 1fr; } }
diff --git a/site/shooting-an-elephant/index.html b/site/shooting-an-elephant/index.html
index af66313..1960abd 100644
--- a/site/shooting-an-elephant/index.html
+++ b/site/shooting-an-elephant/index.html
@@ -13,11 +13,15 @@
--ui: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif; --serif: "Iowan Old Style", Palatino, Georgia, serif; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--ui); }
- header { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 48px 24px 24px; }
- header img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 14px 40px #4a33182e; }
+ header { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 1100px; margin: 0 auto; padding: 20px 24px 24px; }
+ header img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 14px 40px #0006; }
h1 { margin: 0 0 8px; font: 700 clamp(34px, 4.6vw, 56px)/1.05 var(--serif); }
.lede { font-size: 20px; color: var(--soft); }
- main { max-width: 1000px; margin: 0 auto; padding: 8px 24px 80px; }
+ main { max-width: 1100px; margin: 0 auto; padding: 8px 24px 40px; }
+ .back { max-width: 1100px; margin: 0 auto; padding: 14px 24px 0; font: 600 13px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; }
+ .back a { display: inline-block; padding: 10px 0; color: var(--soft); text-decoration: none; }
+ .back a:hover { color: var(--ink); }
+ a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.episodes { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.episodes a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
@@ -26,14 +30,16 @@
.episodes small { margin: 12px 16px 0; color: var(--soft); font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.episodes b { margin: 2px 16px 4px; font: 700 21px/1.25 var(--serif); }
.episodes span { margin: 0 16px 16px; color: var(--soft); font-size: 15px; line-height: 1.5; }
- .watched small::after { content: " · ✓ watched"; color: var(--accent); }
- @media (max-width: 760px) { header { grid-template-columns: 1fr; padding-top: 28px; } .episodes { grid-template-columns: 1fr; } }
+ .watched small::after { content: " · ✓ watched"; color: #ec7b6b; }
+ ::selection { background: var(--ink); color: var(--paper); }
+ @media (max-width: 760px) { header { grid-template-columns: 1fr; padding-top: 8px; } .episodes { grid-template-columns: 1fr; } }
.credits { max-width: 1100px; margin: 40px auto 60px; padding: 0 24px; color: var(--soft); font-size: 14px; line-height: 1.6; }
.credits h2 { font: 600 20px/1.3 var(--serif); color: inherit; } .credits h3 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 18px 0 6px; }
.credits ul { margin: 0; padding-left: 18px; columns: 2 340px; } .credits a { color: inherit; }
</style>
</head>
<body>
+<nav class="back"><a href="../">← Bookshelf</a></nav>
<header>
<img src="img/cover.webp" width="1400" height="788" alt="An elephant grazing in a flooded paddy field, in black and white.">
<div>
diff --git a/site/time-of-the-magicians/index.html b/site/time-of-the-magicians/index.html
index fb1be65..6b11067 100644
--- a/site/time-of-the-magicians/index.html
+++ b/site/time-of-the-magicians/index.html
@@ -6,6 +6,11 @@
<title>Time of the Magicians: Europe 1919–1929</title>
<meta name="description" content="A map of Europe, 1919 to 1929: follow Wittgenstein, Heidegger, Benjamin and Cassirer year by year.">
<link rel="stylesheet" href="lib/page.css">
+<style>
+ /* chrome only, over the map: the subtitle dark enough to read on the sea (4.5:1), and buttons a finger can hit on a touch screen */
+ #title span { color: #574c3d; }
+ @media (pointer: coarse) { #people button, .link { min-height: 32px; } }
+</style>
</head>
<body>
<main id="stage">