@backgold/template-kit 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +12 -2
- package/dist/chunk-KOB36GSF.js +62 -0
- package/dist/constants-DvTNj4JI.d-Batjcj3Z.d.ts +38 -0
- package/dist/content-api-CYeY0vU8.d.ts +849 -0
- package/dist/contract/content-api-examples.d.ts +58 -0
- package/dist/contract/content-api-examples.js +783 -0
- package/dist/contract/content-api.d.ts +2 -0
- package/dist/contract/content-api.js +1 -0
- package/dist/contract/site-templates.d.ts +252 -0
- package/dist/contract/site-templates.js +185 -0
- package/package.json +70 -3
- package/src/components/EntryCard.astro +35 -0
- package/src/components/EventMap.astro +118 -0
- package/src/components/EventPage.astro +194 -0
- package/src/components/FieldValue.astro +41 -0
- package/src/components/LeadingHero.astro +21 -0
- package/src/components/NotFound.astro +20 -0
- package/src/components/PageSections.astro +47 -0
- package/src/components/Prose.astro +18 -0
- package/src/components/chrome/Brand.astro +54 -0
- package/src/components/chrome/ClosingCall.astro +94 -0
- package/src/components/chrome/DonateStrip.astro +61 -0
- package/src/components/chrome/FooterColumns.astro +32 -0
- package/src/components/chrome/FooterContact.astro +28 -0
- package/src/components/chrome/MenuList.astro +45 -0
- package/src/components/chrome/ModeToggle.astro +125 -0
- package/src/components/chrome/SignedInNotice.astro +53 -0
- package/src/components/chrome/SignupBand.astro +12 -0
- package/src/components/chrome/TakeoverBanner.astro +56 -0
- package/src/components/chrome/VisitorAccount.astro +82 -0
- package/src/components/entries/AuthorBox.astro +47 -0
- package/src/components/entries/EntryFields.astro +29 -0
- package/src/components/entries/EntryHeader.astro +77 -0
- package/src/components/entries/ListFrame.astro +126 -0
- package/src/components/entries/ListSearch.astro +24 -0
- package/src/components/entries/Share.astro +24 -0
- package/src/components/entries/course/classroom.astro +26 -0
- package/src/components/entries/course/lesson.astro +18 -0
- package/src/components/entries/course/section.ts +20 -0
- package/src/components/entries/course/syllabus.astro +15 -0
- package/src/components/entries/index.ts +77 -0
- package/src/components/entries/newsletter/issue.astro +41 -0
- package/src/components/entries/newsletter/list.astro +26 -0
- package/src/components/entries/podcast/episode.astro +42 -0
- package/src/components/entries/podcast/list.astro +36 -0
- package/src/components/entries/post/article.astro +31 -0
- package/src/components/entries/post/list.astro +85 -0
- package/src/components/entries/props.ts +61 -0
- package/src/components/entries/video/cards.astro +39 -0
- package/src/components/entries/video/grid.astro +15 -0
- package/src/components/entries/video/watch.astro +41 -0
- package/src/components/live/LivePage.astro +215 -0
- package/src/components/live/LocalTime.astro +29 -0
- package/src/components/sections/About/books.astro +188 -0
- package/src/components/sections/About/credentials.ts +90 -0
- package/src/components/sections/About/index.astro +57 -0
- package/src/components/sections/About/left.astro +54 -0
- package/src/components/sections/About/letter.astro +108 -0
- package/src/components/sections/About/portrait.astro +308 -0
- package/src/components/sections/Advocacy/compact.astro +14 -0
- package/src/components/sections/Advocacy/index.astro +14 -0
- package/src/components/sections/Band.astro +39 -0
- package/src/components/sections/Blog/feature.astro +176 -0
- package/src/components/sections/Blog/index.astro +37 -0
- package/src/components/sections/Blog/latest.ts +80 -0
- package/src/components/sections/Blog/list.astro +186 -0
- package/src/components/sections/Booking/index.astro +139 -0
- package/src/components/sections/Booking/list.astro +144 -0
- package/src/components/sections/Booking/types.ts +60 -0
- package/src/components/sections/Calendar/agenda.astro +14 -0
- package/src/components/sections/Calendar/index.astro +14 -0
- package/src/components/sections/CandidateRoster/ballot.astro +394 -0
- package/src/components/sections/CandidateRoster/candidates.ts +69 -0
- package/src/components/sections/CandidateRoster/compact.astro +115 -0
- package/src/components/sections/CandidateRoster/index.astro +57 -0
- package/src/components/sections/CaseStudies/beforeafter.astro +222 -0
- package/src/components/sections/CaseStudies/cases.ts +111 -0
- package/src/components/sections/CaseStudies/grid.astro +261 -0
- package/src/components/sections/CaseStudies/index.astro +333 -0
- package/src/components/sections/Classroom/CourseCard.astro +181 -0
- package/src/components/sections/Classroom/Courses.astro +88 -0
- package/src/components/sections/Classroom/classroom.ts +141 -0
- package/src/components/sections/Classroom/index.astro +20 -0
- package/src/components/sections/Classroom/list.astro +15 -0
- package/src/components/sections/Collection/compact.astro +7 -0
- package/src/components/sections/Collection/entries.ts +62 -0
- package/src/components/sections/Collection/feature.astro +180 -0
- package/src/components/sections/Collection/index.astro +46 -0
- package/src/components/sections/Collection/library.astro +271 -0
- package/src/components/sections/Collection/list.astro +7 -0
- package/src/components/sections/Collection/outline.astro +134 -0
- package/src/components/sections/Collection/shelves.astro +191 -0
- package/src/components/sections/Comparison/Unlisted.astro +6 -0
- package/src/components/sections/Comparison/cards.astro +171 -0
- package/src/components/sections/Comparison/index.astro +191 -0
- package/src/components/sections/Comparison/sides.ts +98 -0
- package/src/components/sections/Comparison/spectrum.astro +261 -0
- package/src/components/sections/ContentPost/banner.astro +152 -0
- package/src/components/sections/ContentPost/index.astro +35 -0
- package/src/components/sections/ContentPost/lesson.ts +119 -0
- package/src/components/sections/ContentPost/player.astro +254 -0
- package/src/components/sections/ContentPost/theater.astro +329 -0
- package/src/components/sections/Countdown/index.astro +53 -0
- package/src/components/sections/Course/Bar.astro +46 -0
- package/src/components/sections/Course/CourseHead.astro +123 -0
- package/src/components/sections/Course/Crumbs.astro +44 -0
- package/src/components/sections/Course/Icon.astro +29 -0
- package/src/components/sections/Course/Ring.astro +62 -0
- package/src/components/sections/Course/Syllabus.astro +146 -0
- package/src/components/sections/Course/course.ts +146 -0
- package/src/components/sections/Course/index.astro +143 -0
- package/src/components/sections/Course/outline.astro +39 -0
- package/src/components/sections/Cta/banner.astro +64 -0
- package/src/components/sections/Cta/card.astro +88 -0
- package/src/components/sections/Cta/index.astro +31 -0
- package/src/components/sections/Cta/photo.astro +114 -0
- package/src/components/sections/Cta/strip.astro +91 -0
- package/src/components/sections/Donate/index.astro +136 -0
- package/src/components/sections/Donate/story.astro +7 -0
- package/src/components/sections/Event/card.astro +14 -0
- package/src/components/sections/Event/index.astro +14 -0
- package/src/components/sections/EventsList/AgendaMonths.astro +105 -0
- package/src/components/sections/EventsList/CalendarLine.astro +23 -0
- package/src/components/sections/EventsList/EventRows.astro +196 -0
- package/src/components/sections/EventsList/LiveCounts.astro +75 -0
- package/src/components/sections/EventsList/TypeTabs.astro +53 -0
- package/src/components/sections/EventsList/agenda.astro +55 -0
- package/src/components/sections/EventsList/calendar.astro +392 -0
- package/src/components/sections/EventsList/cards.astro +186 -0
- package/src/components/sections/EventsList/cohorts.astro +205 -0
- package/src/components/sections/EventsList/compact.astro +163 -0
- package/src/components/sections/EventsList/events.ts +168 -0
- package/src/components/sections/EventsList/index.astro +46 -0
- package/src/components/sections/EventsList/map.astro +436 -0
- package/src/components/sections/EventsList/shifts.astro +355 -0
- package/src/components/sections/EventsList/week.astro +361 -0
- package/src/components/sections/Faq/Contact.astro +63 -0
- package/src/components/sections/Faq/Questions.astro +98 -0
- package/src/components/sections/Faq/cards.astro +74 -0
- package/src/components/sections/Faq/faq.ts +101 -0
- package/src/components/sections/Faq/index.astro +49 -0
- package/src/components/sections/Faq/topics.astro +178 -0
- package/src/components/sections/Financials/Foot.astro +38 -0
- package/src/components/sections/Financials/Head.astro +47 -0
- package/src/components/sections/Financials/donut.astro +197 -0
- package/src/components/sections/Financials/financials.ts +52 -0
- package/src/components/sections/Financials/index.astro +148 -0
- package/src/components/sections/Financials/table.astro +157 -0
- package/src/components/sections/FormBlock/index.astro +33 -0
- package/src/components/sections/FormBlock/wide.astro +7 -0
- package/src/components/sections/Hero/cover.astro +170 -0
- package/src/components/sections/Hero/donate.astro +209 -0
- package/src/components/sections/Hero/field.astro +390 -0
- package/src/components/sections/Hero/index.astro +52 -0
- package/src/components/sections/Hero/overlap.astro +151 -0
- package/src/components/sections/Hero/rotating.astro +30 -0
- package/src/components/sections/Hero/split.astro +96 -0
- package/src/components/sections/Hero/statement.astro +55 -0
- package/src/components/sections/Hero/video.astro +399 -0
- package/src/components/sections/Issues/checklist.astro +204 -0
- package/src/components/sections/Issues/drawer.astro +237 -0
- package/src/components/sections/Issues/index.astro +115 -0
- package/src/components/sections/Issues/issues.ts +37 -0
- package/src/components/sections/Issues/numbered.astro +79 -0
- package/src/components/sections/Issues/rows.astro +137 -0
- package/src/components/sections/Issues/steps.astro +81 -0
- package/src/components/sections/Issues/tabs.astro +322 -0
- package/src/components/sections/Leaderboard/index.astro +29 -0
- package/src/components/sections/Lesson/Door.astro +121 -0
- package/src/components/sections/Lesson/LessonBody.astro +416 -0
- package/src/components/sections/Lesson/Rail.astro +182 -0
- package/src/components/sections/Lesson/Tracker.astro +137 -0
- package/src/components/sections/Lesson/index.astro +27 -0
- package/src/components/sections/Lesson/lesson.ts +233 -0
- package/src/components/sections/Lesson/reading.astro +21 -0
- package/src/components/sections/Map/CoverageLine.astro +19 -0
- package/src/components/sections/Map/RegionMap.astro +109 -0
- package/src/components/sections/Map/bar.astro +160 -0
- package/src/components/sections/Map/index.astro +192 -0
- package/src/components/sections/Map/map.astro +275 -0
- package/src/components/sections/MediaKit/BioCard.astro +108 -0
- package/src/components/sections/MediaKit/Downloads.astro +88 -0
- package/src/components/sections/MediaKit/index.astro +183 -0
- package/src/components/sections/MediaKit/kit.ts +140 -0
- package/src/components/sections/MediaKit/press.astro +189 -0
- package/src/components/sections/MediaKit/speaker.astro +205 -0
- package/src/components/sections/Membership/Benefits.astro +42 -0
- package/src/components/sections/Membership/Check.astro +12 -0
- package/src/components/sections/Membership/Price.astro +61 -0
- package/src/components/sections/Membership/compare.astro +312 -0
- package/src/components/sections/Membership/index.astro +281 -0
- package/src/components/sections/Membership/offers.ts +169 -0
- package/src/components/sections/Membership/tiers.astro +217 -0
- package/src/components/sections/MovementMap/index.astro +50 -0
- package/src/components/sections/MovementTicker/index.astro +43 -0
- package/src/components/sections/Pathways/Doors.astro +147 -0
- package/src/components/sections/Pathways/Head.astro +37 -0
- package/src/components/sections/Pathways/index.astro +27 -0
- package/src/components/sections/Pathways/pathways.ts +100 -0
- package/src/components/sections/Pathways/quiz.astro +286 -0
- package/src/components/sections/Pathways/tabs.astro +271 -0
- package/src/components/sections/PdfEmbed/card.astro +99 -0
- package/src/components/sections/PdfEmbed/index.astro +26 -0
- package/src/components/sections/PdfEmbed/medium.astro +7 -0
- package/src/components/sections/PdfEmbed/tall.astro +7 -0
- package/src/components/sections/Petition/coverage.astro +14 -0
- package/src/components/sections/Petition/image.astro +14 -0
- package/src/components/sections/Petition/index.astro +14 -0
- package/src/components/sections/Petition/map.astro +14 -0
- package/src/components/sections/PlatformPlanks/anchors.ts +66 -0
- package/src/components/sections/PlatformPlanks/columns.astro +171 -0
- package/src/components/sections/PlatformPlanks/index.astro +56 -0
- package/src/components/sections/PlatformPlanks/longread.astro +250 -0
- package/src/components/sections/PollBlock/index.astro +30 -0
- package/src/components/sections/Portfolio/featured.astro +343 -0
- package/src/components/sections/Portfolio/index.astro +571 -0
- package/src/components/sections/Portfolio/strip.astro +173 -0
- package/src/components/sections/Portfolio/work.ts +100 -0
- package/src/components/sections/Progress/MatchClock.astro +166 -0
- package/src/components/sections/Progress/compact.astro +150 -0
- package/src/components/sections/Progress/index.astro +32 -0
- package/src/components/sections/Progress/match.astro +126 -0
- package/src/components/sections/Progress/ring.astro +179 -0
- package/src/components/sections/QuickDonate/DonateCard.astro +149 -0
- package/src/components/sections/QuickDonate/Picker.astro +95 -0
- package/src/components/sections/QuickDonate/band.astro +164 -0
- package/src/components/sections/QuickDonate/bar.astro +208 -0
- package/src/components/sections/QuickDonate/donate.ts +126 -0
- package/src/components/sections/QuickDonate/hero.astro +143 -0
- package/src/components/sections/QuickDonate/index.astro +73 -0
- package/src/components/sections/QuickDonate/jar.astro +225 -0
- package/src/components/sections/QuickDonate/ladder.astro +248 -0
- package/src/components/sections/QuoteStrip/carousel.astro +340 -0
- package/src/components/sections/QuoteStrip/index.astro +58 -0
- package/src/components/sections/QuoteStrip/logos.astro +226 -0
- package/src/components/sections/QuoteStrip/quotes.ts +61 -0
- package/src/components/sections/QuoteStrip/single.astro +92 -0
- package/src/components/sections/QuoteStrip/ticker.astro +319 -0
- package/src/components/sections/QuoteStrip/wall.astro +113 -0
- package/src/components/sections/Resources/band.astro +93 -0
- package/src/components/sections/Resources/featured.astro +239 -0
- package/src/components/sections/Resources/index.astro +225 -0
- package/src/components/sections/Resources/resources.ts +92 -0
- package/src/components/sections/SampleBallot/Position.astro +39 -0
- package/src/components/sections/SampleBallot/ballot.ts +92 -0
- package/src/components/sections/SampleBallot/cards.astro +299 -0
- package/src/components/sections/SampleBallot/index.astro +326 -0
- package/src/components/sections/SampleBallot/measures.astro +172 -0
- package/src/components/sections/Scorecard/grades.astro +141 -0
- package/src/components/sections/Scorecard/index.astro +294 -0
- package/src/components/sections/Scorecard/promise.astro +167 -0
- package/src/components/sections/Scorecard/votes.ts +83 -0
- package/src/components/sections/SectionHead.astro +31 -0
- package/src/components/sections/Services/Button.astro +24 -0
- package/src/components/sections/Services/Check.astro +12 -0
- package/src/components/sections/Services/Includes.astro +42 -0
- package/src/components/sections/Services/compare.astro +328 -0
- package/src/components/sections/Services/index.astro +187 -0
- package/src/components/sections/Services/list.astro +181 -0
- package/src/components/sections/Services/services.ts +80 -0
- package/src/components/sections/ShareKit/Actions.astro +71 -0
- package/src/components/sections/ShareKit/Buttons.astro +62 -0
- package/src/components/sections/ShareKit/compact.astro +123 -0
- package/src/components/sections/ShareKit/index.astro +160 -0
- package/src/components/sections/ShareKit/share.ts +60 -0
- package/src/components/sections/ShareKit/strip.astro +173 -0
- package/src/components/sections/SignupCapture/band.astro +7 -0
- package/src/components/sections/SignupCapture/index.astro +103 -0
- package/src/components/sections/SignupCapture/inline.astro +7 -0
- package/src/components/sections/SocialFeed/index.astro +34 -0
- package/src/components/sections/StatCards/feature.astro +143 -0
- package/src/components/sections/StatCards/index.astro +51 -0
- package/src/components/sections/StatCards/ribbon.astro +113 -0
- package/src/components/sections/StatCards/wall.astro +177 -0
- package/src/components/sections/Store/featured.astro +14 -0
- package/src/components/sections/Store/index.astro +14 -0
- package/src/components/sections/Stories/Status.astro +42 -0
- package/src/components/sections/Stories/StoryCards.astro +171 -0
- package/src/components/sections/Stories/cards.astro +42 -0
- package/src/components/sections/Stories/index.astro +238 -0
- package/src/components/sections/Stories/stories.ts +97 -0
- package/src/components/sections/Stories/timeline.astro +135 -0
- package/src/components/sections/TeamGrid/board.astro +280 -0
- package/src/components/sections/TeamGrid/index.astro +71 -0
- package/src/components/sections/TeamGrid/list.astro +306 -0
- package/src/components/sections/TeamGrid/people.ts +178 -0
- package/src/components/sections/VideoEmbed/index.astro +52 -0
- package/src/components/sections/VideoEmbed/landscape.astro +7 -0
- package/src/components/sections/VideoEmbed/portrait.astro +7 -0
- package/src/components/sections/VideoEmbed/square.astro +7 -0
- package/src/components/sections/VoterTools/DaysLeft.astro +33 -0
- package/src/components/sections/VoterTools/dates.astro +149 -0
- package/src/components/sections/VoterTools/index.astro +228 -0
- package/src/components/sections/VoterTools/polling.astro +141 -0
- package/src/components/sections/VoterTools/voter-tools.ts +70 -0
- package/src/components/sections/index.ts +370 -0
- package/src/components/sections/modules/Headed.astro +39 -0
- package/src/components/sections/modules/ModuleFrame.astro +179 -0
- package/src/components/volunteer/ShiftLive.astro +90 -0
- package/src/components/volunteer/detail.astro +247 -0
- package/src/components/volunteer/list.astro +298 -0
- package/src/components/volunteer/props.ts +21 -0
- package/src/env.d.ts +22 -0
- package/src/index.d.ts +10 -0
- package/src/index.js +64 -0
- package/src/layouts/Site.astro +371 -0
- package/src/lib/academy.ts +146 -0
- package/src/lib/brand.ts +534 -0
- package/src/lib/chrome.ts +119 -0
- package/src/lib/donate-frame.ts +64 -0
- package/src/lib/entries.ts +190 -0
- package/src/lib/env.ts +34 -0
- package/src/lib/event-map-draw.ts +91 -0
- package/src/lib/events.ts +476 -0
- package/src/lib/fonts.ts +116 -0
- package/src/lib/footer.ts +24 -0
- package/src/lib/format.ts +160 -0
- package/src/lib/geo.ts +131 -0
- package/src/lib/live.ts +54 -0
- package/src/lib/menu.ts +48 -0
- package/src/lib/petition-text.ts +29 -0
- package/src/lib/reading.ts +17 -0
- package/src/lib/regions.ts +215 -0
- package/src/lib/section.ts +94 -0
- package/src/lib/shifts.ts +186 -0
- package/src/lib/stream-time.ts +20 -0
- package/src/lib/stream.ts +141 -0
- package/src/lib/visitor.ts +54 -0
- package/src/routes/catch-all.astro +286 -0
- package/src/routes/form.astro +30 -0
- package/src/routes/live.astro +49 -0
- package/src/routes/not-found.astro +18 -0
- package/src/routes/preview.astro +60 -0
- package/src/routes/setup.astro +62 -0
- package/src/routes/volunteer-shift.astro +61 -0
- package/src/routes/volunteer.astro +37 -0
- package/src/styles/entries.css +784 -0
- package/src/styles/site.css +1839 -0
- package/src/template.ts +182 -0
|
@@ -0,0 +1,1839 @@
|
|
|
1
|
+
/*
|
|
2
|
+
The look every template on the kit draws, the party template's, drawn to
|
|
3
|
+
boards A1 (home, desktop), A13 (home on a phone) and A12 (the section
|
|
4
|
+
catalogue) in docs/design/sites-unification-2026-10/mockups; a template's
|
|
5
|
+
own src/styles/template.css, loaded after this, sets what it draws
|
|
6
|
+
differently. The template owns the type,
|
|
7
|
+
the spacing and the shapes set here; the organization owns the colours.
|
|
8
|
+
Colours come only from the custom properties the layout writes from the
|
|
9
|
+
brand in BackGold (src/lib/brand.ts, the token sheet, light and dark):
|
|
10
|
+
--bg-brand-* and, for each band, --band-<name> and its -ink, -muted,
|
|
11
|
+
-accent, -link, -button(-ink), -button-2(-ink), -surface, -line,
|
|
12
|
+
-line-strong and -live. Everything below reads the short names a band sets
|
|
13
|
+
(--ink, --muted, --accent, --link, --button, --button-ink, --button-2,
|
|
14
|
+
--button-2-ink, --surface, --line, --line-strong, --live), so a section
|
|
15
|
+
restyles with its band.
|
|
16
|
+
|
|
17
|
+
Sections carry `bg-section bg-band-<band> bg-bleed-<bleed>` and
|
|
18
|
+
`data-type="<Type>"` (and `data-variant="<layout>"`); style a type with
|
|
19
|
+
[data-type='Hero'] and a layout with [data-variant='cover']. An area's
|
|
20
|
+
items are `<aside class="bg-area bg-area-<name>">`; the header button is
|
|
21
|
+
`.bg-menu-button` (with `.button`). The footer sits on the contrast band.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
:root {
|
|
25
|
+
/*
|
|
26
|
+
The faces: the site's own when it wears a saved theme in BackGold (its
|
|
27
|
+
heading and body stacks, which the layout sets as --site-font-heading and
|
|
28
|
+
--site-font-body and loads), else board A1's: Fraunces for display
|
|
29
|
+
(headings, numerals, the wordmark), Public Sans for text, which the layout
|
|
30
|
+
loads in their place (the party template's `fonts`). A template with other
|
|
31
|
+
faces names them in its own `fonts` and sets --font and --font-display
|
|
32
|
+
to them in its src/styles/template.css.
|
|
33
|
+
*/
|
|
34
|
+
--font: var(--site-font-body, 'Public Sans', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif);
|
|
35
|
+
--font-display: var(--site-font-heading, 'Fraunces', ui-serif, Georgia, 'Iowan Old Style', serif);
|
|
36
|
+
--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
37
|
+
/* Type scale, phone → desktop (A13 → A1): text 16, lede 17 → 19, h2 30 → 42, the cover headline 44 → 84. */
|
|
38
|
+
--text-xs: 0.75rem;
|
|
39
|
+
--text-sm: 0.875rem;
|
|
40
|
+
--text: 1rem;
|
|
41
|
+
--text-lg: clamp(1.03125rem, 0.95rem + 0.3vw, 1.1875rem);
|
|
42
|
+
--h3: clamp(1.25rem, 1.15rem + 0.35vw, 1.5rem);
|
|
43
|
+
--h2: clamp(1.875rem, 1.3rem + 1.9vw, 2.625rem);
|
|
44
|
+
--h1: clamp(2.5rem, 1.6rem + 3vw, 4rem);
|
|
45
|
+
--measure: 68ch;
|
|
46
|
+
/* A1's .wrap: 1120px wide with 40px sides (20px on a phone). */
|
|
47
|
+
--content: 65rem;
|
|
48
|
+
--gutter: clamp(1.25rem, 4vw, 2.5rem);
|
|
49
|
+
/* A1's section padding: 72px, 44px on a phone. */
|
|
50
|
+
--space: clamp(2.75rem, 1.5rem + 3vw, 4.5rem);
|
|
51
|
+
--radius: 0.75rem;
|
|
52
|
+
--radius-card: 1.125rem;
|
|
53
|
+
--pill: 999px;
|
|
54
|
+
--header-height: 5.25rem;
|
|
55
|
+
--shadow: 0 18px 40px -28px color-mix(in srgb, var(--shadow-ink) 50%, transparent), 0 1px 2px color-mix(in srgb, var(--shadow-ink) 6%, transparent);
|
|
56
|
+
--bg-content-width: var(--content);
|
|
57
|
+
--bg-section-padding: var(--space) var(--gutter);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* ── Bands: each sets the ground and the short names everything else reads ── */
|
|
61
|
+
|
|
62
|
+
body,
|
|
63
|
+
.bg-band-plain {
|
|
64
|
+
--bg-band-background: var(--band-plain);
|
|
65
|
+
--bg-band-color: var(--band-plain-ink);
|
|
66
|
+
--ink: var(--band-plain-ink);
|
|
67
|
+
--muted: var(--band-plain-muted);
|
|
68
|
+
--accent: var(--band-plain-accent);
|
|
69
|
+
--link: var(--band-plain-link);
|
|
70
|
+
--button: var(--band-plain-button);
|
|
71
|
+
--button-ink: var(--band-plain-button-ink);
|
|
72
|
+
--button-2: var(--band-plain-button-2);
|
|
73
|
+
--button-2-ink: var(--band-plain-button-2-ink);
|
|
74
|
+
--surface: var(--band-plain-surface);
|
|
75
|
+
--line: var(--band-plain-line);
|
|
76
|
+
--line-strong: var(--band-plain-line-strong);
|
|
77
|
+
--live: var(--band-plain-live);
|
|
78
|
+
}
|
|
79
|
+
.bg-band-tint {
|
|
80
|
+
--bg-band-background: var(--band-tint);
|
|
81
|
+
--bg-band-color: var(--band-tint-ink);
|
|
82
|
+
--ink: var(--band-tint-ink);
|
|
83
|
+
--muted: var(--band-tint-muted);
|
|
84
|
+
--accent: var(--band-tint-accent);
|
|
85
|
+
--link: var(--band-tint-link);
|
|
86
|
+
--button: var(--band-tint-button);
|
|
87
|
+
--button-ink: var(--band-tint-button-ink);
|
|
88
|
+
--button-2: var(--band-tint-button-2);
|
|
89
|
+
--button-2-ink: var(--band-tint-button-2-ink);
|
|
90
|
+
--surface: var(--band-tint-surface);
|
|
91
|
+
--line: var(--band-tint-line);
|
|
92
|
+
--line-strong: var(--band-tint-line-strong);
|
|
93
|
+
--live: var(--band-tint-live);
|
|
94
|
+
}
|
|
95
|
+
.bg-band-panel {
|
|
96
|
+
--bg-band-background: var(--band-panel);
|
|
97
|
+
--bg-band-color: var(--band-panel-ink);
|
|
98
|
+
--ink: var(--band-panel-ink);
|
|
99
|
+
--muted: var(--band-panel-muted);
|
|
100
|
+
--accent: var(--band-panel-accent);
|
|
101
|
+
--link: var(--band-panel-link);
|
|
102
|
+
--button: var(--band-panel-button);
|
|
103
|
+
--button-ink: var(--band-panel-button-ink);
|
|
104
|
+
--button-2: var(--band-panel-button-2);
|
|
105
|
+
--button-2-ink: var(--band-panel-button-2-ink);
|
|
106
|
+
--surface: var(--band-panel-surface);
|
|
107
|
+
--line: var(--band-panel-line);
|
|
108
|
+
--line-strong: var(--band-panel-line-strong);
|
|
109
|
+
--live: var(--band-panel-live);
|
|
110
|
+
}
|
|
111
|
+
.bg-band-wash {
|
|
112
|
+
--bg-band-background: var(--band-wash);
|
|
113
|
+
--bg-band-color: var(--band-wash-ink);
|
|
114
|
+
--ink: var(--band-wash-ink);
|
|
115
|
+
--muted: var(--band-wash-muted);
|
|
116
|
+
--accent: var(--band-wash-accent);
|
|
117
|
+
--link: var(--band-wash-link);
|
|
118
|
+
--button: var(--band-wash-button);
|
|
119
|
+
--button-ink: var(--band-wash-button-ink);
|
|
120
|
+
--button-2: var(--band-wash-button-2);
|
|
121
|
+
--button-2-ink: var(--band-wash-button-2-ink);
|
|
122
|
+
--surface: var(--band-wash-surface);
|
|
123
|
+
--line: var(--band-wash-line);
|
|
124
|
+
--line-strong: var(--band-wash-line-strong);
|
|
125
|
+
--live: var(--band-wash-live);
|
|
126
|
+
}
|
|
127
|
+
/* Flat, as A1 draws the ribbon and the photo call to action. */
|
|
128
|
+
.bg-band-contrast {
|
|
129
|
+
--bg-band-background: var(--band-contrast);
|
|
130
|
+
--bg-band-color: var(--band-contrast-ink);
|
|
131
|
+
--ink: var(--band-contrast-ink);
|
|
132
|
+
--muted: var(--band-contrast-muted);
|
|
133
|
+
--accent: var(--band-contrast-accent);
|
|
134
|
+
--link: var(--band-contrast-link);
|
|
135
|
+
--button: var(--band-contrast-button);
|
|
136
|
+
--button-ink: var(--band-contrast-button-ink);
|
|
137
|
+
--button-2: var(--band-contrast-button-2);
|
|
138
|
+
--button-2-ink: var(--band-contrast-button-2-ink);
|
|
139
|
+
--surface: var(--band-contrast-surface);
|
|
140
|
+
--line: var(--band-contrast-line);
|
|
141
|
+
--line-strong: var(--band-contrast-line-strong);
|
|
142
|
+
--live: var(--band-contrast-live);
|
|
143
|
+
}
|
|
144
|
+
/*
|
|
145
|
+
The brand ground: the primary colour in both modes (A1's footer, its
|
|
146
|
+
announcement strip above the header and the sidebar's call to action),
|
|
147
|
+
whatever band the section was given.
|
|
148
|
+
*/
|
|
149
|
+
.site-footer,
|
|
150
|
+
.bg-section.cta-strip,
|
|
151
|
+
.rail .bg-section.cta {
|
|
152
|
+
--bg-band-background: var(--band-brand);
|
|
153
|
+
--bg-band-color: var(--band-brand-ink);
|
|
154
|
+
--ink: var(--band-brand-ink);
|
|
155
|
+
--muted: var(--band-brand-muted);
|
|
156
|
+
--accent: var(--band-brand-accent);
|
|
157
|
+
--link: var(--band-brand-link);
|
|
158
|
+
--button: var(--band-brand-button);
|
|
159
|
+
--button-ink: var(--band-brand-button-ink);
|
|
160
|
+
--button-2: var(--band-brand-button-2);
|
|
161
|
+
--button-2-ink: var(--band-brand-button-2-ink);
|
|
162
|
+
--surface: var(--band-brand-surface);
|
|
163
|
+
--line: var(--band-brand-line);
|
|
164
|
+
--line-strong: var(--band-brand-line-strong);
|
|
165
|
+
--live: var(--band-brand-live);
|
|
166
|
+
}
|
|
167
|
+
/* Words laid over a photo (Hero · Full photo): the photo band's inks, which read on its scrim. */
|
|
168
|
+
.on-photo {
|
|
169
|
+
--ink: var(--band-photo-ink);
|
|
170
|
+
--muted: var(--band-photo-ink);
|
|
171
|
+
--accent: var(--band-photo-accent);
|
|
172
|
+
--link: var(--band-photo-link);
|
|
173
|
+
--button: var(--band-photo-button);
|
|
174
|
+
--button-ink: var(--band-photo-button-ink);
|
|
175
|
+
--button-2: var(--band-photo-button-2);
|
|
176
|
+
--button-2-ink: var(--band-photo-button-2-ink);
|
|
177
|
+
--line: var(--band-photo-line);
|
|
178
|
+
--line-strong: var(--band-photo-line-strong);
|
|
179
|
+
--live: var(--band-photo-live);
|
|
180
|
+
color: var(--ink);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/* ── Base ── */
|
|
184
|
+
|
|
185
|
+
*,
|
|
186
|
+
*::before,
|
|
187
|
+
*::after {
|
|
188
|
+
box-sizing: border-box;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
html {
|
|
192
|
+
-webkit-text-size-adjust: 100%;
|
|
193
|
+
text-size-adjust: 100%;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
body {
|
|
197
|
+
margin: 0;
|
|
198
|
+
min-height: 100vh;
|
|
199
|
+
display: flex;
|
|
200
|
+
flex-direction: column;
|
|
201
|
+
background: var(--page);
|
|
202
|
+
color: var(--ink);
|
|
203
|
+
font-family: var(--font);
|
|
204
|
+
font-size: var(--text);
|
|
205
|
+
line-height: 1.6;
|
|
206
|
+
overflow-wrap: break-word;
|
|
207
|
+
-webkit-font-smoothing: antialiased;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
h1,
|
|
211
|
+
h2,
|
|
212
|
+
h3 {
|
|
213
|
+
font-family: var(--font-display);
|
|
214
|
+
font-optical-sizing: auto;
|
|
215
|
+
line-height: 1.06;
|
|
216
|
+
letter-spacing: -0.018em;
|
|
217
|
+
margin: 0 0 0.5em;
|
|
218
|
+
text-wrap: balance;
|
|
219
|
+
}
|
|
220
|
+
h1 {
|
|
221
|
+
font-size: var(--h1);
|
|
222
|
+
font-weight: 800;
|
|
223
|
+
}
|
|
224
|
+
h2 {
|
|
225
|
+
font-size: var(--h2);
|
|
226
|
+
font-weight: 800;
|
|
227
|
+
}
|
|
228
|
+
h3 {
|
|
229
|
+
font-size: var(--h3);
|
|
230
|
+
font-weight: 600;
|
|
231
|
+
line-height: 1.2;
|
|
232
|
+
}
|
|
233
|
+
p,
|
|
234
|
+
ul,
|
|
235
|
+
ol,
|
|
236
|
+
dl,
|
|
237
|
+
figure,
|
|
238
|
+
blockquote {
|
|
239
|
+
margin: 0 0 1rem;
|
|
240
|
+
}
|
|
241
|
+
img,
|
|
242
|
+
video,
|
|
243
|
+
iframe {
|
|
244
|
+
max-width: 100%;
|
|
245
|
+
}
|
|
246
|
+
img {
|
|
247
|
+
height: auto;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
a {
|
|
251
|
+
color: var(--link);
|
|
252
|
+
text-decoration-thickness: 1px;
|
|
253
|
+
text-underline-offset: 0.18em;
|
|
254
|
+
}
|
|
255
|
+
a:hover {
|
|
256
|
+
text-decoration-thickness: 2px;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
:focus-visible {
|
|
260
|
+
outline: 3px solid var(--ink);
|
|
261
|
+
outline-offset: 3px;
|
|
262
|
+
border-radius: 2px;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
code {
|
|
266
|
+
font-family: var(--font-mono);
|
|
267
|
+
font-size: 0.9em;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.visually-hidden {
|
|
271
|
+
position: absolute !important;
|
|
272
|
+
width: 1px;
|
|
273
|
+
height: 1px;
|
|
274
|
+
margin: -1px;
|
|
275
|
+
padding: 0;
|
|
276
|
+
overflow: hidden;
|
|
277
|
+
clip: rect(0 0 0 0);
|
|
278
|
+
white-space: nowrap;
|
|
279
|
+
border: 0;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.skip-link {
|
|
283
|
+
position: absolute;
|
|
284
|
+
left: var(--gutter);
|
|
285
|
+
top: -4rem;
|
|
286
|
+
z-index: 40;
|
|
287
|
+
padding: 0.75rem 1rem;
|
|
288
|
+
background: var(--band-plain-button);
|
|
289
|
+
color: var(--band-plain-button-ink);
|
|
290
|
+
font-weight: 600;
|
|
291
|
+
border-radius: var(--radius);
|
|
292
|
+
}
|
|
293
|
+
.skip-link:focus {
|
|
294
|
+
top: 0.75rem;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
main {
|
|
298
|
+
display: block;
|
|
299
|
+
flex: 1 0 auto;
|
|
300
|
+
}
|
|
301
|
+
main:focus {
|
|
302
|
+
outline: none;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/* ── The brand: mark and wordmark (A1's header and footer) ── */
|
|
306
|
+
|
|
307
|
+
.brand {
|
|
308
|
+
display: inline-flex;
|
|
309
|
+
align-items: center;
|
|
310
|
+
gap: 0.75rem;
|
|
311
|
+
min-width: 0;
|
|
312
|
+
color: var(--ink);
|
|
313
|
+
text-decoration: none;
|
|
314
|
+
}
|
|
315
|
+
.brand-mark {
|
|
316
|
+
flex: 0 0 auto;
|
|
317
|
+
width: 2.625rem;
|
|
318
|
+
height: 2.625rem;
|
|
319
|
+
}
|
|
320
|
+
.brand-logo {
|
|
321
|
+
display: block;
|
|
322
|
+
max-height: 3rem;
|
|
323
|
+
max-width: 100%;
|
|
324
|
+
width: auto;
|
|
325
|
+
}
|
|
326
|
+
.brand-words {
|
|
327
|
+
display: grid;
|
|
328
|
+
min-width: 0;
|
|
329
|
+
}
|
|
330
|
+
/*
|
|
331
|
+
Each line of the wordmark stays one line. The brand's column may shrink
|
|
332
|
+
(min-width: 0) when the header's controls, which never shrink, need the
|
|
333
|
+
room, so a long name is cut with an ellipsis rather than broken letter by
|
|
334
|
+
letter down the column.
|
|
335
|
+
*/
|
|
336
|
+
.brand-name {
|
|
337
|
+
font-family: var(--font-display);
|
|
338
|
+
font-weight: 800;
|
|
339
|
+
font-size: 1.375rem;
|
|
340
|
+
line-height: 1;
|
|
341
|
+
letter-spacing: -0.02em;
|
|
342
|
+
white-space: nowrap;
|
|
343
|
+
overflow: hidden;
|
|
344
|
+
text-overflow: ellipsis;
|
|
345
|
+
}
|
|
346
|
+
.brand-rest {
|
|
347
|
+
margin-top: 0.25rem;
|
|
348
|
+
color: var(--accent);
|
|
349
|
+
font-size: 0.6875rem;
|
|
350
|
+
font-weight: 700;
|
|
351
|
+
letter-spacing: 0.2em;
|
|
352
|
+
line-height: 1.2;
|
|
353
|
+
text-transform: uppercase;
|
|
354
|
+
white-space: nowrap;
|
|
355
|
+
overflow: hidden;
|
|
356
|
+
text-overflow: ellipsis;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/* ── Header and menus ── */
|
|
360
|
+
|
|
361
|
+
/*
|
|
362
|
+
The header bar (A1): the brand at the left, the header menu at the right
|
|
363
|
+
(its groups are <details> dropdowns), then the header button. Under 56rem
|
|
364
|
+
(A13) the menu gives way to Menu, which opens the same menu as a sheet
|
|
365
|
+
under the bar and reads Close while it is open; the header button stays
|
|
366
|
+
beside it until the sheet opens, which repeats it full width.
|
|
367
|
+
*/
|
|
368
|
+
.site-header {
|
|
369
|
+
position: relative;
|
|
370
|
+
z-index: 20;
|
|
371
|
+
background: var(--page);
|
|
372
|
+
border-bottom: 1px solid var(--line);
|
|
373
|
+
}
|
|
374
|
+
.site-header-inner {
|
|
375
|
+
max-width: calc(var(--content) + 2 * var(--gutter));
|
|
376
|
+
min-height: 4.125rem;
|
|
377
|
+
margin: 0 auto;
|
|
378
|
+
padding: 0.5rem var(--gutter);
|
|
379
|
+
display: flex;
|
|
380
|
+
align-items: center;
|
|
381
|
+
gap: 0.625rem 1.75rem;
|
|
382
|
+
}
|
|
383
|
+
.site-header .brand {
|
|
384
|
+
margin-right: auto;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.site-header ul {
|
|
388
|
+
list-style: none;
|
|
389
|
+
margin: 0;
|
|
390
|
+
padding: 0;
|
|
391
|
+
}
|
|
392
|
+
/* The header's links take the page's ink; a button (the header button, in the bar and in the sheet) keeps its own. */
|
|
393
|
+
.site-header a:not(.button),
|
|
394
|
+
.site-header summary {
|
|
395
|
+
color: var(--ink);
|
|
396
|
+
text-decoration: none;
|
|
397
|
+
}
|
|
398
|
+
.site-header summary {
|
|
399
|
+
cursor: pointer;
|
|
400
|
+
list-style: none;
|
|
401
|
+
}
|
|
402
|
+
.site-header summary::-webkit-details-marker {
|
|
403
|
+
display: none;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.site-header .header-button {
|
|
407
|
+
flex-shrink: 0;
|
|
408
|
+
white-space: nowrap;
|
|
409
|
+
}
|
|
410
|
+
/*
|
|
411
|
+
The header button on its own page (board C7, C-6): an outline in the
|
|
412
|
+
button's colour, marked current, so the page's own call (the donation
|
|
413
|
+
form's Donate on /donate) is its one filled affordance. Elsewhere it is
|
|
414
|
+
the filled main call.
|
|
415
|
+
*/
|
|
416
|
+
.site-header .button[aria-current='page'] {
|
|
417
|
+
border-color: var(--button);
|
|
418
|
+
background: transparent;
|
|
419
|
+
color: var(--ink);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/* The bar (56rem and wider) */
|
|
423
|
+
.header-bar-menu {
|
|
424
|
+
display: none;
|
|
425
|
+
}
|
|
426
|
+
/*
|
|
427
|
+
The centred header (chrome.header `centered`, A12's Centered name): at the
|
|
428
|
+
bar width the brand takes a row of its own, centred, and the menu is centred
|
|
429
|
+
on the row under it with the switch and the header button at that row's
|
|
430
|
+
right. Under 56rem it is the bar.
|
|
431
|
+
*/
|
|
432
|
+
@media (min-width: 56rem) {
|
|
433
|
+
.site-header[data-layout='centered'] .site-header-inner {
|
|
434
|
+
display: grid;
|
|
435
|
+
grid-template-columns: 1fr auto 1fr;
|
|
436
|
+
align-items: center;
|
|
437
|
+
row-gap: 0.25rem;
|
|
438
|
+
padding-top: 0.875rem;
|
|
439
|
+
padding-bottom: 0.625rem;
|
|
440
|
+
}
|
|
441
|
+
.site-header[data-layout='centered'] .brand {
|
|
442
|
+
grid-column: 1 / -1;
|
|
443
|
+
justify-self: center;
|
|
444
|
+
margin-right: 0;
|
|
445
|
+
}
|
|
446
|
+
.site-header[data-layout='centered'] .brand-words {
|
|
447
|
+
text-align: center;
|
|
448
|
+
}
|
|
449
|
+
/* The second row: the switch at the menu's left, the menu, the button at the right. */
|
|
450
|
+
.site-header[data-layout='centered'] .header-bar-menu {
|
|
451
|
+
grid-column: 2;
|
|
452
|
+
grid-row: 2;
|
|
453
|
+
}
|
|
454
|
+
.site-header[data-layout='centered'] .mode-toggle {
|
|
455
|
+
grid-column: 1;
|
|
456
|
+
grid-row: 2;
|
|
457
|
+
justify-self: end;
|
|
458
|
+
}
|
|
459
|
+
.site-header[data-layout='centered'] .header-button {
|
|
460
|
+
grid-column: 3;
|
|
461
|
+
grid-row: 2;
|
|
462
|
+
justify-self: end;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
.header-bar-menu > ul {
|
|
466
|
+
display: flex;
|
|
467
|
+
align-items: center;
|
|
468
|
+
gap: 0.25rem;
|
|
469
|
+
}
|
|
470
|
+
.header-bar-menu > ul > li {
|
|
471
|
+
position: relative;
|
|
472
|
+
}
|
|
473
|
+
.header-bar-menu > ul > li > a,
|
|
474
|
+
.header-bar-menu > ul > li > span,
|
|
475
|
+
.header-bar-menu summary {
|
|
476
|
+
display: inline-flex;
|
|
477
|
+
align-items: center;
|
|
478
|
+
gap: 0.3125rem;
|
|
479
|
+
padding: 0.5rem 0.75rem;
|
|
480
|
+
border-radius: var(--pill);
|
|
481
|
+
font-weight: 600;
|
|
482
|
+
font-size: 0.9375rem;
|
|
483
|
+
}
|
|
484
|
+
.header-bar-menu > ul > li > a:hover,
|
|
485
|
+
.header-bar-menu summary:hover,
|
|
486
|
+
.header-bar-menu details[open] > summary {
|
|
487
|
+
background: var(--band-tint);
|
|
488
|
+
}
|
|
489
|
+
.header-bar-menu a[aria-current='page'],
|
|
490
|
+
.header-bar-menu .menu-group-current > summary {
|
|
491
|
+
background: var(--band-tint);
|
|
492
|
+
color: var(--band-tint-ink);
|
|
493
|
+
}
|
|
494
|
+
.header-bar-menu summary::after {
|
|
495
|
+
content: '';
|
|
496
|
+
width: 0.35em;
|
|
497
|
+
height: 0.35em;
|
|
498
|
+
margin: -0.2em 0 0 0.15em;
|
|
499
|
+
border-right: 2px solid currentColor;
|
|
500
|
+
border-bottom: 2px solid currentColor;
|
|
501
|
+
transform: rotate(45deg);
|
|
502
|
+
}
|
|
503
|
+
.header-bar-menu details[open] > summary::after {
|
|
504
|
+
margin-top: 0.2em;
|
|
505
|
+
transform: rotate(225deg);
|
|
506
|
+
}
|
|
507
|
+
.header-bar-menu details > ul {
|
|
508
|
+
position: absolute;
|
|
509
|
+
top: calc(100% + 0.75rem);
|
|
510
|
+
left: 0;
|
|
511
|
+
min-width: 14.375rem;
|
|
512
|
+
padding: 0.5rem;
|
|
513
|
+
background: var(--surface);
|
|
514
|
+
border: 1px solid var(--line);
|
|
515
|
+
border-radius: 0.875rem;
|
|
516
|
+
box-shadow: var(--shadow);
|
|
517
|
+
font-size: 0.9375rem;
|
|
518
|
+
}
|
|
519
|
+
/* The last group's dropdown opens leftward, so it stays on the page. */
|
|
520
|
+
.header-bar-menu > ul > li:last-child details > ul {
|
|
521
|
+
left: auto;
|
|
522
|
+
right: 0;
|
|
523
|
+
}
|
|
524
|
+
.header-bar-menu details a,
|
|
525
|
+
.header-bar-menu details span {
|
|
526
|
+
display: block;
|
|
527
|
+
padding: 0.5625rem 0.75rem;
|
|
528
|
+
border-radius: 0.5625rem;
|
|
529
|
+
font-weight: 600;
|
|
530
|
+
}
|
|
531
|
+
.header-bar-menu details a:hover,
|
|
532
|
+
.header-bar-menu details a[aria-current='page'] {
|
|
533
|
+
background: var(--band-tint);
|
|
534
|
+
}
|
|
535
|
+
.header-bar-menu .menu-group-label {
|
|
536
|
+
color: var(--muted);
|
|
537
|
+
font-size: var(--text-xs);
|
|
538
|
+
font-weight: 700;
|
|
539
|
+
letter-spacing: 0.08em;
|
|
540
|
+
text-transform: uppercase;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
/*
|
|
544
|
+
The sheet (under 56rem). Its summary is a quiet control, the menu's glyph
|
|
545
|
+
and the word with no outline, tinted under the pointer and while the sheet
|
|
546
|
+
is open as the bar's links are, with the focus ring the mode toggle beside
|
|
547
|
+
it wears.
|
|
548
|
+
*/
|
|
549
|
+
.header-sheet > summary {
|
|
550
|
+
display: inline-flex;
|
|
551
|
+
align-items: center;
|
|
552
|
+
gap: 0.5rem;
|
|
553
|
+
padding: 0.5rem 0.875rem;
|
|
554
|
+
border-radius: var(--pill);
|
|
555
|
+
font-weight: 700;
|
|
556
|
+
font-size: var(--text-sm);
|
|
557
|
+
}
|
|
558
|
+
.header-sheet > summary:hover,
|
|
559
|
+
.header-sheet[open] > summary {
|
|
560
|
+
background: var(--band-tint);
|
|
561
|
+
color: var(--band-tint-ink);
|
|
562
|
+
}
|
|
563
|
+
.header-sheet > summary:focus-visible {
|
|
564
|
+
outline: 2px solid var(--link);
|
|
565
|
+
outline-offset: 2px;
|
|
566
|
+
}
|
|
567
|
+
.header-sheet > summary::before {
|
|
568
|
+
content: '';
|
|
569
|
+
width: 1rem;
|
|
570
|
+
height: 0.625rem;
|
|
571
|
+
border-top: 2px solid currentColor;
|
|
572
|
+
border-bottom: 2px solid currentColor;
|
|
573
|
+
background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
|
|
574
|
+
}
|
|
575
|
+
.header-sheet[open] > summary::before {
|
|
576
|
+
display: none;
|
|
577
|
+
}
|
|
578
|
+
/* The summary reads Menu, and Close while the sheet is open. */
|
|
579
|
+
.header-sheet .sheet-close,
|
|
580
|
+
.header-sheet[open] .sheet-open {
|
|
581
|
+
display: none;
|
|
582
|
+
}
|
|
583
|
+
.header-sheet[open] .sheet-close {
|
|
584
|
+
display: inline;
|
|
585
|
+
}
|
|
586
|
+
/* The bar's header button gives way to the sheet's own while the sheet is open (A13). */
|
|
587
|
+
.site-header:has(.header-sheet[open]) .header-button {
|
|
588
|
+
display: none;
|
|
589
|
+
}
|
|
590
|
+
.header-sheet-panel {
|
|
591
|
+
position: absolute;
|
|
592
|
+
top: 100%;
|
|
593
|
+
left: 0;
|
|
594
|
+
right: 0;
|
|
595
|
+
max-height: calc(100vh - var(--header-height));
|
|
596
|
+
max-height: calc(100dvh - var(--header-height));
|
|
597
|
+
overflow-y: auto;
|
|
598
|
+
padding: 0.25rem var(--gutter) 1.75rem;
|
|
599
|
+
background: var(--page);
|
|
600
|
+
border-bottom: 1px solid var(--line);
|
|
601
|
+
}
|
|
602
|
+
.header-sheet-panel nav > ul > li {
|
|
603
|
+
border-bottom: 1px solid var(--line);
|
|
604
|
+
}
|
|
605
|
+
.header-sheet-panel nav > ul > li > a,
|
|
606
|
+
.header-sheet-panel nav > ul > li > span {
|
|
607
|
+
display: flex;
|
|
608
|
+
align-items: center;
|
|
609
|
+
justify-content: space-between;
|
|
610
|
+
gap: 1rem;
|
|
611
|
+
padding: 0.875rem 0;
|
|
612
|
+
font-family: var(--font-display);
|
|
613
|
+
font-size: 1.5rem;
|
|
614
|
+
font-weight: 600;
|
|
615
|
+
line-height: 1.2;
|
|
616
|
+
}
|
|
617
|
+
/* A link's chevron (A13); a group's label carries a chevron pointing down. */
|
|
618
|
+
.header-sheet-panel nav > ul > li > a::after,
|
|
619
|
+
.header-sheet-panel nav > ul > li > .menu-group-label::after {
|
|
620
|
+
content: '';
|
|
621
|
+
flex: 0 0 auto;
|
|
622
|
+
width: 0.4rem;
|
|
623
|
+
height: 0.4rem;
|
|
624
|
+
margin-right: 0.25rem;
|
|
625
|
+
border-right: 2px solid currentColor;
|
|
626
|
+
border-bottom: 2px solid currentColor;
|
|
627
|
+
transform: rotate(-45deg);
|
|
628
|
+
}
|
|
629
|
+
.header-sheet-panel nav > ul > li > .menu-group-label::after {
|
|
630
|
+
transform: rotate(45deg);
|
|
631
|
+
}
|
|
632
|
+
.header-sheet-panel nav a[aria-current='page'] {
|
|
633
|
+
color: var(--accent);
|
|
634
|
+
}
|
|
635
|
+
.header-sheet-panel .menu-group ul {
|
|
636
|
+
padding: 0 0 0.75rem 0.875rem;
|
|
637
|
+
}
|
|
638
|
+
.header-sheet-panel .menu-group ul a,
|
|
639
|
+
.header-sheet-panel .menu-group ul span {
|
|
640
|
+
display: block;
|
|
641
|
+
padding: 0.5rem 0;
|
|
642
|
+
font-size: var(--text);
|
|
643
|
+
font-weight: 600;
|
|
644
|
+
}
|
|
645
|
+
/*
|
|
646
|
+
Watch Live, while the organization's stream is live (layouts/Site.astro):
|
|
647
|
+
its label after a dot in the state red, in the bar and the sheet. The dot
|
|
648
|
+
is a state, never an animation.
|
|
649
|
+
*/
|
|
650
|
+
.menu-live {
|
|
651
|
+
display: inline-flex;
|
|
652
|
+
align-items: center;
|
|
653
|
+
gap: 0.5rem;
|
|
654
|
+
}
|
|
655
|
+
.live-dot {
|
|
656
|
+
flex: 0 0 auto;
|
|
657
|
+
width: 0.5rem;
|
|
658
|
+
height: 0.5rem;
|
|
659
|
+
border-radius: 50%;
|
|
660
|
+
background: var(--live);
|
|
661
|
+
}
|
|
662
|
+
/* Under the menu: the header button again, full width, then the legal line. */
|
|
663
|
+
.site-header .header-sheet-button {
|
|
664
|
+
display: flex;
|
|
665
|
+
width: 100%;
|
|
666
|
+
margin-top: 1.25rem;
|
|
667
|
+
}
|
|
668
|
+
.header-sheet-legal {
|
|
669
|
+
margin-top: 0.75rem;
|
|
670
|
+
color: var(--muted);
|
|
671
|
+
font-size: 0.8125rem;
|
|
672
|
+
text-align: center;
|
|
673
|
+
}
|
|
674
|
+
.header-sheet-legal p {
|
|
675
|
+
margin: 0;
|
|
676
|
+
}
|
|
677
|
+
/* The page behind an open sheet dims; the shadow is clipped at the sheet's top so the bar stays clear. */
|
|
678
|
+
.header-sheet[open] .header-sheet-panel {
|
|
679
|
+
box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--band-photo) 55%, transparent);
|
|
680
|
+
clip-path: inset(0 -100vmax -100vmax -100vmax);
|
|
681
|
+
}
|
|
682
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
683
|
+
.header-sheet[open] .header-sheet-panel {
|
|
684
|
+
animation: header-sheet-in 0.2s ease-out;
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
@keyframes header-sheet-in {
|
|
688
|
+
from {
|
|
689
|
+
opacity: 0;
|
|
690
|
+
transform: translateY(-1rem);
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
@media (max-width: 55.99rem) {
|
|
695
|
+
.site-header .brand {
|
|
696
|
+
gap: 0.625rem;
|
|
697
|
+
}
|
|
698
|
+
.site-header .brand-mark {
|
|
699
|
+
width: 2.125rem;
|
|
700
|
+
height: 2.125rem;
|
|
701
|
+
}
|
|
702
|
+
.site-header .brand-name {
|
|
703
|
+
font-size: 1.125rem;
|
|
704
|
+
}
|
|
705
|
+
.site-header .brand-rest {
|
|
706
|
+
font-size: 0.59375rem;
|
|
707
|
+
letter-spacing: 0.16em;
|
|
708
|
+
}
|
|
709
|
+
/* The sheet's summary and the mode toggle give the wordmark the width they can. */
|
|
710
|
+
.site-header .header-sheet > summary {
|
|
711
|
+
padding-inline: 0.75rem;
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
/* A13 at its narrowest: a smaller mark and wordmark, no Menu icon. */
|
|
715
|
+
@media (max-width: 23.75rem) {
|
|
716
|
+
.site-header-inner {
|
|
717
|
+
gap: 0.5rem;
|
|
718
|
+
padding-inline: 0.875rem;
|
|
719
|
+
}
|
|
720
|
+
.site-header .brand-mark {
|
|
721
|
+
width: 1.875rem;
|
|
722
|
+
height: 1.875rem;
|
|
723
|
+
}
|
|
724
|
+
.site-header .brand-name {
|
|
725
|
+
font-size: 1rem;
|
|
726
|
+
}
|
|
727
|
+
.site-header .brand-rest {
|
|
728
|
+
font-size: 0.53125rem;
|
|
729
|
+
letter-spacing: 0.12em;
|
|
730
|
+
}
|
|
731
|
+
.header-sheet > summary {
|
|
732
|
+
padding: 0.4375rem 0.6875rem;
|
|
733
|
+
}
|
|
734
|
+
.header-sheet > summary::before {
|
|
735
|
+
display: none;
|
|
736
|
+
}
|
|
737
|
+
.site-header .header-button {
|
|
738
|
+
padding-inline: 0.75rem;
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
@media (max-width: 21.875rem) {
|
|
742
|
+
.site-header .brand-rest {
|
|
743
|
+
display: none;
|
|
744
|
+
}
|
|
745
|
+
.site-header .brand-name {
|
|
746
|
+
font-size: 0.9375rem;
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
@media (min-width: 56rem) {
|
|
750
|
+
.site-header-inner {
|
|
751
|
+
min-height: var(--header-height);
|
|
752
|
+
}
|
|
753
|
+
.header-bar-menu {
|
|
754
|
+
display: block;
|
|
755
|
+
}
|
|
756
|
+
.header-sheet {
|
|
757
|
+
display: none;
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
/* ── Areas and the sidebar ── */
|
|
762
|
+
|
|
763
|
+
/*
|
|
764
|
+
Top banner sits above the header (A1's announcement strip, or a takeover
|
|
765
|
+
that fills the first screen) and Above the footer over the footer, each
|
|
766
|
+
item full width. A page or an entry is a `.layout`: its main column and,
|
|
767
|
+
when its Sidebar has an item (`.layout-split`), the `.layout-rail` beside
|
|
768
|
+
it, after it on a narrow screen. A page that opens with a Hero puts the
|
|
769
|
+
Hero over both columns, so the rail starts under it (C5). In the rail every
|
|
770
|
+
section is a card on its band's card colour (A4, A6, C5: the sidebar's
|
|
771
|
+
"Coming up", countdown and call to action), the sections a rem apart; a
|
|
772
|
+
call to action there sits on the brand's ground instead.
|
|
773
|
+
*/
|
|
774
|
+
.layout-rail {
|
|
775
|
+
display: grid;
|
|
776
|
+
gap: 1.5rem;
|
|
777
|
+
align-content: start;
|
|
778
|
+
padding: 0 var(--gutter) var(--space);
|
|
779
|
+
}
|
|
780
|
+
.rail {
|
|
781
|
+
--bg-section-padding: 1.5rem;
|
|
782
|
+
}
|
|
783
|
+
.rail .bg-section {
|
|
784
|
+
border: 1px solid var(--line);
|
|
785
|
+
border-radius: var(--radius-card);
|
|
786
|
+
background: var(--surface);
|
|
787
|
+
box-shadow: var(--shadow);
|
|
788
|
+
}
|
|
789
|
+
.rail .bg-section + .bg-section {
|
|
790
|
+
margin-top: 1rem;
|
|
791
|
+
}
|
|
792
|
+
.rail .bg-section.cta {
|
|
793
|
+
border-color: transparent;
|
|
794
|
+
background: var(--bg-band-background);
|
|
795
|
+
}
|
|
796
|
+
.rail h2 {
|
|
797
|
+
font-size: var(--h3);
|
|
798
|
+
}
|
|
799
|
+
@media (min-width: 48rem) {
|
|
800
|
+
.layout-split {
|
|
801
|
+
display: grid;
|
|
802
|
+
grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
|
|
803
|
+
gap: 2rem;
|
|
804
|
+
max-width: calc(var(--content) + 2 * var(--gutter));
|
|
805
|
+
margin: 0 auto;
|
|
806
|
+
}
|
|
807
|
+
.layout-split .layout-rail {
|
|
808
|
+
padding: var(--space) var(--gutter) var(--space) 0;
|
|
809
|
+
}
|
|
810
|
+
/* Where the main column's first band joins the Hero's, the rail starts with it, at the Hero's floor (C5). */
|
|
811
|
+
.bg-bleed-full.bg-band-plain + .layout-split:has(> .layout-main > .bg-bleed-full.bg-band-plain:first-of-type) > .layout-rail {
|
|
812
|
+
padding-top: 0;
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
/* ── Sections ── */
|
|
817
|
+
|
|
818
|
+
.bg-section {
|
|
819
|
+
padding: var(--bg-section-padding);
|
|
820
|
+
background: var(--bg-band-background);
|
|
821
|
+
color: var(--bg-band-color);
|
|
822
|
+
}
|
|
823
|
+
.bg-section-inner {
|
|
824
|
+
max-width: var(--bg-content-width);
|
|
825
|
+
margin: 0 auto;
|
|
826
|
+
}
|
|
827
|
+
.bg-bleed-contained {
|
|
828
|
+
width: min(100% - 2 * var(--gutter), var(--content));
|
|
829
|
+
margin: var(--gutter) auto;
|
|
830
|
+
border-radius: 1.5rem;
|
|
831
|
+
}
|
|
832
|
+
/*
|
|
833
|
+
A contained band on the page's own ground has no box to show: it draws as a
|
|
834
|
+
full one, its content the column's width (C2's StatCards, C7's Progress).
|
|
835
|
+
*/
|
|
836
|
+
.bg-bleed-contained.bg-band-plain {
|
|
837
|
+
width: auto;
|
|
838
|
+
margin: 0;
|
|
839
|
+
border-radius: 0;
|
|
840
|
+
}
|
|
841
|
+
/*
|
|
842
|
+
Two full-width bands of the same ground in a row read as one: no doubled gap
|
|
843
|
+
between them. That holds across a page's opening Hero and the two columns
|
|
844
|
+
under it (C5): the main column's first band and the rail start at the
|
|
845
|
+
Hero's floor.
|
|
846
|
+
*/
|
|
847
|
+
.bg-bleed-full.bg-band-plain + .bg-bleed-full.bg-band-plain,
|
|
848
|
+
.bg-bleed-full.bg-band-tint + .bg-bleed-full.bg-band-tint,
|
|
849
|
+
.bg-bleed-full.bg-band-panel + .bg-bleed-full.bg-band-panel,
|
|
850
|
+
.bg-bleed-full.bg-band-wash + .bg-bleed-full.bg-band-wash,
|
|
851
|
+
.bg-bleed-full.bg-band-contrast + .bg-bleed-full.bg-band-contrast,
|
|
852
|
+
.bg-bleed-full.bg-band-plain + .layout-split > .layout-main > .bg-bleed-full.bg-band-plain:first-of-type,
|
|
853
|
+
.bg-bleed-full.bg-band-tint + .layout-split > .layout-main > .bg-bleed-full.bg-band-tint:first-of-type,
|
|
854
|
+
.bg-bleed-full.bg-band-panel + .layout-split > .layout-main > .bg-bleed-full.bg-band-panel:first-of-type,
|
|
855
|
+
.bg-bleed-full.bg-band-wash + .layout-split > .layout-main > .bg-bleed-full.bg-band-wash:first-of-type,
|
|
856
|
+
.bg-bleed-full.bg-band-contrast + .layout-split > .layout-main > .bg-bleed-full.bg-band-contrast:first-of-type {
|
|
857
|
+
padding-top: 0;
|
|
858
|
+
}
|
|
859
|
+
.bg-section .bg-section-inner > :last-child {
|
|
860
|
+
margin-bottom: 0;
|
|
861
|
+
}
|
|
862
|
+
/* A heading BackGold's DefaultSection writes (money and consent modules, any new type). */
|
|
863
|
+
.bg-section-inner > h2 {
|
|
864
|
+
max-width: var(--measure);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/* A1's kicker: small capitals in the accent over a heading. */
|
|
868
|
+
.kicker {
|
|
869
|
+
color: var(--accent);
|
|
870
|
+
font-size: var(--text-xs);
|
|
871
|
+
font-weight: 700;
|
|
872
|
+
letter-spacing: 0.16em;
|
|
873
|
+
text-transform: uppercase;
|
|
874
|
+
margin-bottom: 0.625rem;
|
|
875
|
+
}
|
|
876
|
+
/* A1's section head: the kicker and heading at the left, the section's "more" link at the right, on the heading's baseline. */
|
|
877
|
+
.section-head {
|
|
878
|
+
display: flex;
|
|
879
|
+
flex-wrap: wrap;
|
|
880
|
+
align-items: flex-end;
|
|
881
|
+
gap: 0.75rem 1.5rem;
|
|
882
|
+
margin-bottom: clamp(1.375rem, 1rem + 1vw, 2rem);
|
|
883
|
+
}
|
|
884
|
+
.section-head h2 {
|
|
885
|
+
margin: 0;
|
|
886
|
+
}
|
|
887
|
+
.section-head-more {
|
|
888
|
+
display: flex;
|
|
889
|
+
flex-wrap: wrap;
|
|
890
|
+
gap: 0.5rem 1.25rem;
|
|
891
|
+
margin: 0 0 0 auto;
|
|
892
|
+
font-size: var(--text-sm);
|
|
893
|
+
font-weight: 700;
|
|
894
|
+
}
|
|
895
|
+
.section-head-more a {
|
|
896
|
+
color: var(--link);
|
|
897
|
+
text-decoration: underline;
|
|
898
|
+
text-decoration-thickness: 1.5px;
|
|
899
|
+
text-underline-offset: 0.25em;
|
|
900
|
+
}
|
|
901
|
+
/* A chip: a label on a soft ground (A1's events, news and roster). */
|
|
902
|
+
.chip {
|
|
903
|
+
display: inline-flex;
|
|
904
|
+
align-items: center;
|
|
905
|
+
padding: 0.1875rem 0.625rem;
|
|
906
|
+
border-radius: var(--pill);
|
|
907
|
+
background: var(--band-tint);
|
|
908
|
+
color: var(--band-tint-ink);
|
|
909
|
+
font-size: var(--text-xs);
|
|
910
|
+
font-weight: 700;
|
|
911
|
+
letter-spacing: 0.04em;
|
|
912
|
+
white-space: nowrap;
|
|
913
|
+
}
|
|
914
|
+
.chip-accent {
|
|
915
|
+
background: color-mix(in srgb, var(--accent) 14%, transparent);
|
|
916
|
+
color: var(--accent);
|
|
917
|
+
}
|
|
918
|
+
.chip-wash {
|
|
919
|
+
background: var(--band-wash);
|
|
920
|
+
color: var(--band-wash-link);
|
|
921
|
+
}
|
|
922
|
+
.lede {
|
|
923
|
+
font-size: var(--text-lg);
|
|
924
|
+
color: var(--muted);
|
|
925
|
+
max-width: var(--measure);
|
|
926
|
+
}
|
|
927
|
+
.muted {
|
|
928
|
+
color: var(--muted);
|
|
929
|
+
}
|
|
930
|
+
.fine {
|
|
931
|
+
color: var(--muted);
|
|
932
|
+
font-size: var(--text-sm);
|
|
933
|
+
}
|
|
934
|
+
.empty {
|
|
935
|
+
color: var(--muted);
|
|
936
|
+
font-style: italic;
|
|
937
|
+
}
|
|
938
|
+
.more {
|
|
939
|
+
margin-top: 1.5rem;
|
|
940
|
+
font-weight: 600;
|
|
941
|
+
}
|
|
942
|
+
/* A link set in a line of text (C1's countdown "Find where to vote"): bold, in the band's link colour, underlined. */
|
|
943
|
+
.text-link {
|
|
944
|
+
color: var(--link);
|
|
945
|
+
font-weight: 700;
|
|
946
|
+
text-decoration: underline;
|
|
947
|
+
text-decoration-thickness: 1.5px;
|
|
948
|
+
text-underline-offset: 0.25em;
|
|
949
|
+
}
|
|
950
|
+
.badge {
|
|
951
|
+
display: inline-block;
|
|
952
|
+
font-size: 0.75rem;
|
|
953
|
+
font-weight: 700;
|
|
954
|
+
letter-spacing: 0.06em;
|
|
955
|
+
text-transform: uppercase;
|
|
956
|
+
padding: 0.125rem 0.5rem;
|
|
957
|
+
border: 1px solid currentColor;
|
|
958
|
+
border-radius: 999px;
|
|
959
|
+
color: var(--muted);
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
.prose {
|
|
963
|
+
max-width: var(--measure);
|
|
964
|
+
line-height: 1.7;
|
|
965
|
+
}
|
|
966
|
+
.prose h2 {
|
|
967
|
+
font-size: calc(var(--h2) * 0.8);
|
|
968
|
+
margin-top: 2rem;
|
|
969
|
+
}
|
|
970
|
+
.prose h3 {
|
|
971
|
+
margin-top: 1.5rem;
|
|
972
|
+
}
|
|
973
|
+
.prose blockquote {
|
|
974
|
+
margin-left: 0;
|
|
975
|
+
padding-left: 1.25rem;
|
|
976
|
+
border-left: 3px solid var(--link);
|
|
977
|
+
color: var(--muted);
|
|
978
|
+
}
|
|
979
|
+
.prose img {
|
|
980
|
+
border-radius: var(--radius);
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
.actions {
|
|
984
|
+
display: flex;
|
|
985
|
+
flex-wrap: wrap;
|
|
986
|
+
gap: 0.75rem;
|
|
987
|
+
margin-top: 1.5rem;
|
|
988
|
+
}
|
|
989
|
+
/*
|
|
990
|
+
A1's buttons: pills, 48px tall (38px small). `.button` is the main call in
|
|
991
|
+
the accent; `.button-2` the quieter solid one in the primary colour;
|
|
992
|
+
`.button-quiet` an outline in the text colour.
|
|
993
|
+
*/
|
|
994
|
+
.button {
|
|
995
|
+
display: inline-flex;
|
|
996
|
+
align-items: center;
|
|
997
|
+
justify-content: center;
|
|
998
|
+
gap: 0.5rem;
|
|
999
|
+
min-height: 3rem;
|
|
1000
|
+
padding: 0 1.375rem;
|
|
1001
|
+
border: 2px solid var(--button);
|
|
1002
|
+
border-radius: var(--pill);
|
|
1003
|
+
background: var(--button);
|
|
1004
|
+
color: var(--button-ink);
|
|
1005
|
+
font-size: 0.9375rem;
|
|
1006
|
+
font-weight: 700;
|
|
1007
|
+
line-height: 1.2;
|
|
1008
|
+
text-align: center;
|
|
1009
|
+
text-decoration: none;
|
|
1010
|
+
}
|
|
1011
|
+
.button:hover {
|
|
1012
|
+
text-decoration: underline;
|
|
1013
|
+
}
|
|
1014
|
+
.button-2 {
|
|
1015
|
+
border-color: var(--button-2);
|
|
1016
|
+
background: var(--button-2);
|
|
1017
|
+
color: var(--button-2-ink);
|
|
1018
|
+
}
|
|
1019
|
+
.button-quiet {
|
|
1020
|
+
background: transparent;
|
|
1021
|
+
border-color: currentColor;
|
|
1022
|
+
color: var(--ink);
|
|
1023
|
+
}
|
|
1024
|
+
.button-small {
|
|
1025
|
+
min-height: 2.375rem;
|
|
1026
|
+
padding: 0 1rem;
|
|
1027
|
+
font-size: var(--text-sm);
|
|
1028
|
+
}
|
|
1029
|
+
.grid {
|
|
1030
|
+
display: grid;
|
|
1031
|
+
gap: clamp(1rem, 2vw, 1.75rem);
|
|
1032
|
+
grid-template-columns: 1fr;
|
|
1033
|
+
padding: 0;
|
|
1034
|
+
margin: 1.5rem 0 0;
|
|
1035
|
+
list-style: none;
|
|
1036
|
+
}
|
|
1037
|
+
@media (min-width: 40rem) {
|
|
1038
|
+
.grid-2 {
|
|
1039
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1040
|
+
}
|
|
1041
|
+
/*
|
|
1042
|
+
At most three tracks, so three cards fill the row; auto-fill keeps a lone
|
|
1043
|
+
card (one post, one person) a card's width rather than the row's.
|
|
1044
|
+
*/
|
|
1045
|
+
.grid-3 {
|
|
1046
|
+
grid-template-columns: repeat(auto-fill, minmax(max(min(100%, 15rem), (100% - 2 * clamp(1rem, 2vw, 1.75rem)) / 3), 1fr));
|
|
1047
|
+
}
|
|
1048
|
+
.stat-list,
|
|
1049
|
+
.quotes .grid {
|
|
1050
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.tile {
|
|
1055
|
+
padding: 1.25rem;
|
|
1056
|
+
border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
|
|
1057
|
+
border-radius: var(--radius);
|
|
1058
|
+
}
|
|
1059
|
+
.tile > :last-child {
|
|
1060
|
+
margin-bottom: 0;
|
|
1061
|
+
}
|
|
1062
|
+
.tile-links {
|
|
1063
|
+
display: flex;
|
|
1064
|
+
gap: 1rem;
|
|
1065
|
+
font-weight: 600;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
/* Hero */
|
|
1069
|
+
.hero h1,
|
|
1070
|
+
.hero-headline {
|
|
1071
|
+
font-size: var(--h1);
|
|
1072
|
+
font-weight: 800;
|
|
1073
|
+
max-width: 20ch;
|
|
1074
|
+
}
|
|
1075
|
+
.hero-lede {
|
|
1076
|
+
font-size: var(--text-lg);
|
|
1077
|
+
max-width: var(--measure);
|
|
1078
|
+
color: var(--muted);
|
|
1079
|
+
}
|
|
1080
|
+
.hero-image {
|
|
1081
|
+
display: block;
|
|
1082
|
+
width: 100%;
|
|
1083
|
+
aspect-ratio: 16 / 9;
|
|
1084
|
+
object-fit: cover;
|
|
1085
|
+
border-radius: calc(var(--radius) * 2);
|
|
1086
|
+
}
|
|
1087
|
+
/* A Hero photo's caption (`copy.caption`, C1's "Photo: …"): a small chip at the photo's lower left, in the photo band's inks. Its frame is positioned. */
|
|
1088
|
+
.photo-caption {
|
|
1089
|
+
position: absolute;
|
|
1090
|
+
left: 0.75rem;
|
|
1091
|
+
bottom: 0.625rem;
|
|
1092
|
+
z-index: 1;
|
|
1093
|
+
max-width: calc(100% - 1.5rem);
|
|
1094
|
+
margin: 0;
|
|
1095
|
+
padding: 0.1875rem 0.5rem;
|
|
1096
|
+
border-radius: 0.25rem;
|
|
1097
|
+
background: color-mix(in srgb, var(--band-photo) 70%, transparent);
|
|
1098
|
+
color: var(--band-photo-ink);
|
|
1099
|
+
font-size: 0.6875rem;
|
|
1100
|
+
line-height: 1.4;
|
|
1101
|
+
}
|
|
1102
|
+
/* The photo's frame: the caption chip is positioned against it. */
|
|
1103
|
+
.hero-photo {
|
|
1104
|
+
position: relative;
|
|
1105
|
+
margin-top: 2rem;
|
|
1106
|
+
}
|
|
1107
|
+
@media (min-width: 48rem) {
|
|
1108
|
+
.hero-split .hero-photo {
|
|
1109
|
+
margin-top: 0;
|
|
1110
|
+
}
|
|
1111
|
+
.hero-split .bg-section-inner {
|
|
1112
|
+
display: grid;
|
|
1113
|
+
grid-template-columns: 1.1fr 1fr;
|
|
1114
|
+
gap: 3rem;
|
|
1115
|
+
align-items: center;
|
|
1116
|
+
}
|
|
1117
|
+
.hero-split .hero-image {
|
|
1118
|
+
aspect-ratio: 4 / 3;
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
/* About */
|
|
1123
|
+
.about-photo {
|
|
1124
|
+
display: block;
|
|
1125
|
+
width: 100%;
|
|
1126
|
+
max-width: 28rem;
|
|
1127
|
+
aspect-ratio: 4 / 3;
|
|
1128
|
+
object-fit: cover;
|
|
1129
|
+
border-radius: calc(var(--radius) * 2);
|
|
1130
|
+
margin-bottom: 2rem;
|
|
1131
|
+
}
|
|
1132
|
+
@media (min-width: 48rem) {
|
|
1133
|
+
.about-with-photo .bg-section-inner {
|
|
1134
|
+
display: grid;
|
|
1135
|
+
grid-template-columns: 1fr 1.4fr;
|
|
1136
|
+
gap: 3rem;
|
|
1137
|
+
align-items: start;
|
|
1138
|
+
}
|
|
1139
|
+
.about-with-photo .about-photo {
|
|
1140
|
+
order: 2;
|
|
1141
|
+
margin-bottom: 0;
|
|
1142
|
+
aspect-ratio: 4 / 5;
|
|
1143
|
+
}
|
|
1144
|
+
.about-photo-left .about-photo {
|
|
1145
|
+
order: 0;
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
/* Figures */
|
|
1150
|
+
.stat-list {
|
|
1151
|
+
margin-top: 1.5rem;
|
|
1152
|
+
}
|
|
1153
|
+
.stat {
|
|
1154
|
+
border-top: 3px solid var(--link);
|
|
1155
|
+
padding-top: 1rem;
|
|
1156
|
+
}
|
|
1157
|
+
.stat p {
|
|
1158
|
+
margin: 0;
|
|
1159
|
+
}
|
|
1160
|
+
.stat-value {
|
|
1161
|
+
font-size: clamp(2.25rem, 1.75rem + 2vw, 3.25rem);
|
|
1162
|
+
font-weight: 800;
|
|
1163
|
+
line-height: 1.05;
|
|
1164
|
+
letter-spacing: -0.02em;
|
|
1165
|
+
}
|
|
1166
|
+
.stat-accent {
|
|
1167
|
+
color: var(--link);
|
|
1168
|
+
}
|
|
1169
|
+
.stat-label {
|
|
1170
|
+
font-weight: 600;
|
|
1171
|
+
margin-top: 0.25rem;
|
|
1172
|
+
}
|
|
1173
|
+
.stat-note {
|
|
1174
|
+
color: var(--muted);
|
|
1175
|
+
font-size: var(--text-sm);
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
/* Quotes: QuoteStrip's row (C2): a card on the band's surface, the quote over who said it. */
|
|
1179
|
+
.quote {
|
|
1180
|
+
display: flex;
|
|
1181
|
+
flex-direction: column;
|
|
1182
|
+
justify-content: space-between;
|
|
1183
|
+
gap: 1.25rem;
|
|
1184
|
+
margin: 0;
|
|
1185
|
+
height: 100%;
|
|
1186
|
+
padding: 1.5rem;
|
|
1187
|
+
border: 1px solid var(--line);
|
|
1188
|
+
border-radius: var(--radius);
|
|
1189
|
+
background: var(--surface);
|
|
1190
|
+
box-shadow: var(--shadow);
|
|
1191
|
+
}
|
|
1192
|
+
.quote blockquote {
|
|
1193
|
+
margin: 0;
|
|
1194
|
+
font-size: var(--text-lg);
|
|
1195
|
+
line-height: 1.5;
|
|
1196
|
+
}
|
|
1197
|
+
.quote blockquote p {
|
|
1198
|
+
margin: 0;
|
|
1199
|
+
}
|
|
1200
|
+
.quote-words:not(.quote-quoted)::before {
|
|
1201
|
+
content: open-quote;
|
|
1202
|
+
}
|
|
1203
|
+
.quote-words:not(.quote-quoted)::after {
|
|
1204
|
+
content: close-quote;
|
|
1205
|
+
}
|
|
1206
|
+
.quote-by {
|
|
1207
|
+
display: flex;
|
|
1208
|
+
align-items: center;
|
|
1209
|
+
gap: 0.75rem;
|
|
1210
|
+
}
|
|
1211
|
+
.quote-mark {
|
|
1212
|
+
flex: 0 0 auto;
|
|
1213
|
+
width: 2.75rem;
|
|
1214
|
+
height: 2.75rem;
|
|
1215
|
+
border-radius: 50%;
|
|
1216
|
+
object-fit: cover;
|
|
1217
|
+
}
|
|
1218
|
+
.quote-initials {
|
|
1219
|
+
display: grid;
|
|
1220
|
+
place-items: center;
|
|
1221
|
+
background: var(--button-2);
|
|
1222
|
+
color: var(--button-2-ink);
|
|
1223
|
+
font-family: var(--font-display);
|
|
1224
|
+
font-size: 0.875rem;
|
|
1225
|
+
font-weight: 700;
|
|
1226
|
+
letter-spacing: 0.02em;
|
|
1227
|
+
}
|
|
1228
|
+
.quote-who {
|
|
1229
|
+
min-width: 0;
|
|
1230
|
+
}
|
|
1231
|
+
.quote-name {
|
|
1232
|
+
display: block;
|
|
1233
|
+
font-weight: 700;
|
|
1234
|
+
font-size: var(--text-sm);
|
|
1235
|
+
line-height: 1.3;
|
|
1236
|
+
}
|
|
1237
|
+
.quote-role {
|
|
1238
|
+
display: block;
|
|
1239
|
+
color: var(--muted);
|
|
1240
|
+
font-size: var(--text-xs);
|
|
1241
|
+
line-height: 1.4;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
/* Video */
|
|
1245
|
+
.video-frame {
|
|
1246
|
+
margin: 0;
|
|
1247
|
+
}
|
|
1248
|
+
.video-frame iframe,
|
|
1249
|
+
.video-frame video {
|
|
1250
|
+
display: block;
|
|
1251
|
+
width: 100%;
|
|
1252
|
+
aspect-ratio: 16 / 9;
|
|
1253
|
+
border: 0;
|
|
1254
|
+
border-radius: var(--radius);
|
|
1255
|
+
background: var(--band-contrast);
|
|
1256
|
+
}
|
|
1257
|
+
.video-portrait {
|
|
1258
|
+
max-width: 24rem;
|
|
1259
|
+
margin-inline: auto;
|
|
1260
|
+
}
|
|
1261
|
+
.video-portrait iframe,
|
|
1262
|
+
.video-portrait video {
|
|
1263
|
+
aspect-ratio: 9 / 16;
|
|
1264
|
+
}
|
|
1265
|
+
.video-frame figcaption {
|
|
1266
|
+
margin-top: 0.75rem;
|
|
1267
|
+
color: var(--muted);
|
|
1268
|
+
font-size: var(--text-sm);
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
/* Progress and countdown */
|
|
1272
|
+
.progress-figures {
|
|
1273
|
+
font-size: var(--text-lg);
|
|
1274
|
+
}
|
|
1275
|
+
.progress-raised {
|
|
1276
|
+
font-size: var(--h2);
|
|
1277
|
+
font-weight: 800;
|
|
1278
|
+
letter-spacing: -0.02em;
|
|
1279
|
+
}
|
|
1280
|
+
.meter {
|
|
1281
|
+
height: 0.75rem;
|
|
1282
|
+
border-radius: 999px;
|
|
1283
|
+
background: color-mix(in srgb, var(--ink) 15%, transparent);
|
|
1284
|
+
overflow: hidden;
|
|
1285
|
+
}
|
|
1286
|
+
.meter-fill {
|
|
1287
|
+
display: block;
|
|
1288
|
+
height: 100%;
|
|
1289
|
+
background: var(--button);
|
|
1290
|
+
}
|
|
1291
|
+
.countdown-body {
|
|
1292
|
+
max-width: var(--measure);
|
|
1293
|
+
color: var(--muted);
|
|
1294
|
+
}
|
|
1295
|
+
.countdown-left {
|
|
1296
|
+
font-size: var(--text-lg);
|
|
1297
|
+
}
|
|
1298
|
+
.countdown-number {
|
|
1299
|
+
font-size: var(--h2);
|
|
1300
|
+
font-weight: 800;
|
|
1301
|
+
letter-spacing: -0.02em;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
/* Regions */
|
|
1305
|
+
.region-list {
|
|
1306
|
+
padding-left: 1.1rem;
|
|
1307
|
+
}
|
|
1308
|
+
.region-list-long {
|
|
1309
|
+
columns: 2 10rem;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
/* Platform */
|
|
1313
|
+
.platform-part + .platform-part {
|
|
1314
|
+
margin-top: 2.5rem;
|
|
1315
|
+
}
|
|
1316
|
+
.platform-num {
|
|
1317
|
+
color: var(--link);
|
|
1318
|
+
margin-right: 0.25rem;
|
|
1319
|
+
}
|
|
1320
|
+
.plank-list {
|
|
1321
|
+
padding-left: 1.25rem;
|
|
1322
|
+
max-width: var(--measure);
|
|
1323
|
+
}
|
|
1324
|
+
.plank {
|
|
1325
|
+
margin-bottom: 1.25rem;
|
|
1326
|
+
}
|
|
1327
|
+
.plank-headline {
|
|
1328
|
+
font-weight: 700;
|
|
1329
|
+
margin-bottom: 0.25rem;
|
|
1330
|
+
}
|
|
1331
|
+
details summary {
|
|
1332
|
+
cursor: pointer;
|
|
1333
|
+
color: var(--link);
|
|
1334
|
+
font-weight: 600;
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
/* People */
|
|
1338
|
+
.person-photo {
|
|
1339
|
+
display: block;
|
|
1340
|
+
width: 100%;
|
|
1341
|
+
max-width: 10rem;
|
|
1342
|
+
aspect-ratio: 1;
|
|
1343
|
+
object-fit: cover;
|
|
1344
|
+
border-radius: var(--radius);
|
|
1345
|
+
margin-bottom: 1rem;
|
|
1346
|
+
}
|
|
1347
|
+
@media (min-width: 40rem) {
|
|
1348
|
+
.person-photo {
|
|
1349
|
+
max-width: none;
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
.person-initials {
|
|
1353
|
+
display: grid;
|
|
1354
|
+
place-items: center;
|
|
1355
|
+
background: color-mix(in srgb, var(--ink) 8%, transparent);
|
|
1356
|
+
color: var(--muted);
|
|
1357
|
+
font-size: var(--h2);
|
|
1358
|
+
font-weight: 700;
|
|
1359
|
+
letter-spacing: 0.04em;
|
|
1360
|
+
}
|
|
1361
|
+
.person h3 {
|
|
1362
|
+
margin-bottom: 0.125rem;
|
|
1363
|
+
}
|
|
1364
|
+
.staff-list {
|
|
1365
|
+
list-style: none;
|
|
1366
|
+
padding: 0;
|
|
1367
|
+
margin-top: 1.5rem;
|
|
1368
|
+
}
|
|
1369
|
+
.staff-list li {
|
|
1370
|
+
padding: 0.5rem 0;
|
|
1371
|
+
border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
|
|
1372
|
+
}
|
|
1373
|
+
.open-roles {
|
|
1374
|
+
margin-top: 2.5rem;
|
|
1375
|
+
}
|
|
1376
|
+
.ranked {
|
|
1377
|
+
max-width: 32rem;
|
|
1378
|
+
}
|
|
1379
|
+
.ranked li {
|
|
1380
|
+
display: flex;
|
|
1381
|
+
justify-content: space-between;
|
|
1382
|
+
gap: 1rem;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
/* Featured post */
|
|
1386
|
+
.featured-title a {
|
|
1387
|
+
color: inherit;
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/* Embeds placed by @backgold/astro */
|
|
1391
|
+
.bg-embed {
|
|
1392
|
+
border-radius: var(--radius);
|
|
1393
|
+
background: var(--page);
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
/* ── Cards and listings ── */
|
|
1397
|
+
|
|
1398
|
+
/* An entry's card (A1's news, C1's Blog · cards): raised on the band's card colour, the cover over the words. */
|
|
1399
|
+
.card {
|
|
1400
|
+
position: relative;
|
|
1401
|
+
display: flex;
|
|
1402
|
+
flex-direction: column;
|
|
1403
|
+
border: 1px solid var(--line);
|
|
1404
|
+
border-radius: var(--radius-card);
|
|
1405
|
+
overflow: hidden;
|
|
1406
|
+
background: var(--surface);
|
|
1407
|
+
box-shadow: var(--shadow);
|
|
1408
|
+
}
|
|
1409
|
+
.card-image {
|
|
1410
|
+
display: block;
|
|
1411
|
+
width: 100%;
|
|
1412
|
+
aspect-ratio: 16 / 10;
|
|
1413
|
+
object-fit: cover;
|
|
1414
|
+
}
|
|
1415
|
+
.card-body {
|
|
1416
|
+
padding: 1.25rem 1.375rem 1.5rem;
|
|
1417
|
+
display: flex;
|
|
1418
|
+
flex-direction: column;
|
|
1419
|
+
gap: 0.5rem;
|
|
1420
|
+
}
|
|
1421
|
+
.card-body > * {
|
|
1422
|
+
margin: 0;
|
|
1423
|
+
}
|
|
1424
|
+
.card-title {
|
|
1425
|
+
font-size: var(--h3);
|
|
1426
|
+
}
|
|
1427
|
+
.card-title a {
|
|
1428
|
+
color: var(--ink);
|
|
1429
|
+
text-decoration: none;
|
|
1430
|
+
}
|
|
1431
|
+
.card-title a::after {
|
|
1432
|
+
content: '';
|
|
1433
|
+
position: absolute;
|
|
1434
|
+
inset: 0;
|
|
1435
|
+
}
|
|
1436
|
+
.card:hover .card-title a {
|
|
1437
|
+
text-decoration: underline;
|
|
1438
|
+
}
|
|
1439
|
+
.card:focus-within {
|
|
1440
|
+
outline: 3px solid var(--ink);
|
|
1441
|
+
outline-offset: 3px;
|
|
1442
|
+
}
|
|
1443
|
+
.card-title a:focus-visible {
|
|
1444
|
+
outline: none;
|
|
1445
|
+
}
|
|
1446
|
+
.card-chips {
|
|
1447
|
+
display: flex;
|
|
1448
|
+
flex-wrap: wrap;
|
|
1449
|
+
gap: 0.375rem;
|
|
1450
|
+
}
|
|
1451
|
+
.card-meta {
|
|
1452
|
+
color: var(--muted);
|
|
1453
|
+
font-size: var(--text-sm);
|
|
1454
|
+
}
|
|
1455
|
+
.card-summary {
|
|
1456
|
+
color: var(--muted);
|
|
1457
|
+
}
|
|
1458
|
+
.card-date {
|
|
1459
|
+
color: var(--muted);
|
|
1460
|
+
font-size: var(--text-sm);
|
|
1461
|
+
}
|
|
1462
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1463
|
+
.card {
|
|
1464
|
+
transition:
|
|
1465
|
+
transform 0.15s ease,
|
|
1466
|
+
box-shadow 0.15s ease;
|
|
1467
|
+
}
|
|
1468
|
+
/* The boards' motion note: a card lifts 2px with a deeper shadow on hover. */
|
|
1469
|
+
.card:hover {
|
|
1470
|
+
transform: translateY(-2px);
|
|
1471
|
+
box-shadow: var(--shadow), 0 14px 28px -18px color-mix(in srgb, var(--shadow-ink) 45%, transparent);
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
.page-header,
|
|
1476
|
+
.listing,
|
|
1477
|
+
.entry {
|
|
1478
|
+
max-width: calc(var(--content) + 2 * var(--gutter));
|
|
1479
|
+
margin: 0 auto;
|
|
1480
|
+
padding: var(--space) var(--gutter) 0;
|
|
1481
|
+
}
|
|
1482
|
+
.listing,
|
|
1483
|
+
.entry {
|
|
1484
|
+
padding-bottom: var(--space);
|
|
1485
|
+
}
|
|
1486
|
+
.page-header:has(+ .bg-section) {
|
|
1487
|
+
padding-bottom: calc(var(--space) / 2);
|
|
1488
|
+
}
|
|
1489
|
+
.page-header + .bg-bleed-full.bg-band-plain {
|
|
1490
|
+
padding-top: 0;
|
|
1491
|
+
}
|
|
1492
|
+
.page-header + .bg-section {
|
|
1493
|
+
margin-top: 0;
|
|
1494
|
+
}
|
|
1495
|
+
.listing .page-header {
|
|
1496
|
+
padding: 0;
|
|
1497
|
+
}
|
|
1498
|
+
.page-header h1 {
|
|
1499
|
+
max-width: 24ch;
|
|
1500
|
+
}
|
|
1501
|
+
.not-found {
|
|
1502
|
+
padding-bottom: var(--space);
|
|
1503
|
+
}
|
|
1504
|
+
.author-avatar {
|
|
1505
|
+
width: 6rem;
|
|
1506
|
+
height: 6rem;
|
|
1507
|
+
border-radius: 50%;
|
|
1508
|
+
object-fit: cover;
|
|
1509
|
+
margin-bottom: 1rem;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
/* ── An entry's page ── */
|
|
1513
|
+
|
|
1514
|
+
.entry {
|
|
1515
|
+
max-width: calc(var(--measure) + 2 * var(--gutter));
|
|
1516
|
+
}
|
|
1517
|
+
.entry-header h1 {
|
|
1518
|
+
font-size: calc(var(--h1) * 0.85);
|
|
1519
|
+
}
|
|
1520
|
+
.byline {
|
|
1521
|
+
color: var(--muted);
|
|
1522
|
+
font-size: var(--text-sm);
|
|
1523
|
+
}
|
|
1524
|
+
.entry-hero {
|
|
1525
|
+
display: block;
|
|
1526
|
+
width: 100%;
|
|
1527
|
+
margin: 1.5rem 0 2rem;
|
|
1528
|
+
border-radius: var(--radius);
|
|
1529
|
+
}
|
|
1530
|
+
.entry-media {
|
|
1531
|
+
display: block;
|
|
1532
|
+
width: 100%;
|
|
1533
|
+
margin: 0 0 2rem;
|
|
1534
|
+
}
|
|
1535
|
+
.fields {
|
|
1536
|
+
margin-top: 2.5rem;
|
|
1537
|
+
border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
|
|
1538
|
+
}
|
|
1539
|
+
.field {
|
|
1540
|
+
padding: 1rem 0;
|
|
1541
|
+
border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
|
|
1542
|
+
}
|
|
1543
|
+
.field dt {
|
|
1544
|
+
font-size: var(--text-sm);
|
|
1545
|
+
font-weight: 700;
|
|
1546
|
+
color: var(--muted);
|
|
1547
|
+
margin-bottom: 0.25rem;
|
|
1548
|
+
}
|
|
1549
|
+
.field dd {
|
|
1550
|
+
margin: 0;
|
|
1551
|
+
}
|
|
1552
|
+
.field dd > :last-child {
|
|
1553
|
+
margin-bottom: 0;
|
|
1554
|
+
}
|
|
1555
|
+
.field img {
|
|
1556
|
+
border-radius: var(--radius);
|
|
1557
|
+
}
|
|
1558
|
+
@media (min-width: 40rem) {
|
|
1559
|
+
.field {
|
|
1560
|
+
display: grid;
|
|
1561
|
+
grid-template-columns: 11rem 1fr;
|
|
1562
|
+
gap: 1rem;
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
/* ── Footer ── */
|
|
1567
|
+
|
|
1568
|
+
/*
|
|
1569
|
+
A1's footer, on the contrast band: the brand, the site's line and its
|
|
1570
|
+
social links in the first column, the Contact column and a column per
|
|
1571
|
+
footer-menu group beside it, the legal line boxed across the bottom, then
|
|
1572
|
+
the bottom row (the utility menu, the footer's legal links, the copyright
|
|
1573
|
+
line and "Powered by BackGold"). On a phone (A13) the columns go two up
|
|
1574
|
+
with the first spanning both. The footer's `data-layout` is the layout the
|
|
1575
|
+
site chose: giving (the donate strip on top), columns, closing (the
|
|
1576
|
+
ClosingCall band above) or compact (one row, .footer-compact).
|
|
1577
|
+
*/
|
|
1578
|
+
.site-footer {
|
|
1579
|
+
background: var(--bg-band-background);
|
|
1580
|
+
color: var(--ink);
|
|
1581
|
+
font-size: 0.9375rem;
|
|
1582
|
+
}
|
|
1583
|
+
.site-footer-inner {
|
|
1584
|
+
max-width: calc(var(--content) + 2 * var(--gutter));
|
|
1585
|
+
margin: 0 auto;
|
|
1586
|
+
padding: clamp(2.75rem, 2rem + 2.5vw, 4rem) var(--gutter) 1.75rem;
|
|
1587
|
+
}
|
|
1588
|
+
.footer-grid {
|
|
1589
|
+
display: grid;
|
|
1590
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1591
|
+
gap: 1.75rem;
|
|
1592
|
+
}
|
|
1593
|
+
.footer-brand {
|
|
1594
|
+
grid-column: 1 / -1;
|
|
1595
|
+
}
|
|
1596
|
+
/* The footer's links take the band's ink; a button (the donate strip's, the closing call's) keeps its own. */
|
|
1597
|
+
.site-footer a:not(.button) {
|
|
1598
|
+
color: var(--ink);
|
|
1599
|
+
}
|
|
1600
|
+
.footer-description {
|
|
1601
|
+
max-width: 26em;
|
|
1602
|
+
margin: 1rem 0 0;
|
|
1603
|
+
color: var(--muted);
|
|
1604
|
+
}
|
|
1605
|
+
.footer-columns {
|
|
1606
|
+
display: contents;
|
|
1607
|
+
}
|
|
1608
|
+
.footer-heading {
|
|
1609
|
+
margin: 0 0 0.875rem;
|
|
1610
|
+
font-family: var(--font);
|
|
1611
|
+
font-size: var(--text-xs);
|
|
1612
|
+
font-weight: 700;
|
|
1613
|
+
letter-spacing: 0.16em;
|
|
1614
|
+
text-transform: uppercase;
|
|
1615
|
+
color: var(--muted);
|
|
1616
|
+
}
|
|
1617
|
+
.footer-column ul {
|
|
1618
|
+
display: grid;
|
|
1619
|
+
gap: 0.5rem;
|
|
1620
|
+
list-style: none;
|
|
1621
|
+
margin: 0;
|
|
1622
|
+
padding: 0;
|
|
1623
|
+
}
|
|
1624
|
+
.footer-column a {
|
|
1625
|
+
text-decoration: none;
|
|
1626
|
+
}
|
|
1627
|
+
.footer-column a:hover,
|
|
1628
|
+
.footer-column a[aria-current='page'] {
|
|
1629
|
+
text-decoration: underline;
|
|
1630
|
+
}
|
|
1631
|
+
.social {
|
|
1632
|
+
display: flex;
|
|
1633
|
+
flex-wrap: wrap;
|
|
1634
|
+
gap: 0.625rem;
|
|
1635
|
+
list-style: none;
|
|
1636
|
+
margin: 1.25rem 0 0;
|
|
1637
|
+
padding: 0;
|
|
1638
|
+
}
|
|
1639
|
+
.social a {
|
|
1640
|
+
display: grid;
|
|
1641
|
+
place-items: center;
|
|
1642
|
+
width: 2.25rem;
|
|
1643
|
+
height: 2.25rem;
|
|
1644
|
+
border: 1px solid var(--line-strong);
|
|
1645
|
+
border-radius: 50%;
|
|
1646
|
+
font-size: var(--text-xs);
|
|
1647
|
+
font-weight: 700;
|
|
1648
|
+
text-decoration: none;
|
|
1649
|
+
}
|
|
1650
|
+
.social a:hover {
|
|
1651
|
+
border-color: var(--ink);
|
|
1652
|
+
}
|
|
1653
|
+
.disclaimer {
|
|
1654
|
+
margin-top: 2.75rem;
|
|
1655
|
+
}
|
|
1656
|
+
.disclaimer p {
|
|
1657
|
+
margin: 0;
|
|
1658
|
+
padding: 0.875rem 1.125rem;
|
|
1659
|
+
border: 1px solid var(--line-strong);
|
|
1660
|
+
border-radius: var(--radius);
|
|
1661
|
+
font-size: var(--text-sm);
|
|
1662
|
+
}
|
|
1663
|
+
.footer-row {
|
|
1664
|
+
display: flex;
|
|
1665
|
+
flex-wrap: wrap;
|
|
1666
|
+
align-items: center;
|
|
1667
|
+
gap: 0.5rem 1.25rem;
|
|
1668
|
+
margin-top: 1.375rem;
|
|
1669
|
+
color: var(--muted);
|
|
1670
|
+
font-size: 0.8125rem;
|
|
1671
|
+
}
|
|
1672
|
+
.footer-row ul {
|
|
1673
|
+
display: flex;
|
|
1674
|
+
flex-wrap: wrap;
|
|
1675
|
+
gap: 0.5rem 1.25rem;
|
|
1676
|
+
list-style: none;
|
|
1677
|
+
margin: 0;
|
|
1678
|
+
padding: 0;
|
|
1679
|
+
}
|
|
1680
|
+
.footer-row a {
|
|
1681
|
+
color: var(--muted);
|
|
1682
|
+
text-decoration: none;
|
|
1683
|
+
}
|
|
1684
|
+
.footer-row a:hover {
|
|
1685
|
+
color: var(--ink);
|
|
1686
|
+
text-decoration: underline;
|
|
1687
|
+
}
|
|
1688
|
+
/*
|
|
1689
|
+
The Contact column (the footer's address and phone, from its editor in
|
|
1690
|
+
BackGold): one more column beside the menu's, in the same voice.
|
|
1691
|
+
*/
|
|
1692
|
+
.footer-address {
|
|
1693
|
+
font-style: normal;
|
|
1694
|
+
}
|
|
1695
|
+
/*
|
|
1696
|
+
The copyright line and "Powered by BackGold" (a link to backgold.com, in the
|
|
1697
|
+
row's own link style) at the bottom row's end; the copyright is the footer's
|
|
1698
|
+
own line, else "© year name".
|
|
1699
|
+
*/
|
|
1700
|
+
.footer-copyright {
|
|
1701
|
+
margin-left: auto;
|
|
1702
|
+
}
|
|
1703
|
+
/*
|
|
1704
|
+
The compact footer (chrome.footer `compact`): one row, the brand beside its
|
|
1705
|
+
social links; the legal line and the bottom row follow as on every layout.
|
|
1706
|
+
*/
|
|
1707
|
+
.footer-compact {
|
|
1708
|
+
display: flex;
|
|
1709
|
+
flex-wrap: wrap;
|
|
1710
|
+
align-items: center;
|
|
1711
|
+
justify-content: space-between;
|
|
1712
|
+
gap: 1rem 2rem;
|
|
1713
|
+
}
|
|
1714
|
+
.footer-compact .social {
|
|
1715
|
+
margin: 0;
|
|
1716
|
+
}
|
|
1717
|
+
.site-footer[data-layout='compact'] .site-footer-inner {
|
|
1718
|
+
padding-top: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
|
|
1719
|
+
}
|
|
1720
|
+
.site-footer[data-layout='compact'] .disclaimer {
|
|
1721
|
+
margin-top: 1.75rem;
|
|
1722
|
+
}
|
|
1723
|
+
@media (min-width: 48rem) {
|
|
1724
|
+
/*
|
|
1725
|
+
The grid is as wide as the columns it holds (--footer-columns: the Contact
|
|
1726
|
+
column and the menu's, counted by the layout): the brand's column, then
|
|
1727
|
+
one per column. With none, the brand and its line stand alone, never at
|
|
1728
|
+
the left of three empty columns.
|
|
1729
|
+
*/
|
|
1730
|
+
.footer-grid {
|
|
1731
|
+
grid-template-columns: minmax(0, 1.4fr) repeat(var(--footer-columns, 3), minmax(0, 1fr));
|
|
1732
|
+
gap: 2.25rem;
|
|
1733
|
+
}
|
|
1734
|
+
.footer-grid[style*='--footer-columns: 0'] {
|
|
1735
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1736
|
+
}
|
|
1737
|
+
.footer-grid[style*='--footer-columns: 0'] .footer-description {
|
|
1738
|
+
max-width: var(--measure);
|
|
1739
|
+
}
|
|
1740
|
+
.footer-brand {
|
|
1741
|
+
grid-column: auto;
|
|
1742
|
+
}
|
|
1743
|
+
.footer-copyright {
|
|
1744
|
+
margin-left: auto;
|
|
1745
|
+
}
|
|
1746
|
+
.footer-powered {
|
|
1747
|
+
margin-left: 0;
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1751
|
+
/* ── Phone width ── */
|
|
1752
|
+
|
|
1753
|
+
/*
|
|
1754
|
+
Nothing a page carries may push it wider than the screen: long tables and
|
|
1755
|
+
code in authored prose scroll inside themselves, and a word with no break
|
|
1756
|
+
(an address, a long name) wraps anywhere. Under 22rem the footer's columns
|
|
1757
|
+
stack into one.
|
|
1758
|
+
*/
|
|
1759
|
+
.prose pre,
|
|
1760
|
+
.prose table {
|
|
1761
|
+
display: block;
|
|
1762
|
+
max-width: 100%;
|
|
1763
|
+
overflow-x: auto;
|
|
1764
|
+
}
|
|
1765
|
+
.layout-main {
|
|
1766
|
+
min-width: 0;
|
|
1767
|
+
}
|
|
1768
|
+
.brand-words,
|
|
1769
|
+
.footer-column a,
|
|
1770
|
+
.byline,
|
|
1771
|
+
.crumbs {
|
|
1772
|
+
overflow-wrap: anywhere;
|
|
1773
|
+
}
|
|
1774
|
+
@media (max-width: 22rem) {
|
|
1775
|
+
.footer-grid {
|
|
1776
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
/* ── Preview bar (from @backgold/astro) ── */
|
|
1781
|
+
|
|
1782
|
+
body:has(.bg-preview-bar) {
|
|
1783
|
+
padding-top: 2.25rem;
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
/* ── Setup page ── */
|
|
1787
|
+
|
|
1788
|
+
.setup {
|
|
1789
|
+
max-width: 40rem;
|
|
1790
|
+
margin: 0 auto;
|
|
1791
|
+
padding: var(--space) var(--gutter);
|
|
1792
|
+
}
|
|
1793
|
+
.setup h1 {
|
|
1794
|
+
font-size: calc(var(--h1) * 0.75);
|
|
1795
|
+
}
|
|
1796
|
+
.setup h2 {
|
|
1797
|
+
font-size: var(--h3);
|
|
1798
|
+
margin-top: 2rem;
|
|
1799
|
+
}
|
|
1800
|
+
.setup-list {
|
|
1801
|
+
list-style: none;
|
|
1802
|
+
padding: 0;
|
|
1803
|
+
}
|
|
1804
|
+
.setup-list li {
|
|
1805
|
+
padding: 1rem 1.25rem;
|
|
1806
|
+
margin-bottom: 0.75rem;
|
|
1807
|
+
border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
|
|
1808
|
+
border-radius: var(--radius);
|
|
1809
|
+
background: var(--band-panel);
|
|
1810
|
+
}
|
|
1811
|
+
.setup-list p {
|
|
1812
|
+
margin: 0 0 0.25rem;
|
|
1813
|
+
}
|
|
1814
|
+
.setup-list code {
|
|
1815
|
+
font-weight: 700;
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
/* ── Motion ── */
|
|
1819
|
+
|
|
1820
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1821
|
+
html {
|
|
1822
|
+
scroll-behavior: smooth;
|
|
1823
|
+
}
|
|
1824
|
+
a,
|
|
1825
|
+
.button {
|
|
1826
|
+
transition:
|
|
1827
|
+
color 0.15s ease,
|
|
1828
|
+
background-color 0.15s ease,
|
|
1829
|
+
text-decoration-thickness 0.15s ease;
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
@media print {
|
|
1834
|
+
.site-header nav,
|
|
1835
|
+
.header-sheet,
|
|
1836
|
+
.skip-link {
|
|
1837
|
+
display: none;
|
|
1838
|
+
}
|
|
1839
|
+
}
|