@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,634 @@
|
|
|
1
|
+
/*
|
|
2
|
+
The storefront (board 06 of the store design; src/lib/store.ts): the shop,
|
|
3
|
+
a department's shelf, a listing's page with its island, a collection's
|
|
4
|
+
page, and the header's Cart link. Colours are the band's short names
|
|
5
|
+
(site.css), so a template's tokens and the site's brand carry through;
|
|
6
|
+
nothing scrolls sideways, and every control is at least 44px tall.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
.store-page [hidden],
|
|
10
|
+
.cart-link[hidden] {
|
|
11
|
+
display: none !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* ── The header's Cart link ── */
|
|
15
|
+
|
|
16
|
+
.cart-link {
|
|
17
|
+
display: inline-flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
gap: 0.4375rem;
|
|
20
|
+
min-height: 2.75rem;
|
|
21
|
+
padding: 0 0.875rem;
|
|
22
|
+
border: 1px solid var(--line-strong);
|
|
23
|
+
border-radius: var(--pill);
|
|
24
|
+
color: var(--ink);
|
|
25
|
+
font-size: var(--text-sm);
|
|
26
|
+
font-weight: 700;
|
|
27
|
+
text-decoration: none;
|
|
28
|
+
white-space: nowrap;
|
|
29
|
+
}
|
|
30
|
+
.cart-link:hover {
|
|
31
|
+
text-decoration: underline;
|
|
32
|
+
}
|
|
33
|
+
.cart-link svg {
|
|
34
|
+
width: 1rem;
|
|
35
|
+
height: 1rem;
|
|
36
|
+
fill: none;
|
|
37
|
+
stroke: currentColor;
|
|
38
|
+
stroke-width: 1.9;
|
|
39
|
+
stroke-linecap: round;
|
|
40
|
+
stroke-linejoin: round;
|
|
41
|
+
}
|
|
42
|
+
.cart-count::before {
|
|
43
|
+
content: '·';
|
|
44
|
+
margin-right: 0.375rem;
|
|
45
|
+
color: var(--muted);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* ── The page ── */
|
|
49
|
+
|
|
50
|
+
.store-page {
|
|
51
|
+
max-width: calc(var(--content) + 2 * var(--gutter));
|
|
52
|
+
margin: 0 auto;
|
|
53
|
+
padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem) var(--gutter) var(--space);
|
|
54
|
+
}
|
|
55
|
+
.store-page .crumbs {
|
|
56
|
+
margin-bottom: 1.125rem;
|
|
57
|
+
color: var(--muted);
|
|
58
|
+
font-size: var(--text-sm);
|
|
59
|
+
}
|
|
60
|
+
.store-page .crumbs a {
|
|
61
|
+
color: var(--link);
|
|
62
|
+
}
|
|
63
|
+
.store-head {
|
|
64
|
+
margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
|
|
65
|
+
}
|
|
66
|
+
.store-head h1 {
|
|
67
|
+
margin: 0;
|
|
68
|
+
max-width: 24ch;
|
|
69
|
+
}
|
|
70
|
+
.store-head .lede {
|
|
71
|
+
margin: 0.75rem 0 0;
|
|
72
|
+
}
|
|
73
|
+
/* A page at /store as the shop's opening keeps its own bands, and the grid starts under them. */
|
|
74
|
+
.store-home > .bg-section:last-of-type {
|
|
75
|
+
margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.store-contribution {
|
|
79
|
+
margin: calc(-1 * clamp(0.75rem, 0.5rem + 0.75vw, 1.125rem)) 0 clamp(1.25rem, 1rem + 1vw, 1.75rem);
|
|
80
|
+
color: var(--muted);
|
|
81
|
+
font-size: var(--text-sm);
|
|
82
|
+
}
|
|
83
|
+
.store-cols {
|
|
84
|
+
display: grid;
|
|
85
|
+
gap: 1.5rem;
|
|
86
|
+
}
|
|
87
|
+
@media (min-width: 56rem) {
|
|
88
|
+
.store-cols {
|
|
89
|
+
grid-template-columns: 13.5rem minmax(0, 1fr);
|
|
90
|
+
gap: 2.5rem;
|
|
91
|
+
align-items: start;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* The rail: two short lists; on a phone they wrap as pills above the grid. */
|
|
96
|
+
.store-rail-head {
|
|
97
|
+
margin: 0 0 0.5rem;
|
|
98
|
+
color: var(--muted);
|
|
99
|
+
font-size: var(--text-xs);
|
|
100
|
+
font-weight: 700;
|
|
101
|
+
letter-spacing: 0.12em;
|
|
102
|
+
text-transform: uppercase;
|
|
103
|
+
}
|
|
104
|
+
.store-rail ul {
|
|
105
|
+
display: flex;
|
|
106
|
+
flex-wrap: wrap;
|
|
107
|
+
gap: 0.5rem;
|
|
108
|
+
margin: 0 0 1.25rem;
|
|
109
|
+
padding: 0;
|
|
110
|
+
list-style: none;
|
|
111
|
+
}
|
|
112
|
+
.store-rail a {
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
justify-content: space-between;
|
|
116
|
+
gap: 0.75rem;
|
|
117
|
+
min-height: 2.75rem;
|
|
118
|
+
padding: 0 0.875rem;
|
|
119
|
+
border: 1px solid var(--line);
|
|
120
|
+
border-radius: var(--pill);
|
|
121
|
+
color: var(--ink);
|
|
122
|
+
font-size: var(--text-sm);
|
|
123
|
+
font-weight: 600;
|
|
124
|
+
text-decoration: none;
|
|
125
|
+
}
|
|
126
|
+
.store-rail a span {
|
|
127
|
+
color: var(--muted);
|
|
128
|
+
font-weight: 500;
|
|
129
|
+
font-variant-numeric: tabular-nums;
|
|
130
|
+
}
|
|
131
|
+
.store-rail a[aria-current] {
|
|
132
|
+
border-color: var(--ink);
|
|
133
|
+
font-weight: 800;
|
|
134
|
+
}
|
|
135
|
+
.store-rail a:hover {
|
|
136
|
+
text-decoration: underline;
|
|
137
|
+
}
|
|
138
|
+
@media (min-width: 56rem) {
|
|
139
|
+
.store-rail ul {
|
|
140
|
+
display: block;
|
|
141
|
+
}
|
|
142
|
+
.store-rail a {
|
|
143
|
+
min-height: 2.75rem;
|
|
144
|
+
padding: 0 0.625rem;
|
|
145
|
+
border: 0;
|
|
146
|
+
border-radius: var(--radius);
|
|
147
|
+
}
|
|
148
|
+
.store-rail a[aria-current] {
|
|
149
|
+
background: var(--band-tint);
|
|
150
|
+
color: var(--band-tint-ink);
|
|
151
|
+
}
|
|
152
|
+
.store-rail-sub a {
|
|
153
|
+
padding-left: 1.5rem;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/* The filter panel under the rail's lists: the same heads and links, so a
|
|
158
|
+
chosen value is current as a department is; it stacks, never scrolls. */
|
|
159
|
+
.store-filters-clear {
|
|
160
|
+
margin: 0 0 0.5rem;
|
|
161
|
+
}
|
|
162
|
+
.store-rail .store-filters-clear a,
|
|
163
|
+
.store-empty-clear {
|
|
164
|
+
display: inline-flex;
|
|
165
|
+
align-items: center;
|
|
166
|
+
min-height: 2.75rem;
|
|
167
|
+
padding: 0;
|
|
168
|
+
border: 0;
|
|
169
|
+
border-radius: 0;
|
|
170
|
+
background: none;
|
|
171
|
+
color: var(--link);
|
|
172
|
+
font-weight: 700;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* ── The grid and its cards ── */
|
|
176
|
+
|
|
177
|
+
.product-grid {
|
|
178
|
+
display: grid;
|
|
179
|
+
grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr));
|
|
180
|
+
gap: clamp(0.875rem, 2vw, 1.5rem);
|
|
181
|
+
margin: 0;
|
|
182
|
+
padding: 0;
|
|
183
|
+
list-style: none;
|
|
184
|
+
}
|
|
185
|
+
@media (min-width: 40rem) {
|
|
186
|
+
.product-grid {
|
|
187
|
+
grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
.product-card {
|
|
191
|
+
display: flex;
|
|
192
|
+
flex-direction: column;
|
|
193
|
+
height: 100%;
|
|
194
|
+
border: 1px solid var(--line);
|
|
195
|
+
border-radius: var(--radius-card);
|
|
196
|
+
overflow: hidden;
|
|
197
|
+
background: var(--surface);
|
|
198
|
+
color: var(--ink);
|
|
199
|
+
text-decoration: none;
|
|
200
|
+
}
|
|
201
|
+
.product-card:hover .product-card-name {
|
|
202
|
+
text-decoration: underline;
|
|
203
|
+
}
|
|
204
|
+
.product-card:focus-visible {
|
|
205
|
+
outline: 3px solid var(--ink);
|
|
206
|
+
outline-offset: 3px;
|
|
207
|
+
}
|
|
208
|
+
.product-card-photo {
|
|
209
|
+
position: relative;
|
|
210
|
+
display: block;
|
|
211
|
+
aspect-ratio: 1 / 1;
|
|
212
|
+
background: var(--band-tint);
|
|
213
|
+
}
|
|
214
|
+
.product-card-photo img {
|
|
215
|
+
display: block;
|
|
216
|
+
width: 100%;
|
|
217
|
+
height: 100%;
|
|
218
|
+
object-fit: cover;
|
|
219
|
+
}
|
|
220
|
+
.product-card-blank {
|
|
221
|
+
display: block;
|
|
222
|
+
width: 100%;
|
|
223
|
+
height: 100%;
|
|
224
|
+
background: var(--band-tint);
|
|
225
|
+
}
|
|
226
|
+
.product-card-flag {
|
|
227
|
+
position: absolute;
|
|
228
|
+
top: 0.625rem;
|
|
229
|
+
left: 0.625rem;
|
|
230
|
+
padding: 0.1875rem 0.625rem;
|
|
231
|
+
border-radius: var(--pill);
|
|
232
|
+
background: var(--surface);
|
|
233
|
+
color: var(--ink);
|
|
234
|
+
font-size: var(--text-xs);
|
|
235
|
+
font-weight: 700;
|
|
236
|
+
}
|
|
237
|
+
.product-card[data-availability='low'] .product-card-flag {
|
|
238
|
+
color: var(--accent);
|
|
239
|
+
}
|
|
240
|
+
.product-card-body {
|
|
241
|
+
display: flex;
|
|
242
|
+
flex-direction: column;
|
|
243
|
+
gap: 0.25rem;
|
|
244
|
+
padding: 0.875rem 1rem 1rem;
|
|
245
|
+
}
|
|
246
|
+
.product-card-name {
|
|
247
|
+
margin: 0;
|
|
248
|
+
font-family: var(--font);
|
|
249
|
+
font-size: var(--text);
|
|
250
|
+
font-weight: 700;
|
|
251
|
+
line-height: 1.3;
|
|
252
|
+
}
|
|
253
|
+
.product-card-price {
|
|
254
|
+
font-weight: 700;
|
|
255
|
+
font-variant-numeric: tabular-nums;
|
|
256
|
+
}
|
|
257
|
+
.product-card-word {
|
|
258
|
+
color: var(--muted);
|
|
259
|
+
font-size: var(--text-sm);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.store-pager {
|
|
263
|
+
display: flex;
|
|
264
|
+
flex-wrap: wrap;
|
|
265
|
+
gap: 0.75rem 1.5rem;
|
|
266
|
+
margin-top: 1.5rem;
|
|
267
|
+
}
|
|
268
|
+
.store-pager a {
|
|
269
|
+
display: inline-flex;
|
|
270
|
+
align-items: center;
|
|
271
|
+
min-height: 2.75rem;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/* ── The collection band: the shop's one call ── */
|
|
275
|
+
|
|
276
|
+
.store-band {
|
|
277
|
+
display: grid;
|
|
278
|
+
gap: 1.25rem;
|
|
279
|
+
margin-top: clamp(1.75rem, 1rem + 2vw, 2.75rem);
|
|
280
|
+
padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
|
|
281
|
+
border-radius: var(--radius-card);
|
|
282
|
+
background: var(--band-tint);
|
|
283
|
+
color: var(--band-tint-ink);
|
|
284
|
+
--ink: var(--band-tint-ink);
|
|
285
|
+
--muted: var(--band-tint-muted);
|
|
286
|
+
--accent: var(--band-tint-accent);
|
|
287
|
+
--link: var(--band-tint-link);
|
|
288
|
+
--button: var(--band-tint-button);
|
|
289
|
+
--button-ink: var(--band-tint-button-ink);
|
|
290
|
+
}
|
|
291
|
+
@media (min-width: 40rem) {
|
|
292
|
+
.store-band:has(.store-band-cover) {
|
|
293
|
+
grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
|
|
294
|
+
align-items: center;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
.store-band-cover {
|
|
298
|
+
display: block;
|
|
299
|
+
width: 100%;
|
|
300
|
+
aspect-ratio: 16 / 10;
|
|
301
|
+
object-fit: cover;
|
|
302
|
+
border-radius: var(--radius);
|
|
303
|
+
}
|
|
304
|
+
.store-band-words h2 {
|
|
305
|
+
margin: 0 0 0.5rem;
|
|
306
|
+
}
|
|
307
|
+
.store-band-words p {
|
|
308
|
+
margin: 0;
|
|
309
|
+
}
|
|
310
|
+
.store-band-words .prose {
|
|
311
|
+
margin-bottom: 1rem;
|
|
312
|
+
}
|
|
313
|
+
.store-band-call {
|
|
314
|
+
margin-top: 1rem !important;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/* ── A listing's page ── */
|
|
318
|
+
|
|
319
|
+
.product-top {
|
|
320
|
+
display: grid;
|
|
321
|
+
gap: 1.5rem;
|
|
322
|
+
}
|
|
323
|
+
@media (min-width: 56rem) {
|
|
324
|
+
.product-top {
|
|
325
|
+
grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
|
|
326
|
+
gap: 3rem;
|
|
327
|
+
align-items: start;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
.product-photo {
|
|
331
|
+
display: block;
|
|
332
|
+
width: 100%;
|
|
333
|
+
aspect-ratio: 1 / 1;
|
|
334
|
+
object-fit: cover;
|
|
335
|
+
border-radius: var(--radius-card);
|
|
336
|
+
background: var(--band-tint);
|
|
337
|
+
}
|
|
338
|
+
.product-thumbs {
|
|
339
|
+
display: flex;
|
|
340
|
+
flex-wrap: wrap;
|
|
341
|
+
gap: 0.5rem;
|
|
342
|
+
margin: 0.75rem 0 0;
|
|
343
|
+
padding: 0;
|
|
344
|
+
list-style: none;
|
|
345
|
+
}
|
|
346
|
+
.product-thumbs a {
|
|
347
|
+
display: block;
|
|
348
|
+
width: 3.5rem;
|
|
349
|
+
height: 3.5rem;
|
|
350
|
+
border: 2px solid transparent;
|
|
351
|
+
border-radius: var(--radius);
|
|
352
|
+
overflow: hidden;
|
|
353
|
+
}
|
|
354
|
+
.product-thumbs a[aria-current] {
|
|
355
|
+
border-color: var(--ink);
|
|
356
|
+
}
|
|
357
|
+
.product-thumbs img {
|
|
358
|
+
display: block;
|
|
359
|
+
width: 100%;
|
|
360
|
+
height: 100%;
|
|
361
|
+
object-fit: cover;
|
|
362
|
+
}
|
|
363
|
+
.product-words h1 {
|
|
364
|
+
margin: 0;
|
|
365
|
+
font-size: clamp(2rem, 1.5rem + 1.8vw, 2.875rem);
|
|
366
|
+
line-height: 1.05;
|
|
367
|
+
}
|
|
368
|
+
.product-words .lede {
|
|
369
|
+
margin: 0.625rem 0 0;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/* The island: the live price, the word, the choice, the questions, Add to cart. */
|
|
373
|
+
.island {
|
|
374
|
+
display: grid;
|
|
375
|
+
gap: 0.75rem;
|
|
376
|
+
margin-top: 1.25rem;
|
|
377
|
+
padding: 1.25rem;
|
|
378
|
+
border: 1px solid var(--line);
|
|
379
|
+
border-radius: var(--radius-card);
|
|
380
|
+
background: var(--surface);
|
|
381
|
+
}
|
|
382
|
+
.island > *,
|
|
383
|
+
.island-form > * {
|
|
384
|
+
margin: 0;
|
|
385
|
+
}
|
|
386
|
+
.island-price {
|
|
387
|
+
display: flex;
|
|
388
|
+
align-items: baseline;
|
|
389
|
+
flex-wrap: wrap;
|
|
390
|
+
gap: 0.625rem;
|
|
391
|
+
}
|
|
392
|
+
.island-now {
|
|
393
|
+
font-family: var(--font-display);
|
|
394
|
+
font-size: var(--h3);
|
|
395
|
+
font-weight: 800;
|
|
396
|
+
font-variant-numeric: tabular-nums;
|
|
397
|
+
}
|
|
398
|
+
.island-was {
|
|
399
|
+
color: var(--muted);
|
|
400
|
+
font-variant-numeric: tabular-nums;
|
|
401
|
+
}
|
|
402
|
+
.island-ship {
|
|
403
|
+
font-size: var(--text-sm);
|
|
404
|
+
font-weight: 600;
|
|
405
|
+
}
|
|
406
|
+
.island-contribution {
|
|
407
|
+
font-size: var(--text-sm);
|
|
408
|
+
}
|
|
409
|
+
.island-note-text {
|
|
410
|
+
margin: 0;
|
|
411
|
+
color: var(--muted);
|
|
412
|
+
font-size: var(--text-sm);
|
|
413
|
+
}
|
|
414
|
+
.product-maker {
|
|
415
|
+
margin-bottom: 0.5rem;
|
|
416
|
+
}
|
|
417
|
+
.island-line,
|
|
418
|
+
.island-help,
|
|
419
|
+
.island-note {
|
|
420
|
+
color: var(--muted);
|
|
421
|
+
font-size: var(--text-sm);
|
|
422
|
+
}
|
|
423
|
+
.island-items {
|
|
424
|
+
display: flex;
|
|
425
|
+
flex-wrap: wrap;
|
|
426
|
+
gap: 0.5rem;
|
|
427
|
+
padding: 0;
|
|
428
|
+
border: 0;
|
|
429
|
+
}
|
|
430
|
+
.island-items legend {
|
|
431
|
+
margin-bottom: 0.5rem;
|
|
432
|
+
font-size: var(--text-sm);
|
|
433
|
+
font-weight: 700;
|
|
434
|
+
}
|
|
435
|
+
.island-item {
|
|
436
|
+
position: relative;
|
|
437
|
+
}
|
|
438
|
+
.island-item input {
|
|
439
|
+
position: absolute;
|
|
440
|
+
opacity: 0;
|
|
441
|
+
inset: 0;
|
|
442
|
+
}
|
|
443
|
+
.island-item span {
|
|
444
|
+
display: inline-flex;
|
|
445
|
+
align-items: center;
|
|
446
|
+
min-width: 2.75rem;
|
|
447
|
+
min-height: 2.75rem;
|
|
448
|
+
justify-content: center;
|
|
449
|
+
padding: 0 0.875rem;
|
|
450
|
+
border: 1px solid var(--line-strong);
|
|
451
|
+
border-radius: var(--pill);
|
|
452
|
+
font-weight: 700;
|
|
453
|
+
}
|
|
454
|
+
.island-item input:checked + span {
|
|
455
|
+
border-color: var(--ink);
|
|
456
|
+
background: var(--ink);
|
|
457
|
+
color: var(--surface);
|
|
458
|
+
}
|
|
459
|
+
.island-item input:focus-visible + span {
|
|
460
|
+
outline: 3px solid var(--ink);
|
|
461
|
+
outline-offset: 2px;
|
|
462
|
+
}
|
|
463
|
+
.island-item input:disabled + span {
|
|
464
|
+
opacity: 0.7;
|
|
465
|
+
}
|
|
466
|
+
.island-form {
|
|
467
|
+
display: grid;
|
|
468
|
+
gap: 0.75rem;
|
|
469
|
+
}
|
|
470
|
+
.island-qty-row {
|
|
471
|
+
display: flex;
|
|
472
|
+
flex-wrap: wrap;
|
|
473
|
+
align-items: center;
|
|
474
|
+
gap: 0.75rem;
|
|
475
|
+
}
|
|
476
|
+
.island-qty {
|
|
477
|
+
display: inline-flex;
|
|
478
|
+
align-items: center;
|
|
479
|
+
border: 1px solid var(--line-strong);
|
|
480
|
+
border-radius: var(--pill);
|
|
481
|
+
}
|
|
482
|
+
.island-step {
|
|
483
|
+
width: 2.75rem;
|
|
484
|
+
height: 2.75rem;
|
|
485
|
+
border: 0;
|
|
486
|
+
background: transparent;
|
|
487
|
+
color: var(--ink);
|
|
488
|
+
font: inherit;
|
|
489
|
+
font-size: 1.25rem;
|
|
490
|
+
font-weight: 700;
|
|
491
|
+
cursor: pointer;
|
|
492
|
+
}
|
|
493
|
+
.island-qty input {
|
|
494
|
+
width: 3rem;
|
|
495
|
+
height: 2.75rem;
|
|
496
|
+
border: 0;
|
|
497
|
+
background: transparent;
|
|
498
|
+
color: var(--ink);
|
|
499
|
+
font: inherit;
|
|
500
|
+
font-weight: 700;
|
|
501
|
+
text-align: center;
|
|
502
|
+
-moz-appearance: textfield;
|
|
503
|
+
appearance: textfield;
|
|
504
|
+
}
|
|
505
|
+
.island-qty input::-webkit-inner-spin-button,
|
|
506
|
+
.island-qty input::-webkit-outer-spin-button {
|
|
507
|
+
-webkit-appearance: none;
|
|
508
|
+
margin: 0;
|
|
509
|
+
}
|
|
510
|
+
.island-questions {
|
|
511
|
+
display: grid;
|
|
512
|
+
gap: 0.75rem;
|
|
513
|
+
}
|
|
514
|
+
.island-questions:empty {
|
|
515
|
+
display: none;
|
|
516
|
+
}
|
|
517
|
+
.island-field {
|
|
518
|
+
display: grid;
|
|
519
|
+
gap: 0.3125rem;
|
|
520
|
+
}
|
|
521
|
+
.island-field label,
|
|
522
|
+
.island-field legend {
|
|
523
|
+
font-size: var(--text-sm);
|
|
524
|
+
font-weight: 700;
|
|
525
|
+
}
|
|
526
|
+
.island-field input:not([type='checkbox']),
|
|
527
|
+
.island-field select,
|
|
528
|
+
.island-field textarea {
|
|
529
|
+
width: 100%;
|
|
530
|
+
min-height: 2.75rem;
|
|
531
|
+
padding: 0.5rem 0.75rem;
|
|
532
|
+
border: 1px solid var(--line-strong);
|
|
533
|
+
border-radius: var(--radius);
|
|
534
|
+
background: var(--surface);
|
|
535
|
+
color: var(--ink);
|
|
536
|
+
font: inherit;
|
|
537
|
+
}
|
|
538
|
+
.island-field fieldset {
|
|
539
|
+
display: grid;
|
|
540
|
+
gap: 0.25rem;
|
|
541
|
+
margin: 0;
|
|
542
|
+
padding: 0;
|
|
543
|
+
border: 0;
|
|
544
|
+
}
|
|
545
|
+
.island-agree {
|
|
546
|
+
display: flex !important;
|
|
547
|
+
align-items: center;
|
|
548
|
+
gap: 0.5rem;
|
|
549
|
+
min-height: 2.75rem;
|
|
550
|
+
font-weight: 500 !important;
|
|
551
|
+
}
|
|
552
|
+
.island-agree input {
|
|
553
|
+
width: 1.125rem;
|
|
554
|
+
height: 1.125rem;
|
|
555
|
+
}
|
|
556
|
+
.island-add,
|
|
557
|
+
.island-retry,
|
|
558
|
+
.island-fallback {
|
|
559
|
+
width: 100%;
|
|
560
|
+
}
|
|
561
|
+
.island-add:disabled {
|
|
562
|
+
border-color: var(--line-strong);
|
|
563
|
+
background: transparent;
|
|
564
|
+
color: var(--muted);
|
|
565
|
+
cursor: not-allowed;
|
|
566
|
+
text-decoration: none;
|
|
567
|
+
}
|
|
568
|
+
.island-status:empty {
|
|
569
|
+
display: none;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.product-more {
|
|
573
|
+
display: grid;
|
|
574
|
+
gap: 1.75rem;
|
|
575
|
+
margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
|
|
576
|
+
}
|
|
577
|
+
@media (min-width: 56rem) {
|
|
578
|
+
.product-more {
|
|
579
|
+
grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
|
|
580
|
+
gap: 3rem;
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
.product-more h2,
|
|
584
|
+
.product-related h2 {
|
|
585
|
+
margin: 0 0 0.75rem;
|
|
586
|
+
font-size: var(--h3);
|
|
587
|
+
}
|
|
588
|
+
.product-related h2 a {
|
|
589
|
+
color: var(--link);
|
|
590
|
+
}
|
|
591
|
+
.product-attributes {
|
|
592
|
+
width: 100%;
|
|
593
|
+
border-collapse: collapse;
|
|
594
|
+
font-size: var(--text-sm);
|
|
595
|
+
}
|
|
596
|
+
.product-attributes th,
|
|
597
|
+
.product-attributes td {
|
|
598
|
+
padding: 0.625rem 0;
|
|
599
|
+
border-bottom: 1px solid var(--line);
|
|
600
|
+
text-align: left;
|
|
601
|
+
vertical-align: top;
|
|
602
|
+
overflow-wrap: anywhere;
|
|
603
|
+
}
|
|
604
|
+
.product-attributes th {
|
|
605
|
+
width: 45%;
|
|
606
|
+
padding-right: 1rem;
|
|
607
|
+
color: var(--muted);
|
|
608
|
+
font-weight: 600;
|
|
609
|
+
}
|
|
610
|
+
.product-related {
|
|
611
|
+
margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/* ── A collection's page ── */
|
|
615
|
+
|
|
616
|
+
.collection-cover {
|
|
617
|
+
display: block;
|
|
618
|
+
width: 100%;
|
|
619
|
+
aspect-ratio: 3 / 1;
|
|
620
|
+
object-fit: cover;
|
|
621
|
+
border-radius: var(--radius-card);
|
|
622
|
+
margin-bottom: 1.5rem;
|
|
623
|
+
}
|
|
624
|
+
@media (max-width: 39.99rem) {
|
|
625
|
+
.collection-cover {
|
|
626
|
+
aspect-ratio: 16 / 9;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.store-more {
|
|
631
|
+
max-width: calc(var(--content) + 2 * var(--gutter));
|
|
632
|
+
margin: 0 auto;
|
|
633
|
+
padding: 0 var(--gutter) var(--space);
|
|
634
|
+
}
|