From 850c19facf6b618421f05e7825717a3d2670eb3a Mon Sep 17 00:00:00 2001 From: Lai Hung <19669099+phoduke@users.noreply.github.com> Date: Thu, 12 Nov 2026 13:26:04 +0700 Subject: [PATCH 01/18] feat(hugo): generate the Hugo theme's assets and add the theme metadata build-tokens.mjs writes the Hugo stylesheet, theme script, fonts, grain images and the example site's covers from design/. The Hugo image Dockerfile installs a sha256-checked official extended release. --- hugo/theme/LICENSE | 24 + hugo/theme/assets/readerly/css/readerly.css | 1402 +++++++++++++++++ hugo/theme/assets/readerly/js/theme.js | 88 ++ .../assets/covers/atlas-of-lost-rivers.svg | 11 + .../static/assets/covers/bell-foundry.svg | 11 + .../assets/covers/brightwater-recipe-box.svg | 11 + .../assets/covers/clockmakers-apprentice.svg | 11 + .../static/assets/covers/fen-lights.svg | 11 + .../static/assets/covers/fieldwork.svg | 11 + .../assets/covers/glass-cartographer.svg | 11 + .../assets/covers/lighthouse-letters.svg | 11 + .../assets/covers/long-way-to-halden.svg | 11 + .../assets/covers/map-of-quiet-places.svg | 11 + .../static/assets/covers/moth-season.svg | 11 + .../static/assets/covers/ninefold-bridge.svg | 11 + .../static/assets/covers/northern-ledger.svg | 11 + .../static/assets/covers/paper-moths.svg | 11 + .../static/assets/covers/quiet-arithmetic.svg | 11 + .../static/assets/covers/salt-orchard.svg | 11 + .../static/assets/covers/saltmarsh-hymns.svg | 11 + .../static/assets/covers/small-hours.svg | 11 + .../static/assets/covers/tide-ledger.svg | 11 + .../assets/covers/under-the-tamarind.svg | 11 + .../static/assets/covers/winter-pears.svg | 11 + .../static/assets/img/avatar-nora.svg | 8 + .../exampleSite/static/assets/img/favicon.svg | 1 + .../static/assets/img/portrait-isobel.svg | 10 + .../static/assets/img/still-life.svg | 18 + hugo/theme/go.mod | 3 + hugo/theme/hugo.toml | 11 + .../static/readerly/fonts/fraunces/OFL.txt | 93 ++ .../fraunces-latin-ext-standard-italic.woff2 | Bin 0 -> 71460 bytes .../fraunces-latin-ext-standard-normal.woff2 | Bin 0 -> 59388 bytes .../fraunces-latin-standard-italic.woff2 | Bin 0 -> 81520 bytes .../fraunces-latin-standard-normal.woff2 | Bin 0 -> 67304 bytes .../static/readerly/fonts/literata/OFL.txt | 93 ++ .../literata-latin-ext-standard-italic.woff2 | Bin 0 -> 91424 bytes .../literata-latin-ext-standard-normal.woff2 | Bin 0 -> 89668 bytes .../literata-latin-standard-italic.woff2 | Bin 0 -> 113180 bytes .../literata-latin-standard-normal.woff2 | Bin 0 -> 110080 bytes .../theme/static/readerly/img/cover-grain.svg | 1 + .../theme/static/readerly/img/paper-grain.svg | 1 + hugo/theme/theme.toml | 11 + tools/build-tokens.mjs | 15 + tools/hugo-dev/.gitignore | 2 + tools/hugo-dev/Dockerfile | 11 + 46 files changed, 2023 insertions(+) create mode 100644 hugo/theme/LICENSE create mode 100644 hugo/theme/assets/readerly/css/readerly.css create mode 100644 hugo/theme/assets/readerly/js/theme.js create mode 100644 hugo/theme/exampleSite/static/assets/covers/atlas-of-lost-rivers.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/bell-foundry.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/brightwater-recipe-box.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/clockmakers-apprentice.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/fen-lights.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/fieldwork.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/glass-cartographer.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/lighthouse-letters.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/long-way-to-halden.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/map-of-quiet-places.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/moth-season.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/ninefold-bridge.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/northern-ledger.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/paper-moths.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/quiet-arithmetic.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/salt-orchard.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/saltmarsh-hymns.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/small-hours.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/tide-ledger.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/under-the-tamarind.svg create mode 100644 hugo/theme/exampleSite/static/assets/covers/winter-pears.svg create mode 100644 hugo/theme/exampleSite/static/assets/img/avatar-nora.svg create mode 100644 hugo/theme/exampleSite/static/assets/img/favicon.svg create mode 100644 hugo/theme/exampleSite/static/assets/img/portrait-isobel.svg create mode 100644 hugo/theme/exampleSite/static/assets/img/still-life.svg create mode 100644 hugo/theme/go.mod create mode 100644 hugo/theme/hugo.toml create mode 100644 hugo/theme/static/readerly/fonts/fraunces/OFL.txt create mode 100644 hugo/theme/static/readerly/fonts/fraunces/fraunces-latin-ext-standard-italic.woff2 create mode 100644 hugo/theme/static/readerly/fonts/fraunces/fraunces-latin-ext-standard-normal.woff2 create mode 100644 hugo/theme/static/readerly/fonts/fraunces/fraunces-latin-standard-italic.woff2 create mode 100644 hugo/theme/static/readerly/fonts/fraunces/fraunces-latin-standard-normal.woff2 create mode 100644 hugo/theme/static/readerly/fonts/literata/OFL.txt create mode 100644 hugo/theme/static/readerly/fonts/literata/literata-latin-ext-standard-italic.woff2 create mode 100644 hugo/theme/static/readerly/fonts/literata/literata-latin-ext-standard-normal.woff2 create mode 100644 hugo/theme/static/readerly/fonts/literata/literata-latin-standard-italic.woff2 create mode 100644 hugo/theme/static/readerly/fonts/literata/literata-latin-standard-normal.woff2 create mode 100644 hugo/theme/static/readerly/img/cover-grain.svg create mode 100644 hugo/theme/static/readerly/img/paper-grain.svg create mode 100644 hugo/theme/theme.toml create mode 100644 tools/hugo-dev/.gitignore create mode 100644 tools/hugo-dev/Dockerfile diff --git a/hugo/theme/LICENSE b/hugo/theme/LICENSE new file mode 100644 index 0000000..5e3d69e --- /dev/null +++ b/hugo/theme/LICENSE @@ -0,0 +1,24 @@ +MIT License + +Copyright (c) 2026 List of Books + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +The fonts in static/readerly/fonts are licensed separately under the SIL Open Font +License 1.1; each font folder holds its OFL.txt. diff --git a/hugo/theme/assets/readerly/css/readerly.css b/hugo/theme/assets/readerly/css/readerly.css new file mode 100644 index 0000000..dc5420d --- /dev/null +++ b/hugo/theme/assets/readerly/css/readerly.css @@ -0,0 +1,1402 @@ +/* Readerly for Hugo. GENERATED by tools/build-tokens.mjs from design/assets/css. Do not edit. */ + +/* + * Readerly — bundled fonts, under the SIL Open Font License (OFL.txt beside each font) + * GENERATED from design/tokens.json by tools/build-tokens.mjs. Do not edit. + */ + +@font-face { + font-family: "Fraunces"; + font-style: normal; + font-weight: 100 900; + font-display: swap; + src: url("../fonts/fraunces/fraunces-latin-standard-normal.woff2") format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +@font-face { + font-family: "Fraunces"; + font-style: normal; + font-weight: 100 900; + font-display: swap; + src: url("../fonts/fraunces/fraunces-latin-ext-standard-normal.woff2") format("woff2"); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} + +@font-face { + font-family: "Fraunces"; + font-style: italic; + font-weight: 100 900; + font-display: swap; + src: url("../fonts/fraunces/fraunces-latin-standard-italic.woff2") format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +@font-face { + font-family: "Fraunces"; + font-style: italic; + font-weight: 100 900; + font-display: swap; + src: url("../fonts/fraunces/fraunces-latin-ext-standard-italic.woff2") format("woff2"); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} + +@font-face { + font-family: "Literata"; + font-style: normal; + font-weight: 200 900; + font-display: swap; + src: url("../fonts/literata/literata-latin-standard-normal.woff2") format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +@font-face { + font-family: "Literata"; + font-style: normal; + font-weight: 200 900; + font-display: swap; + src: url("../fonts/literata/literata-latin-ext-standard-normal.woff2") format("woff2"); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} + +@font-face { + font-family: "Literata"; + font-style: italic; + font-weight: 200 900; + font-display: swap; + src: url("../fonts/literata/literata-latin-standard-italic.woff2") format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +@font-face { + font-family: "Literata"; + font-style: italic; + font-weight: 200 900; + font-display: swap; + src: url("../fonts/literata/literata-latin-ext-standard-italic.woff2") format("woff2"); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} + +/* + * Readerly — design tokens + * --------------------------------------------------------------- + * GENERATED from design/tokens.json by tools/build-tokens.mjs. + * Edit tokens.json and rerun the script; do not edit this file. + * + * Porting map + * WordPress theme.json settings.color.palette -> --color-* + * settings.typography.fontFamilies -> --font-* + * settings.typography.fontSizes -> --size-* + * settings.spacing.spacingSizes -> --space-* + * settings.layout.contentSize/wideSize-> --width-* + * settings.custom -> "supporting values" + * Hugo / Jekyll / Ghost: copy this file as-is. + * + * Light ("Paper") is the default. Dark ("Lamplight") applies through + * prefers-color-scheme, and [data-theme="light" | "dark"] on overrides + * the system. Both modes use the same token names; only the values change. + */ + +:root { + color-scheme: light; + + /* Colour palette — light ("paper") */ + --color-base: #f6f1e7; /* page background: warm paper */ + --color-surface: #fcf9f3; /* cards, panels, inputs */ + --color-contrast: #2a241e; /* body text: warm ink (13.9:1 on base) */ + --color-muted: #675d52; /* meta, captions (5.6:1 on base) */ + --color-accent: #9e3d27; /* links, buttons, stars (5.9:1 on base) */ + --color-accent-2: #4a6650; /* status, tags: sage (5.6:1 on base) */ + --color-border: #ddd3c3; /* hairlines, dividers (decorative only) */ + + /* Font families (bundled in assets/fonts, SIL Open Font License) */ + --font-heading: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif; + --font-body: "Literata", "Iowan Old Style", "Palatino Linotype", Georgia, serif; + + /* Fluid font sizes: min at 360px wide, max at 1280px wide */ + --size-small: clamp(0.875rem, 0.8505rem + 0.1087vw, 0.9375rem); /* 14 -> 15px */ + --size-medium: clamp(1.0625rem, 1.0136rem + 0.2174vw, 1.1875rem); /* 17 -> 19px */ + --size-large: clamp(1.25rem, 1.1522rem + 0.4348vw, 1.5rem); /* 20 -> 24px */ + --size-x-large: clamp(1.625rem, 1.3804rem + 1.087vw, 2.25rem); /* 26 -> 36px */ + --size-xx-large: clamp(2.125rem, 1.587rem + 2.3913vw, 3.5rem); /* 34 -> 56px */ + + /* Spacing scale (4/8 rhythm; the larger steps breathe with the viewport) */ + --space-20: 0.5rem; /* 8px */ + --space-30: 1rem; /* 16px */ + --space-40: 1.5rem; /* 24px */ + --space-50: clamp(2rem, 1.8rem + 0.9vw, 2.5rem); /* 32 -> 40px */ + --space-60: clamp(2.5rem, 2rem + 2.2vw, 4rem); /* 40 -> 64px */ + --space-70: clamp(3.5rem, 2.6rem + 3.6vw, 6rem); /* 56 -> 96px */ + --space-80: clamp(4.5rem, 3rem + 6.2vw, 8rem); /* 72 -> 128px */ + + /* Layout widths */ + --width-content: 680px; + --width-wide: 1200px; + + /* Supporting values (theme.json settings.custom) */ + --line-height-body: 1.7; + --line-height-heading: 1.15; + --radius: 6px; + --radius-cover: 2px 4px 4px 2px; /* a book's spine edge is squarer */ + --border-width: 1px; + --duration: 200ms; + --easing: cubic-bezier(0.23, 1, 0.32, 1); +} + +/* Dark ("lamplight") — same names, independently chosen values. + Kept identical in both blocks below: system preference and explicit override. */ +@media (prefers-color-scheme: dark) { + :root:not([data-theme="light"]) { + color-scheme: dark; + --color-base: #1b1814; /* warm charcoal */ + --color-surface: #24201b; + --color-contrast: #eee6d8; /* 14.2:1 on base */ + --color-muted: #b3a795; /* 7.4:1 on base */ + --color-accent: #e59a7e; /* 8.0:1 on base */ + --color-accent-2: #9dbfa3; /* 9.1:1 on base */ + --color-border: #3a332b; + } +} + +:root[data-theme="dark"] { + color-scheme: dark; + --color-base: #1b1814; + --color-surface: #24201b; + --color-contrast: #eee6d8; + --color-muted: #b3a795; + --color-accent: #e59a7e; + --color-accent-2: #9dbfa3; + --color-border: #3a332b; +} + +/* + * Readerly — shared stylesheet + * --------------------------------------------------------------- + * Every colour, font, size, space and width comes from tokens.css. + * Sections map to blocks / partials when porting: + * 1. Layout primitives 6. Book components 11. Author site + * 2. Base & typography 7. Grid & shelf 12. Reading log + * 3. Layout helpers 8. Featured review 13. Archive & pagination + * 4. Header & nav 9. Single review 14. Not found + * 5. Buttons & forms 10. Comments 15. Footer + */ + +/* OD-LAYOUT-PRIMITIVES v1 — structure only: display, flex/grid, overflow, wrapping, ratio, geometry. + Put this @layer first; product CSS outside the layer wins ordinary layout rules. + Native hidden and closed-dialog states take precedence over component display rules. */ +@layer od-layout { + [hidden]:not([hidden="until-found" i]) { display: none !important; } + dialog:not([open]) { display: none !important; } + + :where(.od-stack,.od-row,.od-row-top,.od-cluster,.od-grid,.od-field,.od-stat,.od-cell,.od-tile) > :where(*) { min-width: 0; } + + .od-stack { display: flex; flex-direction: column; gap: var(--od-gap, 8px); } + .od-row { display: flex; align-items: center; gap: var(--od-gap, 8px); } + .od-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--od-gap, 8px); } + .od-fill { flex: 1 1 0; min-width: 0; } + .od-fixed { flex: none; } + + .od-stat, .od-field, .od-cell { display: grid; gap: var(--od-gap, 2px); } + :where(.od-stat,.od-field,.od-cell) > :where(*) { display: block; } + + .od-media { display: block; width: 100%; height: auto; aspect-ratio: var(--od-ratio, auto); } + + .od-icon { display: inline-block; inline-size: var(--od-icon-size, 1em); block-size: var(--od-icon-size, 1em); flex: none; } + + .od-clamp-2, .od-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; } + .od-clamp-2 { -webkit-line-clamp: 2; } + .od-clamp-3 { -webkit-line-clamp: 3; } + .od-nowrap { white-space: nowrap; } +} +:root [hidden]:where(:not([hidden="until-found" i])) { display: none; } +/* /OD-LAYOUT-PRIMITIVES v1 */ + + +/* 2. Base & typography ------------------------------------------ */ + +*, *::before, *::after { box-sizing: border-box; } + +html { + -webkit-text-size-adjust: 100%; + text-size-adjust: 100%; + scroll-padding-top: var(--space-40); +} + +body { + margin: 0; + background-color: var(--color-base); + background-image: url("../img/paper-grain.svg"); + color: var(--color-contrast); + font-family: var(--font-body); + font-size: var(--size-medium); + line-height: var(--line-height-body); + font-optical-sizing: auto; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; +} + +h1, h2, h3, h4 { + margin: 0; + font-family: var(--font-heading); + font-weight: 500; + line-height: var(--line-height-heading); + letter-spacing: -0.01em; + text-wrap: balance; +} +h1 { font-size: var(--size-xx-large); } +h2 { font-size: var(--size-x-large); } +h3 { font-size: var(--size-large); } +h4 { font-size: var(--size-medium); font-weight: 600; } + +p { margin: 0; text-wrap: pretty; } + +a { + color: var(--color-accent); + text-decoration-line: underline; + text-decoration-thickness: 1px; + text-underline-offset: 0.2em; + transition: text-decoration-thickness var(--duration) var(--easing); +} +a:hover { text-decoration-thickness: 2px; } + +:focus-visible { + outline: 2px solid var(--color-accent); + outline-offset: 3px; + border-radius: 2px; +} + +img, svg { max-width: 100%; } +img { display: block; height: auto; } + +hr, .separator { + height: 0; + margin: var(--space-60) auto; + border: 0; + border-top: var(--border-width) solid var(--color-border); +} +.separator--ornament { + width: 100%; + max-width: 8rem; + border: 0; + text-align: center; + height: auto; +} +.separator--ornament::before { + content: "\2042"; /* asterism */ + color: var(--color-muted); + font-family: var(--font-heading); + font-size: var(--size-large); +} + +ul, ol { margin: 0; padding-left: 1.25em; } +li + li { margin-top: var(--space-20); } + +blockquote { margin: 0; } + +figure { margin: 0; } +figcaption { + margin-top: var(--space-20); + color: var(--color-muted); + font-size: var(--size-small); +} + +small, .has-small-font-size { font-size: var(--size-small); } + +.visually-hidden { + position: absolute !important; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0 0 0 0); + white-space: nowrap; + border: 0; +} + +.skip-link { + position: absolute; + top: var(--space-20); + left: var(--space-20); + z-index: 10; + padding: var(--space-20) var(--space-30); + background: var(--color-contrast); + color: var(--color-base); + font-size: var(--size-small); + text-decoration: none; + border-radius: var(--radius); + transform: translateY(-200%); +} +.skip-link:focus { transform: none; } + +.eyebrow { + display: block; + color: var(--color-accent-2); + font-family: var(--font-body); + font-size: var(--size-small); + font-weight: 600; + letter-spacing: 0.08em; + text-transform: uppercase; + line-height: 1.4; +} + +.lead { + font-size: var(--size-large); + line-height: 1.55; +} + +.muted { color: var(--color-muted); } + + +/* 3. Layout helpers --------------------------------------------- */ + +.wrap { + width: 100%; + max-width: calc(var(--width-wide) + 2 * var(--space-40)); + margin-inline: auto; + padding-inline: var(--space-40); +} +.wrap--content { max-width: calc(var(--width-content) + 2 * var(--space-40)); } + +@media (max-width: 480px) { + .wrap { padding-inline: var(--space-30); } + .wrap--content { max-width: calc(var(--width-content) + 2 * var(--space-30)); } +} + +.section { padding-block: var(--space-70); } +.section--tight { padding-block: var(--space-60); } +.section + .section { padding-top: 0; } +.section--band { + background-color: var(--color-surface); + border-block: var(--border-width) solid var(--color-border); +} +.section + .section--band, .section--band + .section { padding-top: var(--space-70); } + +.section-head { + display: flex; + flex-wrap: wrap; + align-items: baseline; + justify-content: space-between; + gap: var(--space-20) var(--space-40); + margin-bottom: var(--space-50); + padding-bottom: var(--space-30); + border-bottom: var(--border-width) solid var(--color-border); +} +.section-head p { color: var(--color-muted); font-size: var(--size-small); } + +.more-link { + display: inline-flex; + align-items: center; + gap: 0.35em; + font-size: var(--size-small); + font-weight: 600; + text-decoration: none; +} +.more-link:hover { text-decoration: underline; } + +/* Columns block: stacks below 768px */ +.columns { + display: grid; + grid-template-columns: minmax(0, 1fr); + gap: var(--space-50); +} +@media (min-width: 768px) { + .columns--equal { grid-template-columns: repeat(2, minmax(0, 1fr)); } + .columns--1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } + .columns--2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } + .columns--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); } + .columns--center { align-items: center; } +} + +/* Flow spacing for stacked text groups */ +.flow > * + * { margin-top: var(--space-30); } +.flow-lg > * + * { margin-top: var(--space-40); } + + +/* 4. Header & nav ----------------------------------------------- */ + +.site-header { + border-bottom: var(--border-width) solid var(--color-border); +} + +.site-header__bar { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: space-between; + gap: var(--space-30) var(--space-40); + padding-block: var(--space-40) var(--space-30); +} + +.site-branding { min-width: 0; } + +.site-title { + font-family: var(--font-heading); + font-size: var(--size-x-large); + font-weight: 500; + line-height: 1.1; + letter-spacing: -0.015em; +} +.site-title a { color: var(--color-contrast); text-decoration: none; } +.site-title a:hover { color: var(--color-accent); } + +.site-tagline { + margin-top: 0.25em; + color: var(--color-muted); + font-size: var(--size-small); + font-style: italic; +} + +.site-tools { + display: flex; + align-items: center; + gap: var(--space-20); + flex: 0 1 22rem; + min-width: 0; +} +@media (max-width: 640px) { + .site-tools { flex-basis: 100%; } +} +.site-tools--compact { flex: none; } +@media (max-width: 640px) { + .site-tools--compact { flex-basis: auto; } +} + +/* Site nav wraps instead of scrolling, so no label is ever clipped */ +.site-nav ul { + display: flex; + flex-wrap: wrap; + gap: 0 var(--space-40); + margin: 0; + padding: 0 0 var(--space-30); + list-style: none; +} +.site-nav li { margin: 0; } +@media (max-width: 480px) { + .site-nav ul { column-gap: var(--space-30); } +} +.site-nav a { + display: inline-block; + padding-block: var(--space-20); + color: var(--color-contrast); + font-size: var(--size-small); + font-weight: 500; + text-decoration: none; + border-bottom: 2px solid transparent; + transition: border-color var(--duration) var(--easing), color var(--duration) var(--easing); +} +.site-nav a:hover { color: var(--color-accent); border-bottom-color: var(--color-border); } +.site-nav a[aria-current="page"] { + color: var(--color-accent); + border-bottom-color: var(--color-accent); +} + +.icon-button { + display: inline-grid; + place-items: center; + flex: none; + width: 44px; + height: 44px; + padding: 0; + border: var(--border-width) solid var(--color-border); + border-radius: var(--radius); + background: var(--color-surface); + color: var(--color-contrast); + cursor: pointer; + --od-icon-size: 1.25rem; + transition: border-color var(--duration) var(--easing), color var(--duration) var(--easing); +} +.icon-button:hover { border-color: var(--color-contrast); color: var(--color-accent); } + +.theme-toggle .icon-sun { display: none; } +.theme-toggle[aria-pressed="true"] .icon-sun { display: inline-block; } +.theme-toggle[aria-pressed="true"] .icon-moon { display: none; } + + +/* 5. Buttons & forms -------------------------------------------- */ + +.buttons { + display: flex; + flex-wrap: wrap; + gap: var(--space-20) var(--space-30); +} + +.button { + display: inline-flex; + align-items: center; + justify-content: center; + gap: 0.5em; + min-height: 44px; + padding: 0.5em 1.25em; + border: var(--border-width) solid var(--color-accent); + border-radius: var(--radius); + background: var(--color-accent); + color: var(--color-base); + font-family: var(--font-body); + font-size: var(--size-small); + font-weight: 600; + line-height: 1.2; + text-decoration: none; + cursor: pointer; + transition: background-color var(--duration) var(--easing), border-color var(--duration) var(--easing), color var(--duration) var(--easing); +} +.button:hover { + background: var(--color-contrast); + border-color: var(--color-contrast); + color: var(--color-base); +} +.button--outline { + background: transparent; + border-color: var(--color-contrast); + color: var(--color-contrast); +} +.button--outline:hover { + background: var(--color-contrast); + color: var(--color-base); +} +.button:disabled, .button[aria-disabled="true"] { + background: var(--color-border); + border-color: var(--color-border); + color: var(--color-muted); + cursor: not-allowed; +} + +.field { display: grid; gap: var(--space-20); } +.field + .field { margin-top: var(--space-30); } + +label, .label { + font-size: var(--size-small); + font-weight: 600; +} +.label-note { color: var(--color-muted); font-weight: 400; } + +.input, textarea.input { + width: 100%; + min-height: 44px; + padding: 0.55em 0.85em; + border: var(--border-width) solid var(--color-muted); + border-radius: var(--radius); + background: var(--color-surface); + color: var(--color-contrast); + font: inherit; + font-size: var(--size-medium); + line-height: 1.4; +} +textarea.input { min-height: 8rem; resize: vertical; } +.input::placeholder { color: var(--color-muted); opacity: 1; } +.input:focus-visible { outline-offset: 1px; border-color: var(--color-accent); } + +.search-form { + display: flex; + flex: 1 1 auto; + min-width: 0; +} +.search-form .input { + flex: 1 1 auto; + min-width: 0; + border-right: 0; + border-radius: var(--radius) 0 0 var(--radius); + font-size: var(--size-small); +} +.search-form .icon-button { + border-color: var(--color-muted); + border-radius: 0 var(--radius) var(--radius) 0; +} + +.form-status:empty { display: none; } +.form-status { + margin-top: var(--space-30); + color: var(--color-accent-2); + font-size: var(--size-small); + font-weight: 600; +} + + +/* 6. Book components -------------------------------------------- */ + +/* Cover image: always the full 2:3 frame, never cropped */ +.cover { + display: block; + width: 100%; + height: auto; + border-radius: var(--radius-cover); + --cover-edge: 0 0 0 0 transparent; + box-shadow: var(--cover-edge), 0 1px 2px rgb(42 36 30 / 0.18), 0 6px 14px -8px rgb(42 36 30 / 0.35); +} + +/* Dark mode: a faint 1px edge keeps dark covers from dissolving into the page */ +@media (prefers-color-scheme: dark) { + :root:not([data-theme="light"]) .cover { --cover-edge: 0 0 0 1px color-mix(in srgb, var(--color-contrast) 24%, transparent); } +} +:root[data-theme="dark"] .cover { --cover-edge: 0 0 0 1px color-mix(in srgb, var(--color-contrast) 24%, transparent); } + +/* CSS-only fallback cover for books without an image. + Mirrors the SVG covers (400 x 600): title from the top at 46/400 of the width, + author in spaced capitals near the foot, spine shading and the same grain. */ +.cover--placeholder { + container-type: inline-size; + display: flex; + flex-direction: column; + justify-content: space-between; + aspect-ratio: 2 / 3; + padding: 16% 9% 12%; + background-color: var(--color-accent-2); + background-image: + linear-gradient(90deg, rgb(0 0 0 / 0.14) 0 3%, rgb(255 255 255 / 0.12) 3% 3.5%, transparent 3.5%), + url("../img/cover-grain.svg"); + background-size: 100% 100%, 100% 100%; + color: var(--color-base); + font-family: var(--font-heading); + text-align: center; +} +.cover--placeholder strong { + font-size: 1.6rem; + font-size: 11.5cqi; + font-weight: 500; + line-height: 1.12; + letter-spacing: 0.01em; + text-wrap: balance; +} +.cover--placeholder span { + font-size: 0.6rem; + font-size: 4.25cqi; + letter-spacing: 0.2em; + line-height: 1.2; + text-transform: uppercase; +} + +.cover-link { + display: block; + transition: transform var(--duration) var(--easing); +} +.cover-link:hover { transform: translateY(-3px); } + +/* Star rating — set --rating (0–5, halves allowed) */ +.rating { + --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.8 6 6.5.7-4.9 4.4 1.4 6.4L12 16.8 6.2 20.1l1.4-6.4L2.7 9.3l6.5-.7z'/%3E%3C/svg%3E"); + display: inline-block; + flex: none; + width: 5.5em; + height: 1.1em; + font-size: 1rem; + vertical-align: -0.15em; + background: linear-gradient(90deg, var(--color-accent) calc(var(--rating, 0) / 5 * 100%), var(--color-border) 0); + -webkit-mask: var(--star) 0 0 / 1.1em 1.1em repeat-x; + mask: var(--star) 0 0 / 1.1em 1.1em repeat-x; +} +.rating--large { font-size: 1.375rem; } +.rating-line { + display: flex; + flex-wrap: wrap; + align-items: center; + gap: var(--space-20); + font-size: var(--size-small); + color: var(--color-muted); +} + +/* Status badge — text label is always present, colour only reinforces */ +.badge { + display: inline-flex; + align-items: center; + gap: 0.4em; + padding: 0.2em 0.6em; + border: var(--border-width) solid currentColor; + border-radius: var(--radius); + font-size: 0.8125rem; + font-weight: 600; + line-height: 1.4; + white-space: nowrap; +} +.badge::before { + content: ""; + width: 0.5em; + height: 0.5em; + border: 1.5px solid currentColor; + border-radius: 50%; +} +.badge--reading { color: var(--color-accent-2); } +.badge--reading::before { background: currentColor; } +.badge--read { background: var(--color-accent-2); border-color: var(--color-accent-2); color: var(--color-base); } +.badge--read::before { border-radius: 1px; background: currentColor; } +.badge--want { color: var(--color-muted); border-style: dashed; } +.badge--dnf { color: var(--color-accent); } +.badge--dnf::before { border-radius: 0; width: 0.6em; height: 0; border-width: 1.5px 0 0; } + +/* Book card — full (grid tile) */ +.book-card { + display: grid; + grid-template-rows: auto 1fr; + gap: var(--space-30); + min-width: 0; +} +.book-card__body { display: grid; align-content: start; gap: var(--space-20); min-width: 0; } +.book-card__title { + font-size: var(--size-large); + line-height: 1.2; +} +.book-card__title a { color: var(--color-contrast); text-decoration: none; } +.book-card__title a:hover { color: var(--color-accent); text-decoration: underline; text-decoration-thickness: 1px; } +.book-card__author { color: var(--color-muted); font-size: var(--size-small); } +.book-card__excerpt { font-size: var(--size-small); line-height: 1.6; } +.book-card__meta { + color: var(--color-muted); + font-size: var(--size-small); +} + +/* Book card — compact (row: small cover + details) */ +.book-card--compact { + grid-template-rows: none; + grid-template-columns: 4.5rem minmax(0, 1fr); + align-items: start; + gap: var(--space-30); +} +.book-card--compact .book-card__title { font-size: var(--size-medium); font-weight: 600; } +.book-card--compact .book-card__body { gap: 0.35rem; } +.book-card--compact .rating-line { margin-top: 0.25rem; } + +/* Reading progress */ +.progress { display: grid; gap: 0.35rem; margin-top: var(--space-20); } +.progress progress { + -webkit-appearance: none; + appearance: none; + width: 100%; + height: 6px; + border: 0; + border-radius: 3px; + background: var(--color-border); + color: var(--color-accent-2); + overflow: hidden; +} +.progress progress::-webkit-progress-bar { background: var(--color-border); } +.progress progress::-webkit-progress-value { background: var(--color-accent-2); } +.progress progress::-moz-progress-bar { background: var(--color-accent-2); } +.progress__label { + display: flex; + justify-content: space-between; + gap: var(--space-20); + color: var(--color-muted); + font-size: var(--size-small); +} + + +/* 7. Book grid & horizontal shelf ------------------------------- */ + +/* Query-loop style grid */ +.book-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); + gap: var(--space-60) var(--space-50); + margin: 0; + padding: 0; + list-style: none; +} +.book-grid > li { display: grid; margin: 0; } + +/* Fixed four-up grid: 2 columns on small screens, 4 from 900px */ +.book-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } +@media (min-width: 900px) { + .book-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } +} +.book-grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: var(--space-40) var(--space-50); } +.book-grid--narrow-covers .book-card__cover { max-width: 12rem; } +@media (max-width: 480px) { + .book-grid--four { gap: var(--space-50) var(--space-30); } + .book-grid--four .book-card:not(.book-card--author) .book-card__excerpt { display: none; } +} + +/* List variant: same cards, cover beside text */ +.book-grid--list { grid-template-columns: minmax(0, 1fr); gap: 0; } +.book-grid--list > li { padding-block: var(--space-50); border-bottom: var(--border-width) solid var(--color-border); } +.book-grid--list > li:first-child { padding-top: 0; } +.book-grid--list .book-card { + grid-template-rows: none; + grid-template-columns: 6rem minmax(0, 1fr); + gap: var(--space-40); +} +@media (min-width: 768px) { + .book-grid--list .book-card { grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-50); } + .book-grid--list .book-card__excerpt { font-size: var(--size-medium); } +} + +/* Horizontal shelf: covers stand on a continuous ledge */ +.shelf { + --shelf-pad: var(--space-30); + display: flex; + margin: 0; + padding: 0 0 var(--space-30); + list-style: none; + overflow-x: auto; + scroll-snap-type: x proximity; + scrollbar-width: thin; + scrollbar-color: var(--color-border) transparent; +} +.shelf > li { + flex: none; + width: calc(9rem + 2 * var(--shelf-pad)); + margin: 0; + padding-inline: var(--shelf-pad); + scroll-snap-align: start; +} +.shelf > li:first-child { padding-left: 0; width: calc(9rem + var(--shelf-pad)); } +.shelf .book-card--compact { + grid-template-columns: minmax(0, 1fr); + gap: var(--space-30); +} +.shelf .book-card__cover { + margin-inline: calc(-1 * var(--shelf-pad)); + padding: 0 var(--shelf-pad) var(--space-20); + border-bottom: 6px solid var(--color-border); +} +.shelf > li:first-child .book-card__cover { margin-left: 0; padding-left: 0; } +.shelf .book-card__title { font-size: var(--size-small); } +.shelf:focus-visible { outline-offset: 6px; } + + +/* 8. Intro & featured review ------------------------------------ */ + +.intro { + display: grid; + gap: var(--space-40); + max-width: 52rem; +} +.intro h1 { font-size: var(--size-xx-large); font-weight: 400; } +.intro h1 em { color: var(--color-accent); font-style: italic; } + +.feature { + display: grid; + gap: var(--space-50); + padding: var(--space-50); + background: var(--color-surface); + border: var(--border-width) solid var(--color-border); + border-radius: var(--radius); +} +@media (min-width: 768px) { + .feature { + grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr); + align-items: center; + padding: var(--space-60); + gap: var(--space-60); + } +} +@media (max-width: 767px) { + .feature .cover-link { max-width: 14rem; } +} +.feature__body { display: grid; gap: var(--space-30); justify-items: start; } +.feature__title { font-size: var(--size-xx-large); } +.feature__title a { color: var(--color-contrast); text-decoration: none; } +.feature__title a:hover { color: var(--color-accent); } + +/* Table-of-contents list with dotted leaders (categories) */ +.toc { + margin: 0; + padding: 0; + list-style: none; + columns: 2 16rem; + column-gap: var(--space-60); +} +.toc li { margin: 0; break-inside: avoid; } +.toc a { + display: flex; + align-items: baseline; + gap: var(--space-20); + min-height: 44px; + padding-block: var(--space-20); + color: var(--color-contrast); + text-decoration: none; +} +.toc a::after { + content: ""; + order: 1; + flex: 1 1 auto; + border-bottom: 1px dotted var(--color-muted); + transform: translateY(-0.3em); +} +.toc__name { font-family: var(--font-heading); font-size: var(--size-large); } +.toc__count { order: 2; color: var(--color-muted); font-size: var(--size-small); font-variant-numeric: tabular-nums; } +.toc a:hover .toc__name { color: var(--color-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; } + +/* Tag chips */ +.tags { + display: flex; + flex-wrap: wrap; + gap: var(--space-20); + margin: 0; + padding: 0; + list-style: none; +} +.tags li { margin: 0; } +.tag { + display: inline-flex; + align-items: center; + min-height: 32px; + padding: 0.15em 0.7em; + border: var(--border-width) solid var(--color-border); + border-radius: var(--radius); + background: var(--color-surface); + color: var(--color-accent-2); + font-size: var(--size-small); + font-weight: 600; + text-decoration: none; +} +.tag:hover { border-color: var(--color-accent-2); } + +/* Newsletter */ +.newsletter { + display: grid; + gap: var(--space-40) var(--space-60); + align-items: end; +} +@media (min-width: 900px) { + .newsletter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } +} +.newsletter__intro { display: grid; gap: var(--space-30); } +.newsletter__form { display: grid; gap: var(--space-20); } +.newsletter__row { display: flex; flex-wrap: wrap; gap: var(--space-20); } +.newsletter__row .input { flex: 1 1 14rem; } +.newsletter__row .button { flex: 0 0 auto; } +.newsletter__note { margin-top: var(--space-20); color: var(--color-muted); font-size: var(--size-small); } + + +/* 9. Single review ---------------------------------------------- */ + +.entry-header { + display: grid; + gap: var(--space-30); + padding-top: var(--space-70); +} +.entry-meta { + display: flex; + flex-wrap: wrap; + gap: var(--space-20) var(--space-30); + color: var(--color-muted); + font-size: var(--size-small); +} +.entry-meta > * + *::before { + content: "\00B7"; + margin-right: var(--space-30); +} + +/* Book details panel */ +.book-panel { + display: grid; + grid-template-columns: 7rem minmax(0, 1fr); + gap: var(--space-40); + margin-block: var(--space-60); + padding: var(--space-40); + background: var(--color-surface); + border: var(--border-width) solid var(--color-border); + border-radius: var(--radius); +} +@media (min-width: 600px) { + .book-panel { grid-template-columns: 10rem minmax(0, 1fr); gap: var(--space-50); padding: var(--space-50); } +} +.book-panel__title { font-size: var(--size-large); } +.book-panel__author { color: var(--color-muted); font-size: var(--size-small); margin-top: 0.25rem; } +.details { + display: grid; + grid-template-columns: max-content minmax(0, 1fr); + gap: var(--space-20) var(--space-30); + margin: var(--space-30) 0 0; + font-size: var(--size-small); +} +.details dt { color: var(--color-muted); } +.details dd { margin: 0; } +@media (max-width: 420px) { + .details { grid-template-columns: minmax(0, 1fr); gap: 0; } + .details dd + dt { margin-top: var(--space-20); } +} + +/* Long-form body */ +.entry-content > * + * { margin-top: var(--space-40); } +.entry-content > h2 { margin-top: var(--space-60); } +.entry-content > h3 { margin-top: var(--space-50); } +.entry-content > :is(h2, h3) + * { margin-top: var(--space-30); } +.entry-content > p:first-child::first-letter { + float: left; + margin: 0.08em 0.1em 0 0; + color: var(--color-accent); + font-family: var(--font-heading); + font-size: 3.4em; + line-height: 0.85; +} +.entry-content figure img { border-radius: var(--radius); } + +.pullquote { + margin-block: var(--space-60); + padding-block: var(--space-40); + border-block: var(--border-width) solid var(--color-contrast); + text-align: center; +} +.pullquote p { + font-family: var(--font-heading); + font-size: var(--size-x-large); + font-style: italic; + font-weight: 400; + line-height: 1.3; + text-wrap: balance; +} +.pullquote cite { + display: block; + margin-top: var(--space-30); + color: var(--color-muted); + font-size: var(--size-small); + font-style: normal; + letter-spacing: 0.06em; + text-transform: uppercase; +} + +blockquote.quote { + padding-left: var(--space-40); + border-left: 2px solid var(--color-border); + font-style: italic; +} + +/* Verdict summary */ +.verdict { + display: grid; + gap: var(--space-40); + margin-block: var(--space-60); + padding: var(--space-50); + border: var(--border-width) solid var(--color-contrast); + border-radius: var(--radius); +} +.verdict__head { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: space-between; + gap: var(--space-20) var(--space-30); +} +.verdict__summary { font-family: var(--font-heading); font-size: var(--size-large); line-height: 1.35; } +.verdict__lists { display: grid; gap: var(--space-40); } +@media (min-width: 600px) { .verdict__lists { grid-template-columns: repeat(2, minmax(0, 1fr)); } } +.verdict__lists ul { font-size: var(--size-small); } +.verdict__lists h3 { font-size: var(--size-medium); margin-bottom: var(--space-20); } + +.rating-key { padding: 0; list-style: none; } +.rating-key li { + display: grid; + grid-template-columns: 7.5rem minmax(0, 1fr); + gap: var(--space-30); + align-items: baseline; +} +.figure-portrait img { max-width: 16rem; border-radius: 50%; } + +/* Author bio card */ +.bio-card { + margin-top: var(--space-60); + display: grid; + grid-template-columns: 5rem minmax(0, 1fr); + gap: var(--space-40); + align-items: start; + padding-block: var(--space-50); + border-block: var(--border-width) solid var(--color-border); +} +@media (min-width: 600px) { .bio-card { grid-template-columns: 7rem minmax(0, 1fr); } } +.bio-card img { border-radius: 50%; } +.bio-card__body { display: grid; gap: var(--space-20); } +.bio-card__name { font-size: var(--size-large); } +.bio-card p { font-size: var(--size-small); line-height: 1.65; } + + +/* 10. Comments -------------------------------------------------- */ + +.comments { padding-top: var(--space-60); } + +.comment-list, .comment-list ol { margin: 0; padding: 0; list-style: none; } +.comment-list > li { margin: 0; padding-block: var(--space-40); border-bottom: var(--border-width) solid var(--color-border); } +.comment-list ol { margin-top: var(--space-40); padding-left: var(--space-50); border-left: var(--border-width) solid var(--color-border); } +.comment-list ol li { margin: 0; } +.comment { + display: grid; + grid-template-columns: 2.75rem minmax(0, 1fr); + gap: var(--space-30); +} +.comment__body { display: grid; gap: var(--space-20); font-size: var(--size-small); line-height: 1.65; } +.comment__meta { display: flex; flex-wrap: wrap; gap: 0 var(--space-30); align-items: baseline; } +.comment__author { font-weight: 600; font-size: var(--size-small); } +.comment__date { color: var(--color-muted); font-size: 0.8125rem; } +.comment__reply { font-size: 0.8125rem; font-weight: 600; } + +.avatar { + display: grid; + place-items: center; + width: 2.75rem; + height: 2.75rem; + border-radius: 50%; + background: var(--color-accent-2); + color: var(--color-base); + font-family: var(--font-heading); + font-size: var(--size-small); + font-weight: 600; +} +.avatar--alt { background: var(--color-accent); } +.avatar--author { background: var(--color-contrast); } + +.comment-form { margin-top: var(--space-50); } +.comment-form .buttons { margin-top: var(--space-40); } + + +/* 11. Author site ----------------------------------------------- */ + +.author-hero { + display: grid; + gap: var(--space-50); + align-items: center; +} +@media (min-width: 768px) { + .author-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-70); } +} +.author-hero__portrait img { border-radius: var(--radius); width: 100%; } +@media (max-width: 767px) { .author-hero__portrait { max-width: 22rem; } } +.author-hero__body { display: grid; gap: var(--space-40); justify-items: start; } +.author-hero__body h1 { font-size: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); font-weight: 400; } + +.release { + display: grid; + gap: var(--space-50); + align-items: center; +} +@media (min-width: 768px) { + .release { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-70); } + .release__cover { order: 2; } +} +.release__cover { max-width: 22rem; width: 100%; justify-self: center; } +.release__body { display: grid; gap: var(--space-30); justify-items: start; } +.release__body h2 { font-size: var(--size-xx-large); } +.release__facts { color: var(--color-muted); font-size: var(--size-small); } + +.where-to-buy { + display: grid; + gap: var(--space-30); + margin-top: var(--space-60); + padding-top: var(--space-40); + border-top: var(--border-width) solid var(--color-border); +} +.where-to-buy ul { display: grid; gap: var(--space-20) var(--space-50); padding-left: 1.25em; font-size: var(--size-small); } +.where-to-buy li { margin: 0; } +@media (min-width: 768px) { .where-to-buy ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } } + +.book-grid--related { grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); } +/* Author book card: equal heights, actions pinned to the bottom on one row */ +.book-card--author .book-card__body { + display: flex; + flex-direction: column; + gap: var(--space-20); +} +.book-card__actions { + display: flex; + flex-wrap: wrap; + gap: var(--space-20); + margin-top: auto; + padding-top: var(--space-20); +} +.book-card__actions .button { padding-inline: 0.9em; white-space: nowrap; } + +.praise { + display: grid; + gap: var(--space-50); + margin: 0; + padding: 0; + list-style: none; +} +@media (min-width: 768px) { .praise { grid-template-columns: repeat(3, minmax(0, 1fr)); } } +.praise li { margin: 0; } +.praise figure { display: grid; gap: var(--space-30); padding-top: var(--space-30); border-top: 2px solid var(--color-contrast); } +.praise blockquote p { font-family: var(--font-heading); font-size: var(--size-large); font-style: italic; line-height: 1.4; } +.praise figcaption { margin: 0; } +.praise figcaption strong { display: block; color: var(--color-contrast); font-size: var(--size-small); } + +.events { margin: 0; padding: 0; list-style: none; } +.events li { margin: 0; } +.event { + display: grid; + grid-template-columns: 4.5rem minmax(0, 1fr); + gap: var(--space-40); + align-items: center; + padding-block: var(--space-40); + border-bottom: var(--border-width) solid var(--color-border); +} +.events li:first-child .event { border-top: var(--border-width) solid var(--color-border); } +@media (min-width: 640px) { + .event { grid-template-columns: 5rem minmax(0, 1fr) auto; } +} +@media (max-width: 639px) { + .event .button { grid-column: 2; justify-self: start; } +} +.event__date { + display: grid; + justify-items: center; + align-self: start; + padding: var(--space-20); + border: var(--border-width) solid var(--color-contrast); + border-radius: var(--radius); + line-height: 1.1; +} +.event__day { font-family: var(--font-heading); font-size: var(--size-x-large); } +.event__month { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; } +.event__title { font-size: var(--size-large); } +.event__where { color: var(--color-muted); font-size: var(--size-small); } + + +/* 12. Reading log ----------------------------------------------- */ + +.stats { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); + gap: var(--space-40); + margin: 0; + padding: var(--space-40) 0 0; + list-style: none; + border-top: var(--border-width) solid var(--color-border); +} +.stats li { margin: 0; } +.intro + .stats { margin-top: var(--space-50); } +.stats .od-stat { gap: 0.25rem; } +.stats__number { + font-family: var(--font-heading); + font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); + line-height: 1; + white-space: nowrap; + font-variant-numeric: lining-nums; +} +.stats__label { color: var(--color-muted); font-size: var(--size-small); } + +.shelf-section + .shelf-section { margin-top: var(--space-70); } +.shelf-section .section-head { margin-bottom: var(--space-40); } +.count { color: var(--color-muted); font-family: var(--font-body); font-size: var(--size-small); font-weight: 400; } + + + +/* 13. Archive & pagination -------------------------------------- */ + +.archive-header { + display: grid; + gap: var(--space-30); + padding-block: var(--space-70) var(--space-50); +} +.archive-header p { color: var(--color-muted); } + +.search-note { + margin-bottom: var(--space-50); + padding: var(--space-30) var(--space-40); + background: var(--color-surface); + border: var(--border-width) solid var(--color-border); + border-radius: var(--radius); + font-size: var(--size-small); +} + +.pagination { margin-top: var(--space-60); } +.pagination ul { + display: flex; + flex-wrap: wrap; + justify-content: center; + align-items: center; + gap: var(--space-20); + margin: 0; + padding: 0; + list-style: none; +} +.pagination li { margin: 0; } +.pagination li > a, .pagination li > span { + display: inline-grid; + place-items: center; + min-width: 44px; + min-height: 44px; + padding-inline: var(--space-30); + border: var(--border-width) solid transparent; + border-radius: var(--radius); + color: var(--color-contrast); + font-size: var(--size-small); + text-decoration: none; +} +.pagination li > a:hover { border-color: var(--color-contrast); } +.pagination [aria-current="page"] { + background: var(--color-contrast); + color: var(--color-base); + font-weight: 600; +} +.pagination .pagination__dir { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; } +.pagination .is-disabled { color: var(--color-muted); font-weight: 400; } + + +/* 14. Not found ------------------------------------------------- */ + +.not-found { + display: grid; + gap: var(--space-40); + justify-items: start; + padding-block: var(--space-80) var(--space-60); +} +.not-found__code { + font-family: var(--font-heading); + font-size: clamp(5rem, 3rem + 10vw, 10rem); + font-weight: 300; + font-style: italic; + line-height: 0.9; + color: var(--color-accent); +} +.not-found .search-form { width: 100%; max-width: 32rem; } +.not-found .search-form .input { font-size: var(--size-medium); } +.not-found .search-form .icon-button { width: auto; padding-inline: var(--space-40); gap: var(--space-20); display: inline-flex; font: inherit; font-size: var(--size-small); font-weight: 600; } + + +/* 15. Footer ---------------------------------------------------- */ + +/* Pages that end in plain content get one section of breathing room; + pages that end in a section already carry their own bottom padding. */ +main > :last-child:not(.section) { margin-bottom: var(--space-70); } +main:has(> .section--band:last-child) + .site-footer { border-top: 0; } + +.site-footer { + margin-top: 0; + padding-block: var(--space-60) var(--space-40); + border-top: var(--border-width) solid var(--color-border); + font-size: var(--size-small); +} +.site-footer__grid { + display: grid; + gap: var(--space-50); +} +@media (min-width: 768px) { + .site-footer__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); } +} +.site-footer h2 { + margin-bottom: var(--space-30); + font-family: var(--font-body); + font-size: var(--size-small); + font-weight: 600; + letter-spacing: 0.08em; + text-transform: uppercase; + color: var(--color-muted); +} +.site-footer .site-title { font-size: var(--size-large); margin-bottom: var(--space-20); } +.site-footer p { color: var(--color-muted); max-width: 32rem; } +.footer-links { margin: 0; padding: 0; list-style: none; } +.footer-links li + li { margin-top: 0.25rem; } +.footer-links a { color: var(--color-contrast); text-decoration: none; display: inline-block; padding-block: 0.3rem; } +.footer-links a:hover { color: var(--color-accent); text-decoration: underline; } +.site-footer__bottom { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + gap: var(--space-20) var(--space-40); + margin-top: var(--space-60); + padding-top: var(--space-40); + border-top: var(--border-width) solid var(--color-border); + color: var(--color-muted); +} +.site-footer__bottom a { color: var(--color-muted); } +.site-footer__bottom a:hover { color: var(--color-contrast); } + + +/* Motion preferences -------------------------------------------- */ + +@media (prefers-reduced-motion: reduce) { + *, *::before, *::after { + transition-duration: 0.01ms !important; + animation-duration: 0.01ms !important; + scroll-behavior: auto !important; + } + .cover-link:hover { transform: none; } +} diff --git a/hugo/theme/assets/readerly/js/theme.js b/hugo/theme/assets/readerly/js/theme.js new file mode 100644 index 0000000..ed66ec6 --- /dev/null +++ b/hugo/theme/assets/readerly/js/theme.js @@ -0,0 +1,88 @@ +/* + * Readerly — optional enhancements. Every page works without this file. + * - Light/dark toggle (remembers the choice; otherwise follows the system) + * - Friendly confirmation for demo forms (newsletter, comments) + * - Search term echo on the archive page + * Loaded in
so a saved theme applies before first paint. + */ +(function () { + var root = document.documentElement; + var STORAGE_KEY = "readerly-theme"; + var darkQuery = window.matchMedia ? window.matchMedia("(prefers-color-scheme: dark)") : null; + + function readStoredTheme() { + try { + return localStorage.getItem(STORAGE_KEY); + } catch (error) { + return null; + } + } + + function storeTheme(value) { + try { + localStorage.setItem(STORAGE_KEY, value); + } catch (error) { + /* Storage blocked: the choice lasts for this page view only. */ + } + } + + function effectiveTheme() { + var explicit = root.getAttribute("data-theme"); + if (explicit === "light" || explicit === "dark") return explicit; + return darkQuery && darkQuery.matches ? "dark" : "light"; + } + + var stored = readStoredTheme(); + if (stored === "light" || stored === "dark") root.setAttribute("data-theme", stored); + + function initThemeToggle() { + var toggle = document.querySelector("[data-theme-toggle]"); + if (!toggle) return; + + function sync() { + toggle.setAttribute("aria-pressed", effectiveTheme() === "dark" ? "true" : "false"); + } + + toggle.hidden = false; + sync(); + toggle.addEventListener("click", function () { + var next = effectiveTheme() === "dark" ? "light" : "dark"; + root.setAttribute("data-theme", next); + storeTheme(next); + sync(); + }); + if (darkQuery && darkQuery.addEventListener) darkQuery.addEventListener("change", sync); + } + + function initDemoForms() { + var forms = document.querySelectorAll("form[data-demo-form]"); + Array.prototype.forEach.call(forms, function (form) { + var status = form.querySelector("[data-form-status]"); + form.addEventListener("submit", function (event) { + event.preventDefault(); + if (!form.checkValidity()) { + form.reportValidity(); + return; + } + form.reset(); + if (status) status.textContent = status.getAttribute("data-message") || ""; + }); + }); + } + + function initSearchNote() { + var note = document.querySelector("[data-search-note]"); + if (!note || !window.URLSearchParams) return; + var term = new URLSearchParams(window.location.search).get("s"); + if (!term) return; + var slot = note.querySelector("[data-search-term]"); + if (slot) slot.textContent = term; + note.hidden = false; + } + + document.addEventListener("DOMContentLoaded", function () { + initThemeToggle(); + initDemoForms(); + initSearchNote(); + }); +})(); diff --git a/hugo/theme/exampleSite/static/assets/covers/atlas-of-lost-rivers.svg b/hugo/theme/exampleSite/static/assets/covers/atlas-of-lost-rivers.svg new file mode 100644 index 0000000..a042cfb --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/atlas-of-lost-rivers.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/bell-foundry.svg b/hugo/theme/exampleSite/static/assets/covers/bell-foundry.svg new file mode 100644 index 0000000..c269232 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/bell-foundry.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/brightwater-recipe-box.svg b/hugo/theme/exampleSite/static/assets/covers/brightwater-recipe-box.svg new file mode 100644 index 0000000..a1bf4f9 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/brightwater-recipe-box.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/clockmakers-apprentice.svg b/hugo/theme/exampleSite/static/assets/covers/clockmakers-apprentice.svg new file mode 100644 index 0000000..e83b6ca --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/clockmakers-apprentice.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/fen-lights.svg b/hugo/theme/exampleSite/static/assets/covers/fen-lights.svg new file mode 100644 index 0000000..98ae993 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/fen-lights.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/fieldwork.svg b/hugo/theme/exampleSite/static/assets/covers/fieldwork.svg new file mode 100644 index 0000000..1af198d --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/fieldwork.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/glass-cartographer.svg b/hugo/theme/exampleSite/static/assets/covers/glass-cartographer.svg new file mode 100644 index 0000000..45f1d01 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/glass-cartographer.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/lighthouse-letters.svg b/hugo/theme/exampleSite/static/assets/covers/lighthouse-letters.svg new file mode 100644 index 0000000..dea9aaf --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/lighthouse-letters.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/long-way-to-halden.svg b/hugo/theme/exampleSite/static/assets/covers/long-way-to-halden.svg new file mode 100644 index 0000000..8a37f65 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/long-way-to-halden.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/map-of-quiet-places.svg b/hugo/theme/exampleSite/static/assets/covers/map-of-quiet-places.svg new file mode 100644 index 0000000..82abacc --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/map-of-quiet-places.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/moth-season.svg b/hugo/theme/exampleSite/static/assets/covers/moth-season.svg new file mode 100644 index 0000000..a94d1c7 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/moth-season.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/ninefold-bridge.svg b/hugo/theme/exampleSite/static/assets/covers/ninefold-bridge.svg new file mode 100644 index 0000000..a49bb25 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/ninefold-bridge.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/northern-ledger.svg b/hugo/theme/exampleSite/static/assets/covers/northern-ledger.svg new file mode 100644 index 0000000..898f626 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/northern-ledger.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/paper-moths.svg b/hugo/theme/exampleSite/static/assets/covers/paper-moths.svg new file mode 100644 index 0000000..bc460e6 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/paper-moths.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/quiet-arithmetic.svg b/hugo/theme/exampleSite/static/assets/covers/quiet-arithmetic.svg new file mode 100644 index 0000000..fe05550 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/quiet-arithmetic.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/salt-orchard.svg b/hugo/theme/exampleSite/static/assets/covers/salt-orchard.svg new file mode 100644 index 0000000..df6c1d6 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/salt-orchard.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/saltmarsh-hymns.svg b/hugo/theme/exampleSite/static/assets/covers/saltmarsh-hymns.svg new file mode 100644 index 0000000..36b0481 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/saltmarsh-hymns.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/small-hours.svg b/hugo/theme/exampleSite/static/assets/covers/small-hours.svg new file mode 100644 index 0000000..e9b839a --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/small-hours.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/tide-ledger.svg b/hugo/theme/exampleSite/static/assets/covers/tide-ledger.svg new file mode 100644 index 0000000..e3672d8 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/tide-ledger.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/under-the-tamarind.svg b/hugo/theme/exampleSite/static/assets/covers/under-the-tamarind.svg new file mode 100644 index 0000000..4f75b1b --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/under-the-tamarind.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/covers/winter-pears.svg b/hugo/theme/exampleSite/static/assets/covers/winter-pears.svg new file mode 100644 index 0000000..d3d992f --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/covers/winter-pears.svg @@ -0,0 +1,11 @@ + diff --git a/hugo/theme/exampleSite/static/assets/img/avatar-nora.svg b/hugo/theme/exampleSite/static/assets/img/avatar-nora.svg new file mode 100644 index 0000000..9e150d7 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/img/avatar-nora.svg @@ -0,0 +1,8 @@ + diff --git a/hugo/theme/exampleSite/static/assets/img/favicon.svg b/hugo/theme/exampleSite/static/assets/img/favicon.svg new file mode 100644 index 0000000..0eb19b2 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/img/favicon.svg @@ -0,0 +1 @@ + diff --git a/hugo/theme/exampleSite/static/assets/img/portrait-isobel.svg b/hugo/theme/exampleSite/static/assets/img/portrait-isobel.svg new file mode 100644 index 0000000..33482e1 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/img/portrait-isobel.svg @@ -0,0 +1,10 @@ + diff --git a/hugo/theme/exampleSite/static/assets/img/still-life.svg b/hugo/theme/exampleSite/static/assets/img/still-life.svg new file mode 100644 index 0000000..67ec1e1 --- /dev/null +++ b/hugo/theme/exampleSite/static/assets/img/still-life.svg @@ -0,0 +1,18 @@ + diff --git a/hugo/theme/go.mod b/hugo/theme/go.mod new file mode 100644 index 0000000..8b3ab51 --- /dev/null +++ b/hugo/theme/go.mod @@ -0,0 +1,3 @@ +module github.com/listofbooks-net/hugo-theme-readerly + +go 1.22 diff --git a/hugo/theme/hugo.toml b/hugo/theme/hugo.toml new file mode 100644 index 0000000..cea194f --- /dev/null +++ b/hugo/theme/hugo.toml @@ -0,0 +1,11 @@ +# Theme defaults. A site's own hugo.toml overrides any of these. +[module] + [module.hugoVersion] + min = "0.146.0" + +[params.readerly] + style = "auto" + styleToggle = true + relatedPosts = 3 + dateFormat = "2 January 2006" + thousands = "," diff --git a/hugo/theme/static/readerly/fonts/fraunces/OFL.txt b/hugo/theme/static/readerly/fonts/fraunces/OFL.txt new file mode 100644 index 0000000..1dd6478 --- /dev/null +++ b/hugo/theme/static/readerly/fonts/fraunces/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2020 The Fraunces Project Authors (github.com/undercasetype/Fraunces) Fraunces-Italic[SOFT,WONK,opsz,wght].ttf: Copyright 2020 The Fraunces Project Authors (github.com/undercasetype/Fraunces) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/hugo/theme/static/readerly/fonts/fraunces/fraunces-latin-ext-standard-italic.woff2 b/hugo/theme/static/readerly/fonts/fraunces/fraunces-latin-ext-standard-italic.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..2e650495adcccec79b0189a8fea3a6b457b0943a GIT binary patch literal 71460 zcmV(^K-Ir@Pew8T0RR910T(0y6aWAK0sQy?0T!|V0RR9100000000000000000000 z0000Qf=e5(d>nyTKS)+VQj8)7U_Vn-K~#c7Cr|*0EH5|_2nvDz2!Yx+3x*B=Fof}N z0X7081B?;`AO(hK2cLfo2V24BaVK;!ythQ@76;Q!M1b$BHkzm&PF|sG+Z9W1R%r?{ zyCVhcm=|sb0Y&u>WdHyF{|l1I7}_PamjnP%wYvK2*6%-Pj$ks&rM8Zd!6+D*+mf)R zrDUd#WNYd^Z@Dhm4L!1SL>s*_p+060k}#1{ppJwUgdN>^ZsRKnUt?QZh6e&q2IsI8 zjL2LH@5Mo)&zDD#I$3ZhFQOd>wdYhWb8q>;=Y1-vN-
zuk4J1M?Jk$@*xUA{|fRx+K_94<-;{SrG}!M(zpwj*In9vco}t%* C 5O1(gzQN~XMFvoYNSvgJ?&rV(J+
zzG%1Yc2eWJ+!hv1yH6vbNR$o)gMO00y =-`G0v+vj__t`8qSzSyCm~S(zJ8!Ur9zr}cIO>%a}T
z9=j;yJJXYJTh^&R777t_ RZEV5TWFL1YkG$%i!QpEidQlXs}9dJzK9KgT@|M)S$*wP
zZ6EBbq!4cQQ0|R2jqbOPZ{}$}_VT0ne1cR5zjoscS~V*tH~8NBv2_}2lqE3T=nEAx
z))c)umyWK1T?gv=y_B-b%6?wy0t4NPPQF%j)#7xxxwXeyORS%?Lw{ngOA!Q3QleEc
zIdvAL$9_OjQ+;qIdtSg(LDu*b*M(V~Q)h2P1sqVBh$WJhzEhIGIrF{M*`NTpg#
zX49EuM`YvYwOgL;ZKM29Rf=lOO+>PyVC4Fd*JyKc(|R|GH+5!k3LzqP3;_M=$Y3Fk
zBDe&*TSaG=o5|Qc+%Z7}o5OfJn14`j2Is%6^;s+0()OGgsVed!9$ee4oUJUY_N>EE
z56Mtf)e@pD pqA>j~RU0#;a0Mpk8t}9>et+Yi94q$=fN8l_0O1SxE;z3Uorkx0&x6<<
z$~qbxH|FyNJ_8ojiI?HoILz%&IPKm)K2Iix{~o(dYO8?j48
zJpNMaNiTY%-}=|w9|DmyW&{R`Vk@vj7N{
(<`U4$3slo
zGz}&fK}SXOF!92GiTg$;Hk7wEmK1V{U0|NgLYGw^PUmGB_CHVitG+@k?()HqV3%=)
z)gSeblimUKPu;`FW65F>T%eLkPk|{vITckKmIU7UT;l3#FD7L6c7V?IqzFk}p!n3d
z`pU4@uiw^D-oN>C?KTL>xm${2Iof&mi<0(aReVGPz_hG_m3&4-foVS5z40o4t2loG
zX)S{na)0oiLwMZO&(XWI+X2L(L(W4SuLTP%pxpstL+5i_Gov$LMV6<&Jm=