@backgold/template-kit 0.0.0-stage → 0.1.1
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-RJAVFRC6.js +67 -0
- package/dist/constants-BAIo_Q5U.d-lQbj1e1-.d.ts +48 -0
- package/dist/content-api-Cox1-wz5.d.ts +1096 -0
- package/dist/contract/content-api-examples.d.ts +72 -0
- package/dist/contract/content-api-examples.js +926 -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 +253 -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 +61 -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 +80 -0
- package/src/components/sections/About/index.astro +60 -0
- package/src/components/sections/About/left.astro +57 -0
- package/src/components/sections/About/letter.astro +111 -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 +126 -0
- package/src/components/sections/ContentPost/player.astro +254 -0
- package/src/components/sections/ContentPost/prose.astro +80 -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 +176 -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 +99 -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/Lookup.astro +43 -0
- package/src/components/sections/VoterTools/dates.astro +153 -0
- package/src/components/sections/VoterTools/index.astro +231 -0
- package/src/components/sections/VoterTools/polling.astro +144 -0
- package/src/components/sections/VoterTools/voter-tools.ts +71 -0
- package/src/components/sections/index.ts +373 -0
- package/src/components/sections/modules/Headed.astro +39 -0
- package/src/components/sections/modules/ModuleFrame.astro +181 -0
- package/src/components/store/CollectionPage.astro +40 -0
- package/src/components/store/ProductCard.astro +32 -0
- package/src/components/store/ProductGrid.astro +16 -0
- package/src/components/store/ProductPage.astro +146 -0
- package/src/components/store/StorePage.astro +137 -0
- package/src/components/store/StoreScript.astro +572 -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 +63 -0
- package/src/layouts/Site.astro +387 -0
- package/src/lib/academy.ts +146 -0
- package/src/lib/brand.ts +534 -0
- package/src/lib/chrome.ts +121 -0
- package/src/lib/donate-frame.ts +104 -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 +55 -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 +105 -0
- package/src/lib/shifts.ts +187 -0
- package/src/lib/store.ts +521 -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 +435 -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/styles/entries.css +784 -0
- package/src/styles/site.css +1910 -0
- package/src/styles/store.css +634 -0
- package/src/template.ts +182 -0
|
@@ -0,0 +1,1910 @@
|
|
|
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
|
+
/*
|
|
327
|
+
The logo with the name beside it (`showName`): the logo keeps its size, up
|
|
328
|
+
to half the screen's width for a wide one, and the wordmark beside it is
|
|
329
|
+
what gives way when the bar is short of room.
|
|
330
|
+
*/
|
|
331
|
+
.brand-named .brand-logo {
|
|
332
|
+
flex: 0 0 auto;
|
|
333
|
+
max-width: min(14rem, 50vw);
|
|
334
|
+
}
|
|
335
|
+
.brand-named .brand-words {
|
|
336
|
+
overflow: hidden;
|
|
337
|
+
}
|
|
338
|
+
/* The menu's labels stay one line each beside it, so the wordmark is what shortens. */
|
|
339
|
+
.site-header:has(.brand-named) .header-bar-menu > ul > li > :is(a, span),
|
|
340
|
+
.site-header:has(.brand-named) .header-bar-menu summary {
|
|
341
|
+
white-space: nowrap;
|
|
342
|
+
}
|
|
343
|
+
.brand-words {
|
|
344
|
+
display: grid;
|
|
345
|
+
min-width: 0;
|
|
346
|
+
}
|
|
347
|
+
/*
|
|
348
|
+
Each line of the wordmark stays one line. The brand's column may shrink
|
|
349
|
+
(min-width: 0) when the header's controls, which never shrink, need the
|
|
350
|
+
room, so a long name is cut with an ellipsis rather than broken letter by
|
|
351
|
+
letter down the column.
|
|
352
|
+
*/
|
|
353
|
+
.brand-name {
|
|
354
|
+
font-family: var(--font-display);
|
|
355
|
+
font-weight: 800;
|
|
356
|
+
font-size: 1.375rem;
|
|
357
|
+
line-height: 1;
|
|
358
|
+
letter-spacing: -0.02em;
|
|
359
|
+
white-space: nowrap;
|
|
360
|
+
overflow: hidden;
|
|
361
|
+
text-overflow: ellipsis;
|
|
362
|
+
}
|
|
363
|
+
.brand-rest {
|
|
364
|
+
margin-top: 0.25rem;
|
|
365
|
+
color: var(--accent);
|
|
366
|
+
font-size: 0.6875rem;
|
|
367
|
+
font-weight: 700;
|
|
368
|
+
letter-spacing: 0.2em;
|
|
369
|
+
line-height: 1.2;
|
|
370
|
+
text-transform: uppercase;
|
|
371
|
+
white-space: nowrap;
|
|
372
|
+
overflow: hidden;
|
|
373
|
+
text-overflow: ellipsis;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/* ── Header and menus ── */
|
|
377
|
+
|
|
378
|
+
/*
|
|
379
|
+
The header bar (A1): the brand at the left, the header menu at the right
|
|
380
|
+
(its groups are <details> dropdowns), then the header button. Under 56rem
|
|
381
|
+
(A13) the menu gives way to Menu, which opens the same menu as a sheet
|
|
382
|
+
under the bar and reads Close while it is open; the header button stays
|
|
383
|
+
beside it until the sheet opens, which repeats it full width.
|
|
384
|
+
*/
|
|
385
|
+
.site-header {
|
|
386
|
+
position: relative;
|
|
387
|
+
z-index: 20;
|
|
388
|
+
background: var(--page);
|
|
389
|
+
border-bottom: 1px solid var(--line);
|
|
390
|
+
}
|
|
391
|
+
.site-header-inner {
|
|
392
|
+
max-width: calc(var(--content) + 2 * var(--gutter));
|
|
393
|
+
min-height: 4.125rem;
|
|
394
|
+
margin: 0 auto;
|
|
395
|
+
padding: 0.5rem var(--gutter);
|
|
396
|
+
display: flex;
|
|
397
|
+
align-items: center;
|
|
398
|
+
gap: 0.625rem 1.75rem;
|
|
399
|
+
}
|
|
400
|
+
.site-header .brand {
|
|
401
|
+
margin-right: auto;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.site-header ul {
|
|
405
|
+
list-style: none;
|
|
406
|
+
margin: 0;
|
|
407
|
+
padding: 0;
|
|
408
|
+
}
|
|
409
|
+
/* The header's links take the page's ink; a button (the header button, in the bar and in the sheet) keeps its own. */
|
|
410
|
+
.site-header a:not(.button),
|
|
411
|
+
.site-header summary {
|
|
412
|
+
color: var(--ink);
|
|
413
|
+
text-decoration: none;
|
|
414
|
+
}
|
|
415
|
+
.site-header summary {
|
|
416
|
+
cursor: pointer;
|
|
417
|
+
list-style: none;
|
|
418
|
+
}
|
|
419
|
+
.site-header summary::-webkit-details-marker {
|
|
420
|
+
display: none;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.site-header .header-button {
|
|
424
|
+
flex-shrink: 0;
|
|
425
|
+
white-space: nowrap;
|
|
426
|
+
}
|
|
427
|
+
/*
|
|
428
|
+
The header button on its own page (board C7, C-6): an outline in the
|
|
429
|
+
button's colour, marked current, so the page's own call (the donation
|
|
430
|
+
form's Donate on /donate) is its one filled affordance. Elsewhere it is
|
|
431
|
+
the filled main call.
|
|
432
|
+
*/
|
|
433
|
+
.site-header .button[aria-current='page'] {
|
|
434
|
+
border-color: var(--button);
|
|
435
|
+
background: transparent;
|
|
436
|
+
color: var(--ink);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
/* The bar (56rem and wider) */
|
|
440
|
+
.header-bar-menu {
|
|
441
|
+
display: none;
|
|
442
|
+
}
|
|
443
|
+
/*
|
|
444
|
+
The centred header (chrome.header `centered`, A12's Centered name): at the
|
|
445
|
+
bar width the brand takes a row of its own, centred, and the menu is centred
|
|
446
|
+
on the row under it with the switch and the header button at that row's
|
|
447
|
+
right. Under 56rem it is the bar.
|
|
448
|
+
*/
|
|
449
|
+
@media (min-width: 56rem) {
|
|
450
|
+
.site-header[data-layout='centered'] .site-header-inner {
|
|
451
|
+
display: grid;
|
|
452
|
+
grid-template-columns: 1fr auto 1fr;
|
|
453
|
+
align-items: center;
|
|
454
|
+
row-gap: 0.25rem;
|
|
455
|
+
padding-top: 0.875rem;
|
|
456
|
+
padding-bottom: 0.625rem;
|
|
457
|
+
}
|
|
458
|
+
.site-header[data-layout='centered'] .brand {
|
|
459
|
+
grid-column: 1 / -1;
|
|
460
|
+
justify-self: center;
|
|
461
|
+
margin-right: 0;
|
|
462
|
+
}
|
|
463
|
+
.site-header[data-layout='centered'] .brand-words {
|
|
464
|
+
text-align: center;
|
|
465
|
+
}
|
|
466
|
+
/* The second row: the switch at the menu's left, the menu, the button at the right. */
|
|
467
|
+
.site-header[data-layout='centered'] .header-bar-menu {
|
|
468
|
+
grid-column: 2;
|
|
469
|
+
grid-row: 2;
|
|
470
|
+
}
|
|
471
|
+
.site-header[data-layout='centered'] .mode-toggle {
|
|
472
|
+
grid-column: 1;
|
|
473
|
+
grid-row: 2;
|
|
474
|
+
justify-self: end;
|
|
475
|
+
}
|
|
476
|
+
.site-header[data-layout='centered'] .header-button {
|
|
477
|
+
grid-column: 3;
|
|
478
|
+
grid-row: 2;
|
|
479
|
+
justify-self: end;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
.header-bar-menu > ul {
|
|
483
|
+
display: flex;
|
|
484
|
+
align-items: center;
|
|
485
|
+
gap: 0.25rem;
|
|
486
|
+
}
|
|
487
|
+
.header-bar-menu > ul > li {
|
|
488
|
+
position: relative;
|
|
489
|
+
}
|
|
490
|
+
.header-bar-menu > ul > li > a,
|
|
491
|
+
.header-bar-menu > ul > li > span,
|
|
492
|
+
.header-bar-menu summary {
|
|
493
|
+
display: inline-flex;
|
|
494
|
+
align-items: center;
|
|
495
|
+
gap: 0.3125rem;
|
|
496
|
+
padding: 0.5rem 0.75rem;
|
|
497
|
+
border-radius: var(--pill);
|
|
498
|
+
font-weight: 600;
|
|
499
|
+
font-size: 0.9375rem;
|
|
500
|
+
}
|
|
501
|
+
.header-bar-menu > ul > li > a:hover,
|
|
502
|
+
.header-bar-menu summary:hover,
|
|
503
|
+
.header-bar-menu details[open] > summary {
|
|
504
|
+
background: var(--band-tint);
|
|
505
|
+
}
|
|
506
|
+
.header-bar-menu a[aria-current='page'],
|
|
507
|
+
.header-bar-menu .menu-group-current > summary {
|
|
508
|
+
background: var(--band-tint);
|
|
509
|
+
color: var(--band-tint-ink);
|
|
510
|
+
}
|
|
511
|
+
.header-bar-menu summary::after {
|
|
512
|
+
content: '';
|
|
513
|
+
width: 0.35em;
|
|
514
|
+
height: 0.35em;
|
|
515
|
+
margin: -0.2em 0 0 0.15em;
|
|
516
|
+
border-right: 2px solid currentColor;
|
|
517
|
+
border-bottom: 2px solid currentColor;
|
|
518
|
+
transform: rotate(45deg);
|
|
519
|
+
}
|
|
520
|
+
.header-bar-menu details[open] > summary::after {
|
|
521
|
+
margin-top: 0.2em;
|
|
522
|
+
transform: rotate(225deg);
|
|
523
|
+
}
|
|
524
|
+
.header-bar-menu details > ul {
|
|
525
|
+
position: absolute;
|
|
526
|
+
top: calc(100% + 0.75rem);
|
|
527
|
+
left: 0;
|
|
528
|
+
min-width: 14.375rem;
|
|
529
|
+
padding: 0.5rem;
|
|
530
|
+
background: var(--surface);
|
|
531
|
+
border: 1px solid var(--line);
|
|
532
|
+
border-radius: 0.875rem;
|
|
533
|
+
box-shadow: var(--shadow);
|
|
534
|
+
font-size: 0.9375rem;
|
|
535
|
+
}
|
|
536
|
+
/* The last group's dropdown opens leftward, so it stays on the page. */
|
|
537
|
+
.header-bar-menu > ul > li:last-child details > ul {
|
|
538
|
+
left: auto;
|
|
539
|
+
right: 0;
|
|
540
|
+
}
|
|
541
|
+
.header-bar-menu details a,
|
|
542
|
+
.header-bar-menu details span {
|
|
543
|
+
display: block;
|
|
544
|
+
padding: 0.5625rem 0.75rem;
|
|
545
|
+
border-radius: 0.5625rem;
|
|
546
|
+
font-weight: 600;
|
|
547
|
+
}
|
|
548
|
+
.header-bar-menu details a:hover,
|
|
549
|
+
.header-bar-menu details a[aria-current='page'] {
|
|
550
|
+
background: var(--band-tint);
|
|
551
|
+
}
|
|
552
|
+
.header-bar-menu .menu-group-label {
|
|
553
|
+
color: var(--muted);
|
|
554
|
+
font-size: var(--text-xs);
|
|
555
|
+
font-weight: 700;
|
|
556
|
+
letter-spacing: 0.08em;
|
|
557
|
+
text-transform: uppercase;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
/*
|
|
561
|
+
The sheet (under 56rem). Its summary is a quiet control, the menu's glyph
|
|
562
|
+
and the word with no outline, tinted under the pointer and while the sheet
|
|
563
|
+
is open as the bar's links are, with the focus ring the mode toggle beside
|
|
564
|
+
it wears.
|
|
565
|
+
*/
|
|
566
|
+
.header-sheet > summary {
|
|
567
|
+
display: inline-flex;
|
|
568
|
+
align-items: center;
|
|
569
|
+
gap: 0.5rem;
|
|
570
|
+
padding: 0.5rem 0.875rem;
|
|
571
|
+
border-radius: var(--pill);
|
|
572
|
+
font-weight: 700;
|
|
573
|
+
font-size: var(--text-sm);
|
|
574
|
+
}
|
|
575
|
+
.header-sheet > summary:hover,
|
|
576
|
+
.header-sheet[open] > summary {
|
|
577
|
+
background: var(--band-tint);
|
|
578
|
+
color: var(--band-tint-ink);
|
|
579
|
+
}
|
|
580
|
+
.header-sheet > summary:focus-visible {
|
|
581
|
+
outline: 2px solid var(--link);
|
|
582
|
+
outline-offset: 2px;
|
|
583
|
+
}
|
|
584
|
+
.header-sheet > summary::before {
|
|
585
|
+
content: '';
|
|
586
|
+
width: 1rem;
|
|
587
|
+
height: 0.625rem;
|
|
588
|
+
border-top: 2px solid currentColor;
|
|
589
|
+
border-bottom: 2px solid currentColor;
|
|
590
|
+
background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
|
|
591
|
+
}
|
|
592
|
+
.header-sheet[open] > summary::before {
|
|
593
|
+
display: none;
|
|
594
|
+
}
|
|
595
|
+
/* The summary reads Menu, and Close while the sheet is open. */
|
|
596
|
+
.header-sheet .sheet-close,
|
|
597
|
+
.header-sheet[open] .sheet-open {
|
|
598
|
+
display: none;
|
|
599
|
+
}
|
|
600
|
+
.header-sheet[open] .sheet-close {
|
|
601
|
+
display: inline;
|
|
602
|
+
}
|
|
603
|
+
/* The bar's header button gives way to the sheet's own while the sheet is open (A13). */
|
|
604
|
+
.site-header:has(.header-sheet[open]) .header-button {
|
|
605
|
+
display: none;
|
|
606
|
+
}
|
|
607
|
+
.header-sheet-panel {
|
|
608
|
+
position: absolute;
|
|
609
|
+
top: 100%;
|
|
610
|
+
left: 0;
|
|
611
|
+
right: 0;
|
|
612
|
+
max-height: calc(100vh - var(--header-height));
|
|
613
|
+
max-height: calc(100dvh - var(--header-height));
|
|
614
|
+
overflow-y: auto;
|
|
615
|
+
padding: 0.25rem var(--gutter) 1.75rem;
|
|
616
|
+
background: var(--page);
|
|
617
|
+
border-bottom: 1px solid var(--line);
|
|
618
|
+
}
|
|
619
|
+
.header-sheet-panel nav > ul > li {
|
|
620
|
+
border-bottom: 1px solid var(--line);
|
|
621
|
+
}
|
|
622
|
+
.header-sheet-panel nav > ul > li > a,
|
|
623
|
+
.header-sheet-panel nav > ul > li > span {
|
|
624
|
+
display: flex;
|
|
625
|
+
align-items: center;
|
|
626
|
+
justify-content: space-between;
|
|
627
|
+
gap: 1rem;
|
|
628
|
+
padding: 0.875rem 0;
|
|
629
|
+
font-family: var(--font-display);
|
|
630
|
+
font-size: 1.5rem;
|
|
631
|
+
font-weight: 600;
|
|
632
|
+
line-height: 1.2;
|
|
633
|
+
}
|
|
634
|
+
/* A link's chevron (A13); a group's label carries a chevron pointing down. */
|
|
635
|
+
.header-sheet-panel nav > ul > li > a::after,
|
|
636
|
+
.header-sheet-panel nav > ul > li > .menu-group-label::after {
|
|
637
|
+
content: '';
|
|
638
|
+
flex: 0 0 auto;
|
|
639
|
+
width: 0.4rem;
|
|
640
|
+
height: 0.4rem;
|
|
641
|
+
margin-right: 0.25rem;
|
|
642
|
+
border-right: 2px solid currentColor;
|
|
643
|
+
border-bottom: 2px solid currentColor;
|
|
644
|
+
transform: rotate(-45deg);
|
|
645
|
+
}
|
|
646
|
+
.header-sheet-panel nav > ul > li > .menu-group-label::after {
|
|
647
|
+
transform: rotate(45deg);
|
|
648
|
+
}
|
|
649
|
+
.header-sheet-panel nav a[aria-current='page'] {
|
|
650
|
+
color: var(--accent);
|
|
651
|
+
}
|
|
652
|
+
.header-sheet-panel .menu-group ul {
|
|
653
|
+
padding: 0 0 0.75rem 0.875rem;
|
|
654
|
+
}
|
|
655
|
+
.header-sheet-panel .menu-group ul a,
|
|
656
|
+
.header-sheet-panel .menu-group ul span {
|
|
657
|
+
display: block;
|
|
658
|
+
padding: 0.5rem 0;
|
|
659
|
+
font-size: var(--text);
|
|
660
|
+
font-weight: 600;
|
|
661
|
+
}
|
|
662
|
+
/*
|
|
663
|
+
Watch Live, while the organization's stream is live (layouts/Site.astro):
|
|
664
|
+
its label after a dot in the state red, in the bar and the sheet. The dot
|
|
665
|
+
is a state, never an animation.
|
|
666
|
+
*/
|
|
667
|
+
.menu-live {
|
|
668
|
+
display: inline-flex;
|
|
669
|
+
align-items: center;
|
|
670
|
+
gap: 0.5rem;
|
|
671
|
+
}
|
|
672
|
+
.live-dot {
|
|
673
|
+
flex: 0 0 auto;
|
|
674
|
+
width: 0.5rem;
|
|
675
|
+
height: 0.5rem;
|
|
676
|
+
border-radius: 50%;
|
|
677
|
+
background: var(--live);
|
|
678
|
+
}
|
|
679
|
+
/* Under the menu: the header button again, full width, then the legal line. */
|
|
680
|
+
.site-header .header-sheet-button {
|
|
681
|
+
display: flex;
|
|
682
|
+
width: 100%;
|
|
683
|
+
margin-top: 1.25rem;
|
|
684
|
+
}
|
|
685
|
+
.header-sheet-legal {
|
|
686
|
+
margin-top: 0.75rem;
|
|
687
|
+
color: var(--muted);
|
|
688
|
+
font-size: 0.8125rem;
|
|
689
|
+
text-align: center;
|
|
690
|
+
}
|
|
691
|
+
.header-sheet-legal p {
|
|
692
|
+
margin: 0;
|
|
693
|
+
}
|
|
694
|
+
/* The page behind an open sheet dims; the shadow is clipped at the sheet's top so the bar stays clear. */
|
|
695
|
+
.header-sheet[open] .header-sheet-panel {
|
|
696
|
+
box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--band-photo) 55%, transparent);
|
|
697
|
+
clip-path: inset(0 -100vmax -100vmax -100vmax);
|
|
698
|
+
}
|
|
699
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
700
|
+
.header-sheet[open] .header-sheet-panel {
|
|
701
|
+
animation: header-sheet-in 0.2s ease-out;
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
@keyframes header-sheet-in {
|
|
705
|
+
from {
|
|
706
|
+
opacity: 0;
|
|
707
|
+
transform: translateY(-1rem);
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
@media (max-width: 55.99rem) {
|
|
712
|
+
.site-header .brand {
|
|
713
|
+
gap: 0.625rem;
|
|
714
|
+
}
|
|
715
|
+
.site-header .brand-mark {
|
|
716
|
+
width: 2.125rem;
|
|
717
|
+
height: 2.125rem;
|
|
718
|
+
}
|
|
719
|
+
.site-header .brand-name {
|
|
720
|
+
font-size: 1.125rem;
|
|
721
|
+
}
|
|
722
|
+
.site-header .brand-rest {
|
|
723
|
+
font-size: 0.59375rem;
|
|
724
|
+
letter-spacing: 0.16em;
|
|
725
|
+
}
|
|
726
|
+
/* The sheet's summary and the mode toggle give the wordmark the width they can. */
|
|
727
|
+
.site-header .header-sheet > summary {
|
|
728
|
+
padding-inline: 0.75rem;
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
/* A13 at its narrowest: a smaller mark and wordmark, no Menu icon. */
|
|
732
|
+
@media (max-width: 23.75rem) {
|
|
733
|
+
.site-header-inner {
|
|
734
|
+
gap: 0.5rem;
|
|
735
|
+
padding-inline: 0.875rem;
|
|
736
|
+
}
|
|
737
|
+
.site-header .brand-mark {
|
|
738
|
+
width: 1.875rem;
|
|
739
|
+
height: 1.875rem;
|
|
740
|
+
}
|
|
741
|
+
.site-header .brand-name {
|
|
742
|
+
font-size: 1rem;
|
|
743
|
+
}
|
|
744
|
+
.site-header .brand-rest {
|
|
745
|
+
font-size: 0.53125rem;
|
|
746
|
+
letter-spacing: 0.12em;
|
|
747
|
+
}
|
|
748
|
+
.header-sheet > summary {
|
|
749
|
+
padding: 0.4375rem 0.6875rem;
|
|
750
|
+
}
|
|
751
|
+
.header-sheet > summary::before {
|
|
752
|
+
display: none;
|
|
753
|
+
}
|
|
754
|
+
.site-header .header-button {
|
|
755
|
+
padding-inline: 0.75rem;
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
@media (max-width: 21.875rem) {
|
|
759
|
+
.site-header .brand-rest {
|
|
760
|
+
display: none;
|
|
761
|
+
}
|
|
762
|
+
.site-header .brand-name {
|
|
763
|
+
font-size: 0.9375rem;
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
@media (min-width: 56rem) {
|
|
767
|
+
.site-header-inner {
|
|
768
|
+
min-height: var(--header-height);
|
|
769
|
+
}
|
|
770
|
+
.header-bar-menu {
|
|
771
|
+
display: block;
|
|
772
|
+
}
|
|
773
|
+
.header-sheet {
|
|
774
|
+
display: none;
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
/* ── Areas and the sidebar ── */
|
|
779
|
+
|
|
780
|
+
/*
|
|
781
|
+
Top banner sits above the header (A1's announcement strip, or a takeover
|
|
782
|
+
that fills the first screen) and Above the footer over the footer, each
|
|
783
|
+
item full width. A page or an entry is a `.layout`: its main column and,
|
|
784
|
+
when its Sidebar has an item (`.layout-split`), the `.layout-rail` beside
|
|
785
|
+
it, after it on a narrow screen. A page that opens with a Hero puts the
|
|
786
|
+
Hero over both columns, so the rail starts under it (C5). In the rail every
|
|
787
|
+
section is a card on its band's card colour (A4, A6, C5: the sidebar's
|
|
788
|
+
"Coming up", countdown and call to action), the sections a rem apart; a
|
|
789
|
+
call to action there sits on the brand's ground instead.
|
|
790
|
+
*/
|
|
791
|
+
.layout-rail {
|
|
792
|
+
display: grid;
|
|
793
|
+
gap: 1.5rem;
|
|
794
|
+
align-content: start;
|
|
795
|
+
padding: 0 var(--gutter) var(--space);
|
|
796
|
+
}
|
|
797
|
+
.rail {
|
|
798
|
+
--bg-section-padding: 1.5rem;
|
|
799
|
+
}
|
|
800
|
+
.rail .bg-section {
|
|
801
|
+
border: 1px solid var(--line);
|
|
802
|
+
border-radius: var(--radius-card);
|
|
803
|
+
background: var(--surface);
|
|
804
|
+
box-shadow: var(--shadow);
|
|
805
|
+
}
|
|
806
|
+
.rail .bg-section + .bg-section {
|
|
807
|
+
margin-top: 1rem;
|
|
808
|
+
}
|
|
809
|
+
.rail .bg-section.cta {
|
|
810
|
+
border-color: transparent;
|
|
811
|
+
background: var(--bg-band-background);
|
|
812
|
+
}
|
|
813
|
+
.rail h2 {
|
|
814
|
+
font-size: var(--h3);
|
|
815
|
+
}
|
|
816
|
+
@media (min-width: 48rem) {
|
|
817
|
+
.layout-split {
|
|
818
|
+
display: grid;
|
|
819
|
+
grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
|
|
820
|
+
gap: 2rem;
|
|
821
|
+
max-width: calc(var(--content) + 2 * var(--gutter));
|
|
822
|
+
margin: 0 auto;
|
|
823
|
+
}
|
|
824
|
+
.layout-split .layout-rail {
|
|
825
|
+
padding: var(--space) var(--gutter) var(--space) 0;
|
|
826
|
+
}
|
|
827
|
+
/* Where the main column's first band joins the Hero's, the rail starts with it, at the Hero's floor (C5). */
|
|
828
|
+
.bg-bleed-full.bg-band-plain + .layout-split:has(> .layout-main > .bg-bleed-full.bg-band-plain:first-of-type) > .layout-rail {
|
|
829
|
+
padding-top: 0;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/* ── Sections ── */
|
|
834
|
+
|
|
835
|
+
.bg-section {
|
|
836
|
+
padding: var(--bg-section-padding);
|
|
837
|
+
background: var(--bg-band-background);
|
|
838
|
+
color: var(--bg-band-color);
|
|
839
|
+
}
|
|
840
|
+
.bg-section-inner {
|
|
841
|
+
max-width: var(--bg-content-width);
|
|
842
|
+
margin: 0 auto;
|
|
843
|
+
}
|
|
844
|
+
.bg-bleed-contained {
|
|
845
|
+
width: min(100% - 2 * var(--gutter), var(--content));
|
|
846
|
+
margin: var(--gutter) auto;
|
|
847
|
+
border-radius: 1.5rem;
|
|
848
|
+
}
|
|
849
|
+
/*
|
|
850
|
+
A contained band on the page's own ground has no box to show: it draws as a
|
|
851
|
+
full one, its content the column's width (C2's StatCards, C7's Progress).
|
|
852
|
+
*/
|
|
853
|
+
.bg-bleed-contained.bg-band-plain {
|
|
854
|
+
width: auto;
|
|
855
|
+
margin: 0;
|
|
856
|
+
border-radius: 0;
|
|
857
|
+
}
|
|
858
|
+
/*
|
|
859
|
+
Two full-width bands of the same ground in a row read as one: no doubled gap
|
|
860
|
+
between them. That holds across a page's opening Hero and the two columns
|
|
861
|
+
under it (C5): the main column's first band and the rail start at the
|
|
862
|
+
Hero's floor.
|
|
863
|
+
*/
|
|
864
|
+
.bg-bleed-full.bg-band-plain + .bg-bleed-full.bg-band-plain,
|
|
865
|
+
.bg-bleed-full.bg-band-tint + .bg-bleed-full.bg-band-tint,
|
|
866
|
+
.bg-bleed-full.bg-band-panel + .bg-bleed-full.bg-band-panel,
|
|
867
|
+
.bg-bleed-full.bg-band-wash + .bg-bleed-full.bg-band-wash,
|
|
868
|
+
.bg-bleed-full.bg-band-contrast + .bg-bleed-full.bg-band-contrast,
|
|
869
|
+
.bg-bleed-full.bg-band-plain + .layout-split > .layout-main > .bg-bleed-full.bg-band-plain:first-of-type,
|
|
870
|
+
.bg-bleed-full.bg-band-tint + .layout-split > .layout-main > .bg-bleed-full.bg-band-tint:first-of-type,
|
|
871
|
+
.bg-bleed-full.bg-band-panel + .layout-split > .layout-main > .bg-bleed-full.bg-band-panel:first-of-type,
|
|
872
|
+
.bg-bleed-full.bg-band-wash + .layout-split > .layout-main > .bg-bleed-full.bg-band-wash:first-of-type,
|
|
873
|
+
.bg-bleed-full.bg-band-contrast + .layout-split > .layout-main > .bg-bleed-full.bg-band-contrast:first-of-type {
|
|
874
|
+
padding-top: 0;
|
|
875
|
+
}
|
|
876
|
+
.bg-section .bg-section-inner > :last-child {
|
|
877
|
+
margin-bottom: 0;
|
|
878
|
+
}
|
|
879
|
+
/* A heading BackGold's DefaultSection writes (money and consent modules, any new type). */
|
|
880
|
+
.bg-section-inner > h2 {
|
|
881
|
+
max-width: var(--measure);
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/* A1's kicker: small capitals in the accent over a heading. */
|
|
885
|
+
.kicker {
|
|
886
|
+
color: var(--accent);
|
|
887
|
+
font-size: var(--text-xs);
|
|
888
|
+
font-weight: 700;
|
|
889
|
+
letter-spacing: 0.16em;
|
|
890
|
+
text-transform: uppercase;
|
|
891
|
+
margin-bottom: 0.625rem;
|
|
892
|
+
}
|
|
893
|
+
/* A1's section head: the kicker and heading at the left, the section's "more" link at the right, on the heading's baseline. */
|
|
894
|
+
.section-head {
|
|
895
|
+
display: flex;
|
|
896
|
+
flex-wrap: wrap;
|
|
897
|
+
align-items: flex-end;
|
|
898
|
+
gap: 0.75rem 1.5rem;
|
|
899
|
+
margin-bottom: clamp(1.375rem, 1rem + 1vw, 2rem);
|
|
900
|
+
}
|
|
901
|
+
.section-head h2 {
|
|
902
|
+
margin: 0;
|
|
903
|
+
}
|
|
904
|
+
.section-head-more {
|
|
905
|
+
display: flex;
|
|
906
|
+
flex-wrap: wrap;
|
|
907
|
+
gap: 0.5rem 1.25rem;
|
|
908
|
+
margin: 0 0 0 auto;
|
|
909
|
+
font-size: var(--text-sm);
|
|
910
|
+
font-weight: 700;
|
|
911
|
+
}
|
|
912
|
+
.section-head-more a {
|
|
913
|
+
color: var(--link);
|
|
914
|
+
text-decoration: underline;
|
|
915
|
+
text-decoration-thickness: 1.5px;
|
|
916
|
+
text-underline-offset: 0.25em;
|
|
917
|
+
}
|
|
918
|
+
/* A chip: a label on a soft ground (A1's events, news and roster). */
|
|
919
|
+
.chip {
|
|
920
|
+
display: inline-flex;
|
|
921
|
+
align-items: center;
|
|
922
|
+
padding: 0.1875rem 0.625rem;
|
|
923
|
+
border-radius: var(--pill);
|
|
924
|
+
background: var(--band-tint);
|
|
925
|
+
color: var(--band-tint-ink);
|
|
926
|
+
font-size: var(--text-xs);
|
|
927
|
+
font-weight: 700;
|
|
928
|
+
letter-spacing: 0.04em;
|
|
929
|
+
white-space: nowrap;
|
|
930
|
+
}
|
|
931
|
+
.chip-accent {
|
|
932
|
+
background: color-mix(in srgb, var(--accent) 14%, transparent);
|
|
933
|
+
color: var(--accent);
|
|
934
|
+
}
|
|
935
|
+
.chip-wash {
|
|
936
|
+
background: var(--band-wash);
|
|
937
|
+
color: var(--band-wash-link);
|
|
938
|
+
}
|
|
939
|
+
.lede {
|
|
940
|
+
font-size: var(--text-lg);
|
|
941
|
+
color: var(--muted);
|
|
942
|
+
max-width: var(--measure);
|
|
943
|
+
}
|
|
944
|
+
.muted {
|
|
945
|
+
color: var(--muted);
|
|
946
|
+
}
|
|
947
|
+
.fine {
|
|
948
|
+
color: var(--muted);
|
|
949
|
+
font-size: var(--text-sm);
|
|
950
|
+
}
|
|
951
|
+
.empty {
|
|
952
|
+
color: var(--muted);
|
|
953
|
+
font-style: italic;
|
|
954
|
+
}
|
|
955
|
+
.more {
|
|
956
|
+
margin-top: 1.5rem;
|
|
957
|
+
font-weight: 600;
|
|
958
|
+
}
|
|
959
|
+
/* A link set in a line of text (C1's countdown "Find where to vote"): bold, in the band's link colour, underlined. */
|
|
960
|
+
.text-link {
|
|
961
|
+
color: var(--link);
|
|
962
|
+
font-weight: 700;
|
|
963
|
+
text-decoration: underline;
|
|
964
|
+
text-decoration-thickness: 1.5px;
|
|
965
|
+
text-underline-offset: 0.25em;
|
|
966
|
+
}
|
|
967
|
+
.badge {
|
|
968
|
+
display: inline-block;
|
|
969
|
+
font-size: 0.75rem;
|
|
970
|
+
font-weight: 700;
|
|
971
|
+
letter-spacing: 0.06em;
|
|
972
|
+
text-transform: uppercase;
|
|
973
|
+
padding: 0.125rem 0.5rem;
|
|
974
|
+
border: 1px solid currentColor;
|
|
975
|
+
border-radius: 999px;
|
|
976
|
+
color: var(--muted);
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
.prose {
|
|
980
|
+
max-width: var(--measure);
|
|
981
|
+
line-height: 1.7;
|
|
982
|
+
}
|
|
983
|
+
.prose h2 {
|
|
984
|
+
font-size: calc(var(--h2) * 0.8);
|
|
985
|
+
margin-top: 2rem;
|
|
986
|
+
}
|
|
987
|
+
.prose h3 {
|
|
988
|
+
margin-top: 1.5rem;
|
|
989
|
+
}
|
|
990
|
+
.prose blockquote {
|
|
991
|
+
margin-left: 0;
|
|
992
|
+
padding-left: 1.25rem;
|
|
993
|
+
border-left: 3px solid var(--link);
|
|
994
|
+
color: var(--muted);
|
|
995
|
+
}
|
|
996
|
+
.prose img {
|
|
997
|
+
border-radius: var(--radius);
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
.actions {
|
|
1001
|
+
display: flex;
|
|
1002
|
+
flex-wrap: wrap;
|
|
1003
|
+
gap: 0.75rem;
|
|
1004
|
+
margin-top: 1.5rem;
|
|
1005
|
+
}
|
|
1006
|
+
/*
|
|
1007
|
+
A1's buttons: pills, 48px tall (38px small). `.button` is the main call in
|
|
1008
|
+
the accent; `.button-2` the quieter solid one in the primary colour;
|
|
1009
|
+
`.button-quiet` an outline in the text colour.
|
|
1010
|
+
*/
|
|
1011
|
+
.button {
|
|
1012
|
+
display: inline-flex;
|
|
1013
|
+
align-items: center;
|
|
1014
|
+
justify-content: center;
|
|
1015
|
+
gap: 0.5rem;
|
|
1016
|
+
min-height: 3rem;
|
|
1017
|
+
padding: 0 1.375rem;
|
|
1018
|
+
border: 2px solid var(--button);
|
|
1019
|
+
border-radius: var(--pill);
|
|
1020
|
+
background: var(--button);
|
|
1021
|
+
color: var(--button-ink);
|
|
1022
|
+
font-size: 0.9375rem;
|
|
1023
|
+
font-weight: 700;
|
|
1024
|
+
line-height: 1.2;
|
|
1025
|
+
text-align: center;
|
|
1026
|
+
text-decoration: none;
|
|
1027
|
+
}
|
|
1028
|
+
.button:hover {
|
|
1029
|
+
text-decoration: underline;
|
|
1030
|
+
}
|
|
1031
|
+
.button-2 {
|
|
1032
|
+
border-color: var(--button-2);
|
|
1033
|
+
background: var(--button-2);
|
|
1034
|
+
color: var(--button-2-ink);
|
|
1035
|
+
}
|
|
1036
|
+
.button-quiet {
|
|
1037
|
+
background: transparent;
|
|
1038
|
+
border-color: currentColor;
|
|
1039
|
+
color: var(--ink);
|
|
1040
|
+
}
|
|
1041
|
+
.button-small {
|
|
1042
|
+
min-height: 2.375rem;
|
|
1043
|
+
padding: 0 1rem;
|
|
1044
|
+
font-size: var(--text-sm);
|
|
1045
|
+
}
|
|
1046
|
+
.grid {
|
|
1047
|
+
display: grid;
|
|
1048
|
+
gap: clamp(1rem, 2vw, 1.75rem);
|
|
1049
|
+
grid-template-columns: 1fr;
|
|
1050
|
+
padding: 0;
|
|
1051
|
+
margin: 1.5rem 0 0;
|
|
1052
|
+
list-style: none;
|
|
1053
|
+
}
|
|
1054
|
+
@media (min-width: 40rem) {
|
|
1055
|
+
.grid-2 {
|
|
1056
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1057
|
+
}
|
|
1058
|
+
/*
|
|
1059
|
+
At most three tracks, so three cards fill the row; auto-fill keeps a lone
|
|
1060
|
+
card (one post, one person) a card's width rather than the row's.
|
|
1061
|
+
*/
|
|
1062
|
+
.grid-3 {
|
|
1063
|
+
grid-template-columns: repeat(auto-fill, minmax(max(min(100%, 15rem), (100% - 2 * clamp(1rem, 2vw, 1.75rem)) / 3), 1fr));
|
|
1064
|
+
}
|
|
1065
|
+
.stat-list,
|
|
1066
|
+
.quotes .grid {
|
|
1067
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
.tile {
|
|
1072
|
+
padding: 1.25rem;
|
|
1073
|
+
border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
|
|
1074
|
+
border-radius: var(--radius);
|
|
1075
|
+
}
|
|
1076
|
+
.tile > :last-child {
|
|
1077
|
+
margin-bottom: 0;
|
|
1078
|
+
}
|
|
1079
|
+
.tile-links {
|
|
1080
|
+
display: flex;
|
|
1081
|
+
gap: 1rem;
|
|
1082
|
+
font-weight: 600;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
/* Hero */
|
|
1086
|
+
.hero h1,
|
|
1087
|
+
.hero-headline {
|
|
1088
|
+
font-size: var(--h1);
|
|
1089
|
+
font-weight: 800;
|
|
1090
|
+
max-width: 20ch;
|
|
1091
|
+
}
|
|
1092
|
+
.hero-lede {
|
|
1093
|
+
font-size: var(--text-lg);
|
|
1094
|
+
max-width: var(--measure);
|
|
1095
|
+
color: var(--muted);
|
|
1096
|
+
}
|
|
1097
|
+
.hero-image {
|
|
1098
|
+
display: block;
|
|
1099
|
+
width: 100%;
|
|
1100
|
+
aspect-ratio: 16 / 9;
|
|
1101
|
+
object-fit: cover;
|
|
1102
|
+
border-radius: calc(var(--radius) * 2);
|
|
1103
|
+
}
|
|
1104
|
+
/* 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. */
|
|
1105
|
+
.photo-caption {
|
|
1106
|
+
position: absolute;
|
|
1107
|
+
left: 0.75rem;
|
|
1108
|
+
bottom: 0.625rem;
|
|
1109
|
+
z-index: 1;
|
|
1110
|
+
max-width: calc(100% - 1.5rem);
|
|
1111
|
+
margin: 0;
|
|
1112
|
+
padding: 0.1875rem 0.5rem;
|
|
1113
|
+
border-radius: 0.25rem;
|
|
1114
|
+
background: color-mix(in srgb, var(--band-photo) 70%, transparent);
|
|
1115
|
+
color: var(--band-photo-ink);
|
|
1116
|
+
font-size: 0.6875rem;
|
|
1117
|
+
line-height: 1.4;
|
|
1118
|
+
}
|
|
1119
|
+
/* The photo's frame: the caption chip is positioned against it. */
|
|
1120
|
+
.hero-photo {
|
|
1121
|
+
position: relative;
|
|
1122
|
+
margin-top: 2rem;
|
|
1123
|
+
}
|
|
1124
|
+
@media (min-width: 48rem) {
|
|
1125
|
+
.hero-split .hero-photo {
|
|
1126
|
+
margin-top: 0;
|
|
1127
|
+
}
|
|
1128
|
+
.hero-split .bg-section-inner {
|
|
1129
|
+
display: grid;
|
|
1130
|
+
grid-template-columns: 1.1fr 1fr;
|
|
1131
|
+
gap: 3rem;
|
|
1132
|
+
align-items: center;
|
|
1133
|
+
}
|
|
1134
|
+
.hero-split .hero-image {
|
|
1135
|
+
aspect-ratio: 4 / 3;
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
/*
|
|
1140
|
+
A picture shown whole: a Hero's or an About's photo treatment 'badge' or
|
|
1141
|
+
'plain' (lib/section.ts photoStyleOf), on the picture a layout draws in a
|
|
1142
|
+
frame of fixed shape. The frame keeps its shape and the picture sits inside
|
|
1143
|
+
it, centred, uncropped: on the frame's surface with a line around it
|
|
1144
|
+
('badge'), or on nothing ('plain'). The section prefix outranks a layout's
|
|
1145
|
+
own scoped `object-fit: cover`.
|
|
1146
|
+
*/
|
|
1147
|
+
.bg-section img.photo-badge,
|
|
1148
|
+
.bg-section img.photo-plain {
|
|
1149
|
+
object-fit: contain;
|
|
1150
|
+
object-position: center;
|
|
1151
|
+
}
|
|
1152
|
+
.bg-section img.photo-badge {
|
|
1153
|
+
box-sizing: border-box;
|
|
1154
|
+
padding: 1rem;
|
|
1155
|
+
border: 1px solid var(--line);
|
|
1156
|
+
background: var(--surface);
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
/* About */
|
|
1160
|
+
.about-photo {
|
|
1161
|
+
display: block;
|
|
1162
|
+
width: 100%;
|
|
1163
|
+
max-width: 28rem;
|
|
1164
|
+
aspect-ratio: 4 / 3;
|
|
1165
|
+
object-fit: cover;
|
|
1166
|
+
border-radius: calc(var(--radius) * 2);
|
|
1167
|
+
margin-bottom: 2rem;
|
|
1168
|
+
}
|
|
1169
|
+
@media (min-width: 48rem) {
|
|
1170
|
+
.about-with-photo .bg-section-inner {
|
|
1171
|
+
display: grid;
|
|
1172
|
+
grid-template-columns: 1fr 1.4fr;
|
|
1173
|
+
gap: 3rem;
|
|
1174
|
+
align-items: start;
|
|
1175
|
+
}
|
|
1176
|
+
.about-with-photo .about-photo {
|
|
1177
|
+
order: 2;
|
|
1178
|
+
margin-bottom: 0;
|
|
1179
|
+
aspect-ratio: 4 / 5;
|
|
1180
|
+
}
|
|
1181
|
+
.about-photo-left .about-photo {
|
|
1182
|
+
order: 0;
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
/* Figures */
|
|
1187
|
+
.stat-list {
|
|
1188
|
+
margin-top: 1.5rem;
|
|
1189
|
+
}
|
|
1190
|
+
.stat {
|
|
1191
|
+
border-top: 3px solid var(--link);
|
|
1192
|
+
padding-top: 1rem;
|
|
1193
|
+
}
|
|
1194
|
+
.stat p {
|
|
1195
|
+
margin: 0;
|
|
1196
|
+
}
|
|
1197
|
+
.stat-value {
|
|
1198
|
+
font-size: clamp(2.25rem, 1.75rem + 2vw, 3.25rem);
|
|
1199
|
+
font-weight: 800;
|
|
1200
|
+
line-height: 1.05;
|
|
1201
|
+
letter-spacing: -0.02em;
|
|
1202
|
+
}
|
|
1203
|
+
.stat-accent {
|
|
1204
|
+
color: var(--link);
|
|
1205
|
+
}
|
|
1206
|
+
.stat-label {
|
|
1207
|
+
font-weight: 600;
|
|
1208
|
+
margin-top: 0.25rem;
|
|
1209
|
+
}
|
|
1210
|
+
.stat-note {
|
|
1211
|
+
color: var(--muted);
|
|
1212
|
+
font-size: var(--text-sm);
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
/* Quotes: QuoteStrip's row (C2): a card on the band's surface, the quote over who said it. */
|
|
1216
|
+
.quote {
|
|
1217
|
+
display: flex;
|
|
1218
|
+
flex-direction: column;
|
|
1219
|
+
justify-content: space-between;
|
|
1220
|
+
gap: 1.25rem;
|
|
1221
|
+
margin: 0;
|
|
1222
|
+
height: 100%;
|
|
1223
|
+
padding: 1.5rem;
|
|
1224
|
+
border: 1px solid var(--line);
|
|
1225
|
+
border-radius: var(--radius);
|
|
1226
|
+
background: var(--surface);
|
|
1227
|
+
box-shadow: var(--shadow);
|
|
1228
|
+
}
|
|
1229
|
+
.quote blockquote {
|
|
1230
|
+
margin: 0;
|
|
1231
|
+
font-size: var(--text-lg);
|
|
1232
|
+
line-height: 1.5;
|
|
1233
|
+
}
|
|
1234
|
+
.quote blockquote p {
|
|
1235
|
+
margin: 0;
|
|
1236
|
+
}
|
|
1237
|
+
.quote-words:not(.quote-quoted)::before {
|
|
1238
|
+
content: open-quote;
|
|
1239
|
+
}
|
|
1240
|
+
.quote-words:not(.quote-quoted)::after {
|
|
1241
|
+
content: close-quote;
|
|
1242
|
+
}
|
|
1243
|
+
.quote-by {
|
|
1244
|
+
display: flex;
|
|
1245
|
+
align-items: center;
|
|
1246
|
+
gap: 0.75rem;
|
|
1247
|
+
}
|
|
1248
|
+
.quote-mark {
|
|
1249
|
+
flex: 0 0 auto;
|
|
1250
|
+
width: 2.75rem;
|
|
1251
|
+
height: 2.75rem;
|
|
1252
|
+
border-radius: 50%;
|
|
1253
|
+
object-fit: cover;
|
|
1254
|
+
}
|
|
1255
|
+
.quote-initials {
|
|
1256
|
+
display: grid;
|
|
1257
|
+
place-items: center;
|
|
1258
|
+
background: var(--button-2);
|
|
1259
|
+
color: var(--button-2-ink);
|
|
1260
|
+
font-family: var(--font-display);
|
|
1261
|
+
font-size: 0.875rem;
|
|
1262
|
+
font-weight: 700;
|
|
1263
|
+
letter-spacing: 0.02em;
|
|
1264
|
+
}
|
|
1265
|
+
.quote-who {
|
|
1266
|
+
min-width: 0;
|
|
1267
|
+
}
|
|
1268
|
+
.quote-name {
|
|
1269
|
+
display: block;
|
|
1270
|
+
font-weight: 700;
|
|
1271
|
+
font-size: var(--text-sm);
|
|
1272
|
+
line-height: 1.3;
|
|
1273
|
+
}
|
|
1274
|
+
.quote-role {
|
|
1275
|
+
display: block;
|
|
1276
|
+
color: var(--muted);
|
|
1277
|
+
font-size: var(--text-xs);
|
|
1278
|
+
line-height: 1.4;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
/* Video */
|
|
1282
|
+
.video-frame {
|
|
1283
|
+
margin: 0;
|
|
1284
|
+
}
|
|
1285
|
+
.video-frame iframe,
|
|
1286
|
+
.video-frame video {
|
|
1287
|
+
display: block;
|
|
1288
|
+
width: 100%;
|
|
1289
|
+
aspect-ratio: 16 / 9;
|
|
1290
|
+
border: 0;
|
|
1291
|
+
border-radius: var(--radius);
|
|
1292
|
+
background: var(--band-contrast);
|
|
1293
|
+
}
|
|
1294
|
+
.video-portrait {
|
|
1295
|
+
max-width: 24rem;
|
|
1296
|
+
margin-inline: auto;
|
|
1297
|
+
}
|
|
1298
|
+
.video-portrait iframe,
|
|
1299
|
+
.video-portrait video {
|
|
1300
|
+
aspect-ratio: 9 / 16;
|
|
1301
|
+
}
|
|
1302
|
+
.video-frame figcaption {
|
|
1303
|
+
margin-top: 0.75rem;
|
|
1304
|
+
color: var(--muted);
|
|
1305
|
+
font-size: var(--text-sm);
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
/* Progress and countdown */
|
|
1309
|
+
.progress-figures {
|
|
1310
|
+
font-size: var(--text-lg);
|
|
1311
|
+
}
|
|
1312
|
+
.progress-raised {
|
|
1313
|
+
font-size: var(--h2);
|
|
1314
|
+
font-weight: 800;
|
|
1315
|
+
letter-spacing: -0.02em;
|
|
1316
|
+
}
|
|
1317
|
+
.meter {
|
|
1318
|
+
height: 0.75rem;
|
|
1319
|
+
border-radius: 999px;
|
|
1320
|
+
background: color-mix(in srgb, var(--ink) 15%, transparent);
|
|
1321
|
+
overflow: hidden;
|
|
1322
|
+
}
|
|
1323
|
+
.meter-fill {
|
|
1324
|
+
display: block;
|
|
1325
|
+
height: 100%;
|
|
1326
|
+
background: var(--button);
|
|
1327
|
+
}
|
|
1328
|
+
.countdown-body {
|
|
1329
|
+
max-width: var(--measure);
|
|
1330
|
+
color: var(--muted);
|
|
1331
|
+
}
|
|
1332
|
+
.countdown-left {
|
|
1333
|
+
font-size: var(--text-lg);
|
|
1334
|
+
}
|
|
1335
|
+
.countdown-number {
|
|
1336
|
+
font-size: var(--h2);
|
|
1337
|
+
font-weight: 800;
|
|
1338
|
+
letter-spacing: -0.02em;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
/* Regions */
|
|
1342
|
+
.region-list {
|
|
1343
|
+
padding-left: 1.1rem;
|
|
1344
|
+
}
|
|
1345
|
+
.region-list-long {
|
|
1346
|
+
columns: 2 10rem;
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
/* Platform */
|
|
1350
|
+
.platform-part + .platform-part {
|
|
1351
|
+
margin-top: 2.5rem;
|
|
1352
|
+
}
|
|
1353
|
+
.platform-num {
|
|
1354
|
+
color: var(--link);
|
|
1355
|
+
margin-right: 0.25rem;
|
|
1356
|
+
}
|
|
1357
|
+
.plank-list {
|
|
1358
|
+
padding-left: 1.25rem;
|
|
1359
|
+
max-width: var(--measure);
|
|
1360
|
+
}
|
|
1361
|
+
.plank {
|
|
1362
|
+
margin-bottom: 1.25rem;
|
|
1363
|
+
}
|
|
1364
|
+
.plank-headline {
|
|
1365
|
+
font-weight: 700;
|
|
1366
|
+
margin-bottom: 0.25rem;
|
|
1367
|
+
}
|
|
1368
|
+
details summary {
|
|
1369
|
+
cursor: pointer;
|
|
1370
|
+
color: var(--link);
|
|
1371
|
+
font-weight: 600;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
/* People */
|
|
1375
|
+
.person-photo {
|
|
1376
|
+
display: block;
|
|
1377
|
+
width: 100%;
|
|
1378
|
+
max-width: 10rem;
|
|
1379
|
+
aspect-ratio: 1;
|
|
1380
|
+
object-fit: cover;
|
|
1381
|
+
border-radius: var(--radius);
|
|
1382
|
+
margin-bottom: 1rem;
|
|
1383
|
+
}
|
|
1384
|
+
@media (min-width: 40rem) {
|
|
1385
|
+
.person-photo {
|
|
1386
|
+
max-width: none;
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
.person-initials {
|
|
1390
|
+
display: grid;
|
|
1391
|
+
place-items: center;
|
|
1392
|
+
background: color-mix(in srgb, var(--ink) 8%, transparent);
|
|
1393
|
+
color: var(--muted);
|
|
1394
|
+
font-size: var(--h2);
|
|
1395
|
+
font-weight: 700;
|
|
1396
|
+
letter-spacing: 0.04em;
|
|
1397
|
+
}
|
|
1398
|
+
.person h3 {
|
|
1399
|
+
margin-bottom: 0.125rem;
|
|
1400
|
+
}
|
|
1401
|
+
.staff-list {
|
|
1402
|
+
list-style: none;
|
|
1403
|
+
padding: 0;
|
|
1404
|
+
margin-top: 1.5rem;
|
|
1405
|
+
}
|
|
1406
|
+
.staff-list li {
|
|
1407
|
+
padding: 0.5rem 0;
|
|
1408
|
+
border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
|
|
1409
|
+
}
|
|
1410
|
+
.open-roles {
|
|
1411
|
+
margin-top: 2.5rem;
|
|
1412
|
+
}
|
|
1413
|
+
.ranked {
|
|
1414
|
+
max-width: 32rem;
|
|
1415
|
+
}
|
|
1416
|
+
.ranked li {
|
|
1417
|
+
display: flex;
|
|
1418
|
+
justify-content: space-between;
|
|
1419
|
+
gap: 1rem;
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
/* Featured post */
|
|
1423
|
+
.featured-title a {
|
|
1424
|
+
color: inherit;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
/* Embeds placed by @backgold/astro */
|
|
1428
|
+
.bg-embed {
|
|
1429
|
+
border-radius: var(--radius);
|
|
1430
|
+
background: var(--page);
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
/*
|
|
1434
|
+
Contact your legislators is no frame: BackGold's script draws it in the page,
|
|
1435
|
+
in a shadow root on `.bg-embed-mount`, and takes its look from the
|
|
1436
|
+
`--bg-adv-*` variables, which cross into it. They are the colors of the
|
|
1437
|
+
band it sits on, as the frames wear them (ModuleFrame): the band's ink and
|
|
1438
|
+
gray, fields on its surface with the strong line for an edge, the quieter
|
|
1439
|
+
solid button for its calls, the display face for its headings. On a card
|
|
1440
|
+
(`.module-card`) they are the panel band's, the card's own ground. A
|
|
1441
|
+
template with a look of its own for the frames sets these again in its
|
|
1442
|
+
src/styles/template.css.
|
|
1443
|
+
*/
|
|
1444
|
+
.module .bg-embed-mount {
|
|
1445
|
+
--bg-adv-text: var(--ink);
|
|
1446
|
+
--bg-adv-muted: var(--muted);
|
|
1447
|
+
--bg-adv-link: var(--link);
|
|
1448
|
+
--bg-adv-accent: var(--button-2);
|
|
1449
|
+
--bg-adv-accent-ink: var(--button-2-ink);
|
|
1450
|
+
--bg-adv-card: var(--surface);
|
|
1451
|
+
--bg-adv-input-bg: var(--surface);
|
|
1452
|
+
--bg-adv-border: var(--line-strong);
|
|
1453
|
+
--bg-adv-radius: var(--radius);
|
|
1454
|
+
--bg-adv-font: var(--font);
|
|
1455
|
+
--bg-adv-heading-font: var(--font-display);
|
|
1456
|
+
}
|
|
1457
|
+
.module-card .bg-embed-mount {
|
|
1458
|
+
--ink: var(--band-panel-ink);
|
|
1459
|
+
--muted: var(--band-panel-muted);
|
|
1460
|
+
--link: var(--band-panel-link);
|
|
1461
|
+
--button-2: var(--band-panel-button-2);
|
|
1462
|
+
--button-2-ink: var(--band-panel-button-2-ink);
|
|
1463
|
+
--surface: var(--band-panel-surface);
|
|
1464
|
+
--line-strong: var(--band-panel-line-strong);
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
/* ── Cards and listings ── */
|
|
1468
|
+
|
|
1469
|
+
/* An entry's card (A1's news, C1's Blog · cards): raised on the band's card colour, the cover over the words. */
|
|
1470
|
+
.card {
|
|
1471
|
+
position: relative;
|
|
1472
|
+
display: flex;
|
|
1473
|
+
flex-direction: column;
|
|
1474
|
+
border: 1px solid var(--line);
|
|
1475
|
+
border-radius: var(--radius-card);
|
|
1476
|
+
overflow: hidden;
|
|
1477
|
+
background: var(--surface);
|
|
1478
|
+
box-shadow: var(--shadow);
|
|
1479
|
+
}
|
|
1480
|
+
.card-image {
|
|
1481
|
+
display: block;
|
|
1482
|
+
width: 100%;
|
|
1483
|
+
aspect-ratio: 16 / 10;
|
|
1484
|
+
object-fit: cover;
|
|
1485
|
+
}
|
|
1486
|
+
.card-body {
|
|
1487
|
+
padding: 1.25rem 1.375rem 1.5rem;
|
|
1488
|
+
display: flex;
|
|
1489
|
+
flex-direction: column;
|
|
1490
|
+
gap: 0.5rem;
|
|
1491
|
+
}
|
|
1492
|
+
.card-body > * {
|
|
1493
|
+
margin: 0;
|
|
1494
|
+
}
|
|
1495
|
+
.card-title {
|
|
1496
|
+
font-size: var(--h3);
|
|
1497
|
+
}
|
|
1498
|
+
.card-title a {
|
|
1499
|
+
color: var(--ink);
|
|
1500
|
+
text-decoration: none;
|
|
1501
|
+
}
|
|
1502
|
+
.card-title a::after {
|
|
1503
|
+
content: '';
|
|
1504
|
+
position: absolute;
|
|
1505
|
+
inset: 0;
|
|
1506
|
+
}
|
|
1507
|
+
.card:hover .card-title a {
|
|
1508
|
+
text-decoration: underline;
|
|
1509
|
+
}
|
|
1510
|
+
.card:focus-within {
|
|
1511
|
+
outline: 3px solid var(--ink);
|
|
1512
|
+
outline-offset: 3px;
|
|
1513
|
+
}
|
|
1514
|
+
.card-title a:focus-visible {
|
|
1515
|
+
outline: none;
|
|
1516
|
+
}
|
|
1517
|
+
.card-chips {
|
|
1518
|
+
display: flex;
|
|
1519
|
+
flex-wrap: wrap;
|
|
1520
|
+
gap: 0.375rem;
|
|
1521
|
+
}
|
|
1522
|
+
.card-meta {
|
|
1523
|
+
color: var(--muted);
|
|
1524
|
+
font-size: var(--text-sm);
|
|
1525
|
+
}
|
|
1526
|
+
.card-summary {
|
|
1527
|
+
color: var(--muted);
|
|
1528
|
+
}
|
|
1529
|
+
.card-date {
|
|
1530
|
+
color: var(--muted);
|
|
1531
|
+
font-size: var(--text-sm);
|
|
1532
|
+
}
|
|
1533
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1534
|
+
.card {
|
|
1535
|
+
transition:
|
|
1536
|
+
transform 0.15s ease,
|
|
1537
|
+
box-shadow 0.15s ease;
|
|
1538
|
+
}
|
|
1539
|
+
/* The boards' motion note: a card lifts 2px with a deeper shadow on hover. */
|
|
1540
|
+
.card:hover {
|
|
1541
|
+
transform: translateY(-2px);
|
|
1542
|
+
box-shadow: var(--shadow), 0 14px 28px -18px color-mix(in srgb, var(--shadow-ink) 45%, transparent);
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
.page-header,
|
|
1547
|
+
.listing,
|
|
1548
|
+
.entry {
|
|
1549
|
+
max-width: calc(var(--content) + 2 * var(--gutter));
|
|
1550
|
+
margin: 0 auto;
|
|
1551
|
+
padding: var(--space) var(--gutter) 0;
|
|
1552
|
+
}
|
|
1553
|
+
.listing,
|
|
1554
|
+
.entry {
|
|
1555
|
+
padding-bottom: var(--space);
|
|
1556
|
+
}
|
|
1557
|
+
.page-header:has(+ .bg-section) {
|
|
1558
|
+
padding-bottom: calc(var(--space) / 2);
|
|
1559
|
+
}
|
|
1560
|
+
.page-header + .bg-bleed-full.bg-band-plain {
|
|
1561
|
+
padding-top: 0;
|
|
1562
|
+
}
|
|
1563
|
+
.page-header + .bg-section {
|
|
1564
|
+
margin-top: 0;
|
|
1565
|
+
}
|
|
1566
|
+
.listing .page-header {
|
|
1567
|
+
padding: 0;
|
|
1568
|
+
}
|
|
1569
|
+
.page-header h1 {
|
|
1570
|
+
max-width: 24ch;
|
|
1571
|
+
}
|
|
1572
|
+
.not-found {
|
|
1573
|
+
padding-bottom: var(--space);
|
|
1574
|
+
}
|
|
1575
|
+
.author-avatar {
|
|
1576
|
+
width: 6rem;
|
|
1577
|
+
height: 6rem;
|
|
1578
|
+
border-radius: 50%;
|
|
1579
|
+
object-fit: cover;
|
|
1580
|
+
margin-bottom: 1rem;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
/* ── An entry's page ── */
|
|
1584
|
+
|
|
1585
|
+
.entry {
|
|
1586
|
+
max-width: calc(var(--measure) + 2 * var(--gutter));
|
|
1587
|
+
}
|
|
1588
|
+
.entry-header h1 {
|
|
1589
|
+
font-size: calc(var(--h1) * 0.85);
|
|
1590
|
+
}
|
|
1591
|
+
.byline {
|
|
1592
|
+
color: var(--muted);
|
|
1593
|
+
font-size: var(--text-sm);
|
|
1594
|
+
}
|
|
1595
|
+
.entry-hero {
|
|
1596
|
+
display: block;
|
|
1597
|
+
width: 100%;
|
|
1598
|
+
margin: 1.5rem 0 2rem;
|
|
1599
|
+
border-radius: var(--radius);
|
|
1600
|
+
}
|
|
1601
|
+
.entry-media {
|
|
1602
|
+
display: block;
|
|
1603
|
+
width: 100%;
|
|
1604
|
+
margin: 0 0 2rem;
|
|
1605
|
+
}
|
|
1606
|
+
.fields {
|
|
1607
|
+
margin-top: 2.5rem;
|
|
1608
|
+
border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
|
|
1609
|
+
}
|
|
1610
|
+
.field {
|
|
1611
|
+
padding: 1rem 0;
|
|
1612
|
+
border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
|
|
1613
|
+
}
|
|
1614
|
+
.field dt {
|
|
1615
|
+
font-size: var(--text-sm);
|
|
1616
|
+
font-weight: 700;
|
|
1617
|
+
color: var(--muted);
|
|
1618
|
+
margin-bottom: 0.25rem;
|
|
1619
|
+
}
|
|
1620
|
+
.field dd {
|
|
1621
|
+
margin: 0;
|
|
1622
|
+
}
|
|
1623
|
+
.field dd > :last-child {
|
|
1624
|
+
margin-bottom: 0;
|
|
1625
|
+
}
|
|
1626
|
+
.field img {
|
|
1627
|
+
border-radius: var(--radius);
|
|
1628
|
+
}
|
|
1629
|
+
@media (min-width: 40rem) {
|
|
1630
|
+
.field {
|
|
1631
|
+
display: grid;
|
|
1632
|
+
grid-template-columns: 11rem 1fr;
|
|
1633
|
+
gap: 1rem;
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
/* ── Footer ── */
|
|
1638
|
+
|
|
1639
|
+
/*
|
|
1640
|
+
A1's footer, on the contrast band: the brand, the site's line and its
|
|
1641
|
+
social links in the first column, the Contact column and a column per
|
|
1642
|
+
footer-menu group beside it, the legal line boxed across the bottom, then
|
|
1643
|
+
the bottom row (the utility menu, the footer's legal links, the copyright
|
|
1644
|
+
line and "Powered by BackGold"). On a phone (A13) the columns go two up
|
|
1645
|
+
with the first spanning both. The footer's `data-layout` is the layout the
|
|
1646
|
+
site chose: giving (the donate strip on top), columns, closing (the
|
|
1647
|
+
ClosingCall band above) or compact (one row, .footer-compact).
|
|
1648
|
+
*/
|
|
1649
|
+
.site-footer {
|
|
1650
|
+
background: var(--bg-band-background);
|
|
1651
|
+
color: var(--ink);
|
|
1652
|
+
font-size: 0.9375rem;
|
|
1653
|
+
}
|
|
1654
|
+
.site-footer-inner {
|
|
1655
|
+
max-width: calc(var(--content) + 2 * var(--gutter));
|
|
1656
|
+
margin: 0 auto;
|
|
1657
|
+
padding: clamp(2.75rem, 2rem + 2.5vw, 4rem) var(--gutter) 1.75rem;
|
|
1658
|
+
}
|
|
1659
|
+
.footer-grid {
|
|
1660
|
+
display: grid;
|
|
1661
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1662
|
+
gap: 1.75rem;
|
|
1663
|
+
}
|
|
1664
|
+
.footer-brand {
|
|
1665
|
+
grid-column: 1 / -1;
|
|
1666
|
+
}
|
|
1667
|
+
/* The footer's links take the band's ink; a button (the donate strip's, the closing call's) keeps its own. */
|
|
1668
|
+
.site-footer a:not(.button) {
|
|
1669
|
+
color: var(--ink);
|
|
1670
|
+
}
|
|
1671
|
+
.footer-description {
|
|
1672
|
+
max-width: 26em;
|
|
1673
|
+
margin: 1rem 0 0;
|
|
1674
|
+
color: var(--muted);
|
|
1675
|
+
}
|
|
1676
|
+
.footer-columns {
|
|
1677
|
+
display: contents;
|
|
1678
|
+
}
|
|
1679
|
+
.footer-heading {
|
|
1680
|
+
margin: 0 0 0.875rem;
|
|
1681
|
+
font-family: var(--font);
|
|
1682
|
+
font-size: var(--text-xs);
|
|
1683
|
+
font-weight: 700;
|
|
1684
|
+
letter-spacing: 0.16em;
|
|
1685
|
+
text-transform: uppercase;
|
|
1686
|
+
color: var(--muted);
|
|
1687
|
+
}
|
|
1688
|
+
.footer-column ul {
|
|
1689
|
+
display: grid;
|
|
1690
|
+
gap: 0.5rem;
|
|
1691
|
+
list-style: none;
|
|
1692
|
+
margin: 0;
|
|
1693
|
+
padding: 0;
|
|
1694
|
+
}
|
|
1695
|
+
.footer-column a {
|
|
1696
|
+
text-decoration: none;
|
|
1697
|
+
}
|
|
1698
|
+
.footer-column a:hover,
|
|
1699
|
+
.footer-column a[aria-current='page'] {
|
|
1700
|
+
text-decoration: underline;
|
|
1701
|
+
}
|
|
1702
|
+
.social {
|
|
1703
|
+
display: flex;
|
|
1704
|
+
flex-wrap: wrap;
|
|
1705
|
+
gap: 0.625rem;
|
|
1706
|
+
list-style: none;
|
|
1707
|
+
margin: 1.25rem 0 0;
|
|
1708
|
+
padding: 0;
|
|
1709
|
+
}
|
|
1710
|
+
.social a {
|
|
1711
|
+
display: grid;
|
|
1712
|
+
place-items: center;
|
|
1713
|
+
width: 2.25rem;
|
|
1714
|
+
height: 2.25rem;
|
|
1715
|
+
border: 1px solid var(--line-strong);
|
|
1716
|
+
border-radius: 50%;
|
|
1717
|
+
font-size: var(--text-xs);
|
|
1718
|
+
font-weight: 700;
|
|
1719
|
+
text-decoration: none;
|
|
1720
|
+
}
|
|
1721
|
+
.social a:hover {
|
|
1722
|
+
border-color: var(--ink);
|
|
1723
|
+
}
|
|
1724
|
+
.disclaimer {
|
|
1725
|
+
margin-top: 2.75rem;
|
|
1726
|
+
}
|
|
1727
|
+
.disclaimer p {
|
|
1728
|
+
margin: 0;
|
|
1729
|
+
padding: 0.875rem 1.125rem;
|
|
1730
|
+
border: 1px solid var(--line-strong);
|
|
1731
|
+
border-radius: var(--radius);
|
|
1732
|
+
font-size: var(--text-sm);
|
|
1733
|
+
}
|
|
1734
|
+
.footer-row {
|
|
1735
|
+
display: flex;
|
|
1736
|
+
flex-wrap: wrap;
|
|
1737
|
+
align-items: center;
|
|
1738
|
+
gap: 0.5rem 1.25rem;
|
|
1739
|
+
margin-top: 1.375rem;
|
|
1740
|
+
color: var(--muted);
|
|
1741
|
+
font-size: 0.8125rem;
|
|
1742
|
+
}
|
|
1743
|
+
.footer-row ul {
|
|
1744
|
+
display: flex;
|
|
1745
|
+
flex-wrap: wrap;
|
|
1746
|
+
gap: 0.5rem 1.25rem;
|
|
1747
|
+
list-style: none;
|
|
1748
|
+
margin: 0;
|
|
1749
|
+
padding: 0;
|
|
1750
|
+
}
|
|
1751
|
+
.footer-row a {
|
|
1752
|
+
color: var(--muted);
|
|
1753
|
+
text-decoration: none;
|
|
1754
|
+
}
|
|
1755
|
+
.footer-row a:hover {
|
|
1756
|
+
color: var(--ink);
|
|
1757
|
+
text-decoration: underline;
|
|
1758
|
+
}
|
|
1759
|
+
/*
|
|
1760
|
+
The Contact column (the footer's address and phone, from its editor in
|
|
1761
|
+
BackGold): one more column beside the menu's, in the same voice.
|
|
1762
|
+
*/
|
|
1763
|
+
.footer-address {
|
|
1764
|
+
font-style: normal;
|
|
1765
|
+
}
|
|
1766
|
+
/*
|
|
1767
|
+
The copyright line and "Powered by BackGold" (a link to backgold.com, in the
|
|
1768
|
+
row's own link style) at the bottom row's end; the copyright is the footer's
|
|
1769
|
+
own line, else "© year name".
|
|
1770
|
+
*/
|
|
1771
|
+
.footer-copyright {
|
|
1772
|
+
margin-left: auto;
|
|
1773
|
+
}
|
|
1774
|
+
/*
|
|
1775
|
+
The compact footer (chrome.footer `compact`): one row, the brand beside its
|
|
1776
|
+
social links; the legal line and the bottom row follow as on every layout.
|
|
1777
|
+
*/
|
|
1778
|
+
.footer-compact {
|
|
1779
|
+
display: flex;
|
|
1780
|
+
flex-wrap: wrap;
|
|
1781
|
+
align-items: center;
|
|
1782
|
+
justify-content: space-between;
|
|
1783
|
+
gap: 1rem 2rem;
|
|
1784
|
+
}
|
|
1785
|
+
.footer-compact .social {
|
|
1786
|
+
margin: 0;
|
|
1787
|
+
}
|
|
1788
|
+
.site-footer[data-layout='compact'] .site-footer-inner {
|
|
1789
|
+
padding-top: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
|
|
1790
|
+
}
|
|
1791
|
+
.site-footer[data-layout='compact'] .disclaimer {
|
|
1792
|
+
margin-top: 1.75rem;
|
|
1793
|
+
}
|
|
1794
|
+
@media (min-width: 48rem) {
|
|
1795
|
+
/*
|
|
1796
|
+
The grid is as wide as the columns it holds (--footer-columns: the Contact
|
|
1797
|
+
column and the menu's, counted by the layout): the brand's column, then
|
|
1798
|
+
one per column. With none, the brand and its line stand alone, never at
|
|
1799
|
+
the left of three empty columns.
|
|
1800
|
+
*/
|
|
1801
|
+
.footer-grid {
|
|
1802
|
+
grid-template-columns: minmax(0, 1.4fr) repeat(var(--footer-columns, 3), minmax(0, 1fr));
|
|
1803
|
+
gap: 2.25rem;
|
|
1804
|
+
}
|
|
1805
|
+
.footer-grid[style*='--footer-columns: 0'] {
|
|
1806
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1807
|
+
}
|
|
1808
|
+
.footer-grid[style*='--footer-columns: 0'] .footer-description {
|
|
1809
|
+
max-width: var(--measure);
|
|
1810
|
+
}
|
|
1811
|
+
.footer-brand {
|
|
1812
|
+
grid-column: auto;
|
|
1813
|
+
}
|
|
1814
|
+
.footer-copyright {
|
|
1815
|
+
margin-left: auto;
|
|
1816
|
+
}
|
|
1817
|
+
.footer-powered {
|
|
1818
|
+
margin-left: 0;
|
|
1819
|
+
}
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
/* ── Phone width ── */
|
|
1823
|
+
|
|
1824
|
+
/*
|
|
1825
|
+
Nothing a page carries may push it wider than the screen: long tables and
|
|
1826
|
+
code in authored prose scroll inside themselves, and a word with no break
|
|
1827
|
+
(an address, a long name) wraps anywhere. Under 22rem the footer's columns
|
|
1828
|
+
stack into one.
|
|
1829
|
+
*/
|
|
1830
|
+
.prose pre,
|
|
1831
|
+
.prose table {
|
|
1832
|
+
display: block;
|
|
1833
|
+
max-width: 100%;
|
|
1834
|
+
overflow-x: auto;
|
|
1835
|
+
}
|
|
1836
|
+
.layout-main {
|
|
1837
|
+
min-width: 0;
|
|
1838
|
+
}
|
|
1839
|
+
.brand-words,
|
|
1840
|
+
.footer-column a,
|
|
1841
|
+
.byline,
|
|
1842
|
+
.crumbs {
|
|
1843
|
+
overflow-wrap: anywhere;
|
|
1844
|
+
}
|
|
1845
|
+
@media (max-width: 22rem) {
|
|
1846
|
+
.footer-grid {
|
|
1847
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
/* ── Preview bar (from @backgold/astro) ── */
|
|
1852
|
+
|
|
1853
|
+
body:has(.bg-preview-bar) {
|
|
1854
|
+
padding-top: 2.25rem;
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
/* ── Setup page ── */
|
|
1858
|
+
|
|
1859
|
+
.setup {
|
|
1860
|
+
max-width: 40rem;
|
|
1861
|
+
margin: 0 auto;
|
|
1862
|
+
padding: var(--space) var(--gutter);
|
|
1863
|
+
}
|
|
1864
|
+
.setup h1 {
|
|
1865
|
+
font-size: calc(var(--h1) * 0.75);
|
|
1866
|
+
}
|
|
1867
|
+
.setup h2 {
|
|
1868
|
+
font-size: var(--h3);
|
|
1869
|
+
margin-top: 2rem;
|
|
1870
|
+
}
|
|
1871
|
+
.setup-list {
|
|
1872
|
+
list-style: none;
|
|
1873
|
+
padding: 0;
|
|
1874
|
+
}
|
|
1875
|
+
.setup-list li {
|
|
1876
|
+
padding: 1rem 1.25rem;
|
|
1877
|
+
margin-bottom: 0.75rem;
|
|
1878
|
+
border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
|
|
1879
|
+
border-radius: var(--radius);
|
|
1880
|
+
background: var(--band-panel);
|
|
1881
|
+
}
|
|
1882
|
+
.setup-list p {
|
|
1883
|
+
margin: 0 0 0.25rem;
|
|
1884
|
+
}
|
|
1885
|
+
.setup-list code {
|
|
1886
|
+
font-weight: 700;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
/* ── Motion ── */
|
|
1890
|
+
|
|
1891
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1892
|
+
html {
|
|
1893
|
+
scroll-behavior: smooth;
|
|
1894
|
+
}
|
|
1895
|
+
a,
|
|
1896
|
+
.button {
|
|
1897
|
+
transition:
|
|
1898
|
+
color 0.15s ease,
|
|
1899
|
+
background-color 0.15s ease,
|
|
1900
|
+
text-decoration-thickness 0.15s ease;
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
@media print {
|
|
1905
|
+
.site-header nav,
|
|
1906
|
+
.header-sheet,
|
|
1907
|
+
.skip-link {
|
|
1908
|
+
display: none;
|
|
1909
|
+
}
|
|
1910
|
+
}
|