@lets-ship/site 1.0.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blog/article-view.d.ts.map +1 -1
- package/dist/blog/article-view.js +2 -1
- package/dist/blog/article-view.js.map +1 -1
- package/dist/blog/batches.d.ts +13 -0
- package/dist/blog/batches.d.ts.map +1 -0
- package/dist/blog/batches.js +17 -0
- package/dist/blog/batches.js.map +1 -0
- package/dist/blog/index-view.d.ts +5 -0
- package/dist/blog/index-view.d.ts.map +1 -1
- package/dist/blog/index-view.js +25 -8
- package/dist/blog/index-view.js.map +1 -1
- package/dist/blog/more-posts.d.ts +17 -0
- package/dist/blog/more-posts.d.ts.map +1 -0
- package/dist/blog/more-posts.js +65 -0
- package/dist/blog/more-posts.js.map +1 -0
- package/dist/config/site-config.d.ts +49 -2
- package/dist/config/site-config.d.ts.map +1 -1
- package/dist/config/site-config.js +46 -1
- package/dist/config/site-config.js.map +1 -1
- package/dist/i18n/tables/de.d.ts.map +1 -1
- package/dist/i18n/tables/de.js +17 -0
- package/dist/i18n/tables/de.js.map +1 -1
- package/dist/i18n/tables/en.d.ts.map +1 -1
- package/dist/i18n/tables/en.js +17 -0
- package/dist/i18n/tables/en.js.map +1 -1
- package/dist/i18n/tables/es.d.ts.map +1 -1
- package/dist/i18n/tables/es.js +17 -0
- package/dist/i18n/tables/es.js.map +1 -1
- package/dist/i18n/tables/fr.d.ts.map +1 -1
- package/dist/i18n/tables/fr.js +17 -0
- package/dist/i18n/tables/fr.js.map +1 -1
- package/dist/i18n/tables/nl.d.ts.map +1 -1
- package/dist/i18n/tables/nl.js +17 -0
- package/dist/i18n/tables/nl.js.map +1 -1
- package/dist/i18n/tables/pt.d.ts.map +1 -1
- package/dist/i18n/tables/pt.js +17 -0
- package/dist/i18n/tables/pt.js.map +1 -1
- package/dist/i18n/tables/tr.d.ts.map +1 -1
- package/dist/i18n/tables/tr.js +17 -0
- package/dist/i18n/tables/tr.js.map +1 -1
- package/dist/i18n/types.d.ts +27 -0
- package/dist/i18n/types.d.ts.map +1 -1
- package/dist/layout/footer.d.ts +9 -5
- package/dist/layout/footer.d.ts.map +1 -1
- package/dist/layout/footer.js +71 -8
- package/dist/layout/footer.js.map +1 -1
- package/dist/layout/frame.d.ts +14 -0
- package/dist/layout/frame.d.ts.map +1 -0
- package/dist/layout/frame.js +15 -0
- package/dist/layout/frame.js.map +1 -0
- package/dist/layout/header-menu.d.ts +27 -0
- package/dist/layout/header-menu.d.ts.map +1 -0
- package/dist/layout/header-menu.js +89 -0
- package/dist/layout/header-menu.js.map +1 -0
- package/dist/layout/header.d.ts +12 -0
- package/dist/layout/header.d.ts.map +1 -0
- package/dist/layout/header.js +101 -0
- package/dist/layout/header.js.map +1 -0
- package/dist/layout/nav-width.d.ts +29 -0
- package/dist/layout/nav-width.d.ts.map +1 -0
- package/dist/layout/nav-width.js +32 -0
- package/dist/layout/nav-width.js.map +1 -0
- package/dist/layout/nav.d.ts +13 -0
- package/dist/layout/nav.d.ts.map +1 -0
- package/dist/layout/nav.js +5 -0
- package/dist/layout/nav.js.map +1 -0
- package/dist/layout/root.d.ts.map +1 -1
- package/dist/layout/root.js +8 -1
- package/dist/layout/root.js.map +1 -1
- package/dist/mdx/allow-list.d.ts +2 -2
- package/dist/mdx/allow-list.d.ts.map +1 -1
- package/dist/mdx/allow-list.js +6 -0
- package/dist/mdx/allow-list.js.map +1 -1
- package/dist/mdx/components.d.ts +4 -1
- package/dist/mdx/components.d.ts.map +1 -1
- package/dist/mdx/components.js +14 -4
- package/dist/mdx/components.js.map +1 -1
- package/dist/node/errors.js +1 -1
- package/dist/node/errors.js.map +1 -1
- package/dist/site/app.d.ts.map +1 -1
- package/dist/site/app.js +3 -2
- package/dist/site/app.js.map +1 -1
- package/dist/site/site-page.d.ts.map +1 -1
- package/dist/site/site-page.js +4 -4
- package/dist/site/site-page.js.map +1 -1
- package/dist/website/blocks/announcement-dismiss.d.ts +13 -0
- package/dist/website/blocks/announcement-dismiss.d.ts.map +1 -0
- package/dist/website/blocks/announcement-dismiss.js +49 -0
- package/dist/website/blocks/announcement-dismiss.js.map +1 -0
- package/dist/website/blocks/announcement-views.d.ts +24 -0
- package/dist/website/blocks/announcement-views.d.ts.map +1 -0
- package/dist/website/blocks/announcement-views.js +31 -0
- package/dist/website/blocks/announcement-views.js.map +1 -0
- package/dist/website/blocks/button.d.ts +21 -0
- package/dist/website/blocks/button.d.ts.map +1 -0
- package/dist/website/blocks/button.js +32 -0
- package/dist/website/blocks/button.js.map +1 -0
- package/dist/website/blocks/call-to-action-views.d.ts +15 -0
- package/dist/website/blocks/call-to-action-views.d.ts.map +1 -0
- package/dist/website/blocks/call-to-action-views.js +36 -0
- package/dist/website/blocks/call-to-action-views.js.map +1 -0
- package/dist/website/blocks/card-grid-views.d.ts +41 -0
- package/dist/website/blocks/card-grid-views.d.ts.map +1 -0
- package/dist/website/blocks/card-grid-views.js +94 -0
- package/dist/website/blocks/card-grid-views.js.map +1 -0
- package/dist/website/blocks/carousel-controls.d.ts +13 -0
- package/dist/website/blocks/carousel-controls.d.ts.map +1 -0
- package/dist/website/blocks/carousel-controls.js +48 -0
- package/dist/website/blocks/carousel-controls.js.map +1 -0
- package/dist/website/blocks/carousel.d.ts +16 -0
- package/dist/website/blocks/carousel.d.ts.map +1 -0
- package/dist/website/blocks/carousel.js +12 -0
- package/dist/website/blocks/carousel.js.map +1 -0
- package/dist/website/blocks/catalog.d.ts +35 -0
- package/dist/website/blocks/catalog.d.ts.map +1 -0
- package/dist/website/blocks/catalog.js +26 -0
- package/dist/website/blocks/catalog.js.map +1 -0
- package/dist/website/blocks/commerce.d.ts +9 -16
- package/dist/website/blocks/commerce.d.ts.map +1 -1
- package/dist/website/blocks/commerce.js +12 -13
- package/dist/website/blocks/commerce.js.map +1 -1
- package/dist/website/blocks/contact-views.d.ts +28 -0
- package/dist/website/blocks/contact-views.d.ts.map +1 -0
- package/dist/website/blocks/contact-views.js +55 -0
- package/dist/website/blocks/contact-views.js.map +1 -0
- package/dist/website/blocks/content.d.ts +12 -20
- package/dist/website/blocks/content.d.ts.map +1 -1
- package/dist/website/blocks/content.js +18 -9
- package/dist/website/blocks/content.js.map +1 -1
- package/dist/website/blocks/empty-state-views.d.ts +32 -0
- package/dist/website/blocks/empty-state-views.d.ts.map +1 -0
- package/dist/website/blocks/empty-state-views.js +39 -0
- package/dist/website/blocks/empty-state-views.js.map +1 -0
- package/dist/website/blocks/faq-views.d.ts +20 -0
- package/dist/website/blocks/faq-views.d.ts.map +1 -0
- package/dist/website/blocks/faq-views.js +38 -0
- package/dist/website/blocks/faq-views.js.map +1 -0
- package/dist/website/blocks/feature-views.d.ts +17 -0
- package/dist/website/blocks/feature-views.d.ts.map +1 -0
- package/dist/website/blocks/feature-views.js +40 -0
- package/dist/website/blocks/feature-views.js.map +1 -0
- package/dist/website/blocks/hero-views.d.ts +15 -0
- package/dist/website/blocks/hero-views.d.ts.map +1 -0
- package/dist/website/blocks/hero-views.js +27 -0
- package/dist/website/blocks/hero-views.js.map +1 -0
- package/dist/website/blocks/icons.d.ts +63 -0
- package/dist/website/blocks/icons.d.ts.map +1 -0
- package/dist/website/blocks/icons.js +63 -0
- package/dist/website/blocks/icons.js.map +1 -0
- package/dist/website/blocks/list.d.ts +20 -0
- package/dist/website/blocks/list.d.ts.map +1 -0
- package/dist/website/blocks/list.js +29 -0
- package/dist/website/blocks/list.js.map +1 -0
- package/dist/website/blocks/logo-stats-views.d.ts +29 -0
- package/dist/website/blocks/logo-stats-views.d.ts.map +1 -0
- package/dist/website/blocks/logo-stats-views.js +51 -0
- package/dist/website/blocks/logo-stats-views.js.map +1 -0
- package/dist/website/blocks/marketing.d.ts +11 -22
- package/dist/website/blocks/marketing.d.ts.map +1 -1
- package/dist/website/blocks/marketing.js +12 -14
- package/dist/website/blocks/marketing.js.map +1 -1
- package/dist/website/blocks/media-views.d.ts +17 -0
- package/dist/website/blocks/media-views.d.ts.map +1 -0
- package/dist/website/blocks/media-views.js +24 -0
- package/dist/website/blocks/media-views.js.map +1 -0
- package/dist/website/blocks/newsletter-views.d.ts +26 -0
- package/dist/website/blocks/newsletter-views.d.ts.map +1 -0
- package/dist/website/blocks/newsletter-views.js +43 -0
- package/dist/website/blocks/newsletter-views.js.map +1 -0
- package/dist/website/blocks/parts.d.ts +19 -1
- package/dist/website/blocks/parts.d.ts.map +1 -1
- package/dist/website/blocks/parts.js +15 -2
- package/dist/website/blocks/parts.js.map +1 -1
- package/dist/website/blocks/sections.d.ts +27 -0
- package/dist/website/blocks/sections.d.ts.map +1 -0
- package/dist/website/blocks/sections.js +27 -0
- package/dist/website/blocks/sections.js.map +1 -0
- package/dist/website/blocks/team-views.d.ts +24 -0
- package/dist/website/blocks/team-views.d.ts.map +1 -0
- package/dist/website/blocks/team-views.js +45 -0
- package/dist/website/blocks/team-views.js.map +1 -0
- package/dist/website/blocks/testimonial-views.d.ts +24 -0
- package/dist/website/blocks/testimonial-views.d.ts.map +1 -0
- package/dist/website/blocks/testimonial-views.js +68 -0
- package/dist/website/blocks/testimonial-views.js.map +1 -0
- package/dist/website/blocks/variant.d.ts +28 -0
- package/dist/website/blocks/variant.d.ts.map +1 -0
- package/dist/website/blocks/variant.js +58 -0
- package/dist/website/blocks/variant.js.map +1 -0
- package/package.json +3 -2
- package/styles.css +840 -6
package/styles.css
CHANGED
|
@@ -23,9 +23,8 @@
|
|
|
23
23
|
/* A call to action in text form, and the colour it turns on hover. */
|
|
24
24
|
--site-cta: var(--color-fd-primary);
|
|
25
25
|
--site-link: var(--color-fd-primary);
|
|
26
|
-
/* The height of
|
|
27
|
-
|
|
28
|
-
--site-header-height: 0px;
|
|
26
|
+
/* The height of the sticky site header (h-14), which the contents rail and anchors clear. */
|
|
27
|
+
--site-header-height: 3.5rem;
|
|
29
28
|
--site-container-width: var(--fd-layout-width);
|
|
30
29
|
}
|
|
31
30
|
|
|
@@ -132,6 +131,170 @@
|
|
|
132
131
|
color: var(--site-fg);
|
|
133
132
|
}
|
|
134
133
|
|
|
134
|
+
/* The site header (HyperUI's header layouts): it stays at the top over a blur of the page. The
|
|
135
|
+
ground is mostly opaque, so the links keep their contrast over any block. */
|
|
136
|
+
.site-header {
|
|
137
|
+
border-bottom: var(--dna-border-width-thin) solid var(--site-border);
|
|
138
|
+
background: color-mix(in oklab, var(--color-fd-background) 88%, transparent);
|
|
139
|
+
backdrop-filter: blur(12px);
|
|
140
|
+
font-family: var(--font-sans);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.site-header-brand {
|
|
144
|
+
font-weight: 600;
|
|
145
|
+
color: var(--site-fg);
|
|
146
|
+
text-decoration: none;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.site-header-link {
|
|
150
|
+
font-size: var(--dna-type-body-sm-size);
|
|
151
|
+
color: var(--site-fg-muted);
|
|
152
|
+
text-decoration: none;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.site-header-link:hover {
|
|
156
|
+
color: var(--site-fg);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.site-header-action {
|
|
160
|
+
padding: 6px 14px;
|
|
161
|
+
font-size: var(--dna-type-body-sm-size);
|
|
162
|
+
/* One line: the config keeps the label short (HEADER_ACTION_MAX), so the bar never squeezes it. */
|
|
163
|
+
white-space: nowrap;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/* A group of links in the bar (layout/header.tsx): a native disclosure whose links drop under its
|
|
167
|
+
label, over the page. In the end layout the bar ends at the window's edge, so the panel opens
|
|
168
|
+
towards the start from there. */
|
|
169
|
+
.site-header-group {
|
|
170
|
+
position: relative;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.site-header-group-toggle {
|
|
174
|
+
list-style: none;
|
|
175
|
+
cursor: pointer;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.site-header-group-toggle::-webkit-details-marker {
|
|
179
|
+
display: none;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.site-header-group-caret {
|
|
183
|
+
transition: transform 200ms ease;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.site-header-group[open] .site-header-group-caret {
|
|
187
|
+
transform: rotate(180deg);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/* The label sits in the middle of the bar, so half the bar's height below the label's middle is
|
|
191
|
+
the header's lower edge; the panel opens just under it. */
|
|
192
|
+
.site-header-dropdown {
|
|
193
|
+
position: absolute;
|
|
194
|
+
top: calc(50% + var(--site-header-height) / 2 + 6px);
|
|
195
|
+
inset-inline-start: -12px;
|
|
196
|
+
z-index: 50;
|
|
197
|
+
min-width: 12rem;
|
|
198
|
+
max-width: 20rem;
|
|
199
|
+
padding: 6px;
|
|
200
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
201
|
+
border-radius: var(--dna-radius-md);
|
|
202
|
+
background: var(--color-fd-background);
|
|
203
|
+
box-shadow: 0 12px 32px -12px color-mix(in oklab, var(--site-fg) 30%, transparent);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.site-header[data-layout="end"] .site-header-dropdown {
|
|
207
|
+
inset-inline-start: auto;
|
|
208
|
+
inset-inline-end: -12px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.site-header-dropdown-link {
|
|
212
|
+
display: block;
|
|
213
|
+
padding: 8px 12px;
|
|
214
|
+
border-radius: var(--dna-radius-sm);
|
|
215
|
+
font-size: var(--dna-type-body-sm-size);
|
|
216
|
+
color: var(--site-fg);
|
|
217
|
+
text-decoration: none;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.site-header-dropdown-link:hover {
|
|
221
|
+
background: var(--site-surface-muted);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.site-header-dropdown-link:focus-visible {
|
|
225
|
+
outline: 2px solid var(--color-fd-ring);
|
|
226
|
+
outline-offset: -2px;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/* A group in the small-screen menu: its label over its links. */
|
|
230
|
+
.site-header-group-label {
|
|
231
|
+
font-size: var(--dna-type-body-sm-size);
|
|
232
|
+
font-weight: 600;
|
|
233
|
+
color: var(--site-fg);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
@media (prefers-reduced-motion: reduce) {
|
|
237
|
+
.site-header-group-caret {
|
|
238
|
+
transition: none;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/* No display here: the toggle and the action hide at a width through Tailwind's utilities, which
|
|
243
|
+
an unlayered display rule would beat. */
|
|
244
|
+
.site-header-toggle {
|
|
245
|
+
padding: 8px;
|
|
246
|
+
border-radius: var(--dna-radius-sm);
|
|
247
|
+
color: var(--site-fg);
|
|
248
|
+
cursor: pointer;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.site-header-toggle:focus-visible,
|
|
252
|
+
.site-header-link:focus-visible,
|
|
253
|
+
.site-header-brand:focus-visible {
|
|
254
|
+
outline: 2px solid var(--color-fd-ring);
|
|
255
|
+
outline-offset: 2px;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/* The small-screen links: closed until the menu button marks the header open. */
|
|
259
|
+
.site-header-menu {
|
|
260
|
+
display: none;
|
|
261
|
+
border-top: var(--dna-border-width-thin) solid var(--site-border);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/* The panel opens up to the width from which the bar shows the links (data-nav-from, set from
|
|
265
|
+
the length of the links), and at every width when the bar never has room for them. The widths
|
|
266
|
+
are the header's own, a container query, as for the links and the button. */
|
|
267
|
+
@container (width < 48rem) {
|
|
268
|
+
.site-header[data-menu-open] .site-header-menu {
|
|
269
|
+
display: block;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
@container (width < 64rem) {
|
|
274
|
+
.site-header:is([data-nav-from="lg"], [data-nav-from="xl"])[data-menu-open] .site-header-menu {
|
|
275
|
+
display: block;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
@container (width < 80rem) {
|
|
280
|
+
.site-header[data-nav-from="xl"][data-menu-open] .site-header-menu {
|
|
281
|
+
display: block;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.site-header[data-nav-from="menu"][data-menu-open] .site-header-menu {
|
|
286
|
+
display: block;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.site-footer-text {
|
|
290
|
+
color: var(--site-fg-muted);
|
|
291
|
+
line-height: var(--dna-type-body-line-height);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.site-footer-base {
|
|
295
|
+
border-top: var(--dna-border-width-thin) solid var(--site-border);
|
|
296
|
+
}
|
|
297
|
+
|
|
135
298
|
/* The "Built with" badge: footer-sized text in the site's own muted colour (D42). */
|
|
136
299
|
.site-badge {
|
|
137
300
|
font-family: var(--font-sans);
|
|
@@ -150,6 +313,199 @@
|
|
|
150
313
|
padding-block: 64px;
|
|
151
314
|
}
|
|
152
315
|
|
|
316
|
+
/* A long word (a German compound, a pasted URL) breaks at the edge of its box instead of running
|
|
317
|
+
out of it. "anywhere" also lowers the word's minimum width, so a grid or flex column can still
|
|
318
|
+
shrink around it. */
|
|
319
|
+
.site-block,
|
|
320
|
+
.site-announcement,
|
|
321
|
+
.site-header,
|
|
322
|
+
.site-footer {
|
|
323
|
+
overflow-wrap: anywhere;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/* A link to a block's id ("#pricing") stops with the block's top under the sticky header and
|
|
327
|
+
its bottom border. */
|
|
328
|
+
.site-block,
|
|
329
|
+
.site-announcement {
|
|
330
|
+
scroll-margin-top: calc(var(--site-header-height) + var(--dna-border-width-thin));
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/* A grid that fits its count (gridColumns in blocks/list.ts): data-cols columns on a wide screen,
|
|
334
|
+
fewer on a narrow one, and a short last row centred. It is a wrapping flex row, because a CSS
|
|
335
|
+
grid cannot centre its last row. */
|
|
336
|
+
.site-grid {
|
|
337
|
+
--site-grid-cols: 1;
|
|
338
|
+
--site-grid-gap: 1.5rem;
|
|
339
|
+
display: flex;
|
|
340
|
+
flex-wrap: wrap;
|
|
341
|
+
justify-content: center;
|
|
342
|
+
gap: var(--site-grid-gap);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.site-grid > * {
|
|
346
|
+
flex: 0 0 calc((100% - (var(--site-grid-cols) - 1) * var(--site-grid-gap)) / var(--site-grid-cols));
|
|
347
|
+
min-width: 0;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.site-grid-roomy {
|
|
351
|
+
--site-grid-gap: 2rem;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.site-grid-tight {
|
|
355
|
+
--site-grid-gap: 1rem;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.site-grid-hairline {
|
|
359
|
+
--site-grid-gap: 1px;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.site-grid-flush {
|
|
363
|
+
--site-grid-gap: 0px;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/* Small items (figures, logos, faces) keep two columns on a phone. */
|
|
367
|
+
.site-grid[data-phone="2"] {
|
|
368
|
+
--site-grid-cols: 2;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
@media (min-width: 40rem) {
|
|
372
|
+
.site-grid:not([data-cols="1"]) {
|
|
373
|
+
--site-grid-cols: 2;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
@media (min-width: 48rem) {
|
|
378
|
+
.site-grid:is([data-cols="3"], [data-cols="5"], [data-cols="6"]) {
|
|
379
|
+
--site-grid-cols: 3;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.site-grid[data-cols="4"] {
|
|
383
|
+
--site-grid-cols: 4;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
@media (min-width: 64rem) {
|
|
388
|
+
.site-grid[data-cols="5"] {
|
|
389
|
+
--site-grid-cols: 5;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.site-grid[data-cols="6"] {
|
|
393
|
+
--site-grid-cols: 6;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
/* The carousel's frame: the row and its buttons, which find the row through it. */
|
|
398
|
+
.site-carousel {
|
|
399
|
+
min-width: 0;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/* A carousel (blocks/carousel.tsx): one row that scrolls sideways and snaps to each item. It
|
|
403
|
+
scrolls by touch, trackpad and keyboard with no script; the buttons under it are the client
|
|
404
|
+
part. The row pads above and below by the width of a focus ring and takes it back with a
|
|
405
|
+
margin, so a ring on a link in it is not cut off by the scrolling box; it keeps the width of
|
|
406
|
+
the container, so its first item lines up with the heading. */
|
|
407
|
+
.site-carousel-track {
|
|
408
|
+
--site-carousel-gap: 1.5rem;
|
|
409
|
+
display: flex;
|
|
410
|
+
gap: var(--site-carousel-gap);
|
|
411
|
+
margin-block: -4px;
|
|
412
|
+
padding-block: 4px;
|
|
413
|
+
overflow-x: auto;
|
|
414
|
+
overscroll-behavior-x: contain;
|
|
415
|
+
scroll-snap-type: x mandatory;
|
|
416
|
+
scrollbar-width: none;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.site-carousel-track::-webkit-scrollbar {
|
|
420
|
+
display: none;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.site-carousel-track:focus-visible {
|
|
424
|
+
outline: 2px solid var(--color-fd-ring);
|
|
425
|
+
outline-offset: 2px;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
429
|
+
.site-carousel-track {
|
|
430
|
+
scroll-behavior: smooth;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.site-carousel-item {
|
|
435
|
+
flex: 0 0 auto;
|
|
436
|
+
min-width: 0;
|
|
437
|
+
scroll-snap-align: start;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/* Cards: one with the next peeking on a phone, two from 40rem, three from 64rem. */
|
|
441
|
+
.site-carousel-track[data-kind="cards"] > .site-carousel-item {
|
|
442
|
+
flex-basis: 85%;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
@media (min-width: 40rem) {
|
|
446
|
+
.site-carousel-track[data-kind="cards"] > .site-carousel-item {
|
|
447
|
+
flex-basis: calc((100% - var(--site-carousel-gap)) / 2);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
@media (min-width: 64rem) {
|
|
452
|
+
.site-carousel-track[data-kind="cards"] > .site-carousel-item {
|
|
453
|
+
flex-basis: calc((100% - 2 * var(--site-carousel-gap)) / 3);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/* Logos keep their own width and sit in the middle while the row has room for all of them. */
|
|
458
|
+
.site-carousel-track[data-kind="logos"] {
|
|
459
|
+
--site-carousel-gap: 2.5rem;
|
|
460
|
+
justify-content: safe center;
|
|
461
|
+
align-items: center;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/* A logo that links keeps room for its focus ring inside the row. */
|
|
465
|
+
.site-carousel-track[data-kind="logos"] > .site-carousel-item {
|
|
466
|
+
padding: 8px 4px;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/* The buttons keep their space while the row fits, so nothing below moves when they hide. */
|
|
470
|
+
.site-carousel-controls {
|
|
471
|
+
display: flex;
|
|
472
|
+
justify-content: flex-end;
|
|
473
|
+
gap: 8px;
|
|
474
|
+
margin-top: 16px;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/* Under a centred row of logos the buttons sit in the middle too, under the heading. */
|
|
478
|
+
.site-carousel-track[data-kind="logos"] + .site-carousel-controls {
|
|
479
|
+
justify-content: center;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.site-carousel-controls[data-fits] {
|
|
483
|
+
visibility: hidden;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.site-carousel-button {
|
|
487
|
+
display: inline-flex;
|
|
488
|
+
align-items: center;
|
|
489
|
+
justify-content: center;
|
|
490
|
+
width: 40px;
|
|
491
|
+
height: 40px;
|
|
492
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
493
|
+
border-radius: var(--dna-radius-full);
|
|
494
|
+
background: var(--color-fd-background);
|
|
495
|
+
color: var(--site-fg);
|
|
496
|
+
cursor: pointer;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.site-carousel-button:disabled {
|
|
500
|
+
opacity: 0.4;
|
|
501
|
+
cursor: default;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.site-carousel-button:focus-visible {
|
|
505
|
+
outline: 2px solid var(--color-fd-ring);
|
|
506
|
+
outline-offset: 2px;
|
|
507
|
+
}
|
|
508
|
+
|
|
153
509
|
.site-block-title {
|
|
154
510
|
margin-bottom: 12px;
|
|
155
511
|
font-family: var(--dna-type-h2-family);
|
|
@@ -198,6 +554,8 @@
|
|
|
198
554
|
font-family: var(--font-sans);
|
|
199
555
|
font-weight: 600;
|
|
200
556
|
text-decoration: none;
|
|
557
|
+
/* A long label wraps inside the button instead of pushing it past its column. */
|
|
558
|
+
max-width: 100%;
|
|
201
559
|
}
|
|
202
560
|
|
|
203
561
|
.site-button-secondary {
|
|
@@ -289,8 +647,443 @@
|
|
|
289
647
|
color: var(--site-link);
|
|
290
648
|
}
|
|
291
649
|
|
|
292
|
-
/*
|
|
293
|
-
|
|
650
|
+
/* Block variants (HyperUI layouts, MIT, Copyright (c) Mark Mead), themed by the brand. */
|
|
651
|
+
:root {
|
|
652
|
+
/* A quiet panel behind a block's content: a CTA panel, a logo tile. */
|
|
653
|
+
--site-surface-muted: var(--color-fd-muted);
|
|
654
|
+
/* A faint wash of the brand colour, light enough for body text on it in either mode. */
|
|
655
|
+
--site-brand-tint: color-mix(in oklab, var(--site-brand) 7%, var(--color-fd-background));
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.site-block-head-center {
|
|
659
|
+
margin-inline: auto;
|
|
660
|
+
text-align: center;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
.site-highlight {
|
|
664
|
+
font-weight: inherit;
|
|
665
|
+
color: var(--site-brand-text);
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
.site-hero-image,
|
|
669
|
+
.site-cta-panel,
|
|
670
|
+
.site-cta-photo,
|
|
671
|
+
.site-team-photo,
|
|
672
|
+
.site-logo-tiles {
|
|
673
|
+
border-radius: var(--dna-radius-lg);
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.site-cta-panel {
|
|
677
|
+
background: var(--site-surface-muted);
|
|
678
|
+
color: var(--site-fg);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/* The inset picture: one large rounded corner toward the words, flush with the panel's edges. */
|
|
682
|
+
.site-cta-inset {
|
|
683
|
+
border-start-start-radius: calc(var(--dna-radius-lg) * 4);
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
/* A face sits in the upper part of most portraits, so a wide crop keeps it. */
|
|
687
|
+
.site-team-photo {
|
|
688
|
+
object-position: center 25%;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.site-logo-tile {
|
|
692
|
+
background: var(--site-surface-muted);
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
/* Logos in grey until a pointer rests on one. */
|
|
696
|
+
.site-logo-muted {
|
|
697
|
+
filter: grayscale(1);
|
|
698
|
+
opacity: 0.8;
|
|
699
|
+
transition:
|
|
700
|
+
filter 150ms ease,
|
|
701
|
+
opacity 150ms ease;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.site-logo-muted:hover {
|
|
705
|
+
filter: none;
|
|
706
|
+
opacity: 1;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
.site-stat-figure {
|
|
710
|
+
font-family: var(--dna-type-display-family);
|
|
711
|
+
font-size: var(--dna-type-h1-size);
|
|
712
|
+
font-weight: var(--dna-type-display-weight);
|
|
713
|
+
line-height: var(--dna-type-h1-line-height);
|
|
714
|
+
color: var(--site-brand-text);
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
.site-stat-caption {
|
|
718
|
+
font-size: var(--dna-type-body-size);
|
|
719
|
+
font-weight: 500;
|
|
720
|
+
color: var(--site-fg-muted);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.site-stat-outlined {
|
|
724
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
725
|
+
border-radius: var(--dna-radius-lg);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.site-stat-tinted {
|
|
729
|
+
border-radius: var(--dna-radius-lg);
|
|
730
|
+
background: var(--site-brand-tint);
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
/* A rule between two figures. A phone stacks them, so the rule sits above each one but the first.
|
|
734
|
+
From 40rem a rule sits before each figure but the first of its row, and a row starts at every
|
|
735
|
+
second figure, then from 48rem at every data-cols-th (the stats grid has 2, 3 or 4 columns). */
|
|
736
|
+
.site-stat-divided + .site-stat-divided {
|
|
737
|
+
border-top: var(--dna-border-width-thin) solid var(--site-border);
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
@media (min-width: 40rem) {
|
|
741
|
+
.site-stat-divided + .site-stat-divided {
|
|
742
|
+
border-top: 0;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
@media (min-width: 40rem) and (max-width: 47.99rem) {
|
|
747
|
+
.site-grid > .site-stat-divided:not(:nth-child(2n + 1)) {
|
|
748
|
+
border-inline-start: var(--dna-border-width-thin) solid var(--site-border);
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
@media (min-width: 48rem) {
|
|
753
|
+
.site-grid[data-cols="2"] > .site-stat-divided:not(:nth-child(2n + 1)),
|
|
754
|
+
.site-grid[data-cols="3"] > .site-stat-divided:not(:nth-child(3n + 1)),
|
|
755
|
+
.site-grid[data-cols="4"] > .site-stat-divided:not(:nth-child(4n + 1)) {
|
|
756
|
+
border-inline-start: var(--dna-border-width-thin) solid var(--site-border);
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.site-icon-box {
|
|
761
|
+
display: inline-flex;
|
|
762
|
+
flex: none;
|
|
763
|
+
padding: 12px;
|
|
764
|
+
border-radius: var(--dna-radius-md);
|
|
765
|
+
background: var(--site-brand-tint);
|
|
766
|
+
color: var(--site-brand-text);
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.site-icon-link {
|
|
770
|
+
display: inline-flex;
|
|
771
|
+
color: var(--site-fg-muted);
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
.site-icon-link:hover {
|
|
775
|
+
color: var(--site-link);
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.site-avatar-round {
|
|
779
|
+
border-radius: var(--dna-radius-full);
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.site-person-name {
|
|
783
|
+
font-size: var(--dna-type-body-sm-size);
|
|
784
|
+
font-weight: 600;
|
|
785
|
+
color: var(--site-fg);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
/* The rule over the person at the foot of a quote card. */
|
|
789
|
+
.site-testimonial-foot {
|
|
790
|
+
border-top: var(--dna-border-width-thin) solid var(--site-border);
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.site-quote-mark,
|
|
794
|
+
.site-rating {
|
|
795
|
+
color: var(--site-brand-text);
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.site-star-off {
|
|
799
|
+
color: var(--site-border);
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
.site-quote-large {
|
|
803
|
+
font-family: var(--dna-type-h3-family);
|
|
804
|
+
font-size: var(--dna-type-h3-size);
|
|
805
|
+
font-weight: 500;
|
|
806
|
+
line-height: var(--dna-type-h3-line-height);
|
|
807
|
+
color: var(--site-fg);
|
|
808
|
+
text-wrap: pretty;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
/* A question whose caret turns when it opens. */
|
|
812
|
+
.site-faq-summary {
|
|
813
|
+
display: flex;
|
|
814
|
+
align-items: center;
|
|
815
|
+
justify-content: space-between;
|
|
816
|
+
gap: 6px;
|
|
817
|
+
cursor: pointer;
|
|
818
|
+
list-style: none;
|
|
819
|
+
font-family: var(--dna-type-h4-family);
|
|
820
|
+
font-size: var(--dna-type-h4-size);
|
|
821
|
+
font-weight: var(--dna-type-h4-weight);
|
|
822
|
+
color: var(--site-fg);
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.site-faq-summary::-webkit-details-marker {
|
|
826
|
+
display: none;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
.site-faq-box {
|
|
830
|
+
padding: 16px;
|
|
831
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
832
|
+
border-radius: var(--dna-radius-md);
|
|
833
|
+
background: var(--site-surface-muted);
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
.site-faq-answer {
|
|
837
|
+
line-height: var(--dna-type-body-line-height);
|
|
838
|
+
color: var(--site-fg-muted);
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.site-faq-divided + .site-faq-divided {
|
|
842
|
+
border-top: var(--dna-border-width-thin) solid var(--site-border);
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
/* A quiet rule on the start edge: the border colour, not the brand's, so the questions read
|
|
846
|
+
as one list and the caret carries the state. */
|
|
847
|
+
.site-faq-bar {
|
|
848
|
+
border-inline-start: var(--dna-border-width-thick) solid var(--site-border);
|
|
849
|
+
background: var(--site-surface-muted);
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
.site-faq-caret {
|
|
853
|
+
transition: transform 300ms ease;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
details[open] > .site-faq-summary .site-faq-caret {
|
|
857
|
+
transform: rotate(180deg);
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
@media (prefers-reduced-motion: reduce) {
|
|
861
|
+
.site-faq-caret,
|
|
862
|
+
.site-logo-muted {
|
|
863
|
+
transition: none;
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.site-form {
|
|
868
|
+
font-family: var(--font-sans);
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
.site-label {
|
|
872
|
+
display: block;
|
|
873
|
+
margin-bottom: 4px;
|
|
874
|
+
font-size: var(--dna-type-body-sm-size);
|
|
875
|
+
font-weight: 600;
|
|
876
|
+
color: var(--site-fg);
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
.site-input {
|
|
880
|
+
width: 100%;
|
|
881
|
+
padding: 10px 12px;
|
|
882
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
883
|
+
border-radius: var(--dna-radius-md);
|
|
884
|
+
background: var(--color-fd-background);
|
|
885
|
+
color: var(--site-fg);
|
|
886
|
+
font: inherit;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
.site-input:focus-visible {
|
|
890
|
+
outline: 2px solid var(--color-fd-ring);
|
|
891
|
+
outline-offset: 1px;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
.site-contact-detail {
|
|
895
|
+
color: var(--site-fg);
|
|
896
|
+
font-weight: 500;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
/* A button's quiet forms: words alone (ghost), and an icon alone in a square (icon). */
|
|
900
|
+
.site-button-ghost {
|
|
901
|
+
background: transparent;
|
|
902
|
+
border-color: transparent;
|
|
903
|
+
color: var(--site-link);
|
|
904
|
+
text-decoration: underline;
|
|
905
|
+
text-underline-offset: 4px;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
.site-button-icon {
|
|
909
|
+
justify-content: center;
|
|
910
|
+
padding: 12px;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
.site-button:focus-visible {
|
|
914
|
+
outline: 2px solid var(--color-fd-ring);
|
|
915
|
+
outline-offset: 2px;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
/* A short notice: a band in a wash of the brand colour, or a box at the foot of the window. */
|
|
919
|
+
.site-announcement {
|
|
920
|
+
font-family: var(--font-sans);
|
|
921
|
+
font-size: var(--dna-type-body-sm-size);
|
|
922
|
+
color: var(--site-fg);
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.site-announcement-bar {
|
|
926
|
+
border-bottom: var(--dna-border-width-thin) solid var(--site-border);
|
|
927
|
+
background: var(--site-brand-tint);
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
/* Only the box takes the pointer, so the page under the empty margin stays usable. */
|
|
931
|
+
.site-announcement-floating {
|
|
932
|
+
position: fixed;
|
|
933
|
+
inset-inline: 0;
|
|
934
|
+
bottom: 0;
|
|
935
|
+
z-index: 40;
|
|
936
|
+
padding: 16px;
|
|
937
|
+
pointer-events: none;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.site-announcement-box {
|
|
941
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
942
|
+
border-radius: var(--dna-radius-md);
|
|
943
|
+
background: var(--site-surface);
|
|
944
|
+
box-shadow: var(--dna-shadow-md);
|
|
945
|
+
pointer-events: auto;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
.site-announcement-link {
|
|
949
|
+
color: inherit;
|
|
950
|
+
font-weight: 600;
|
|
951
|
+
text-decoration: underline;
|
|
952
|
+
text-underline-offset: 3px;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
.site-announcement-close {
|
|
956
|
+
display: inline-flex;
|
|
957
|
+
padding: 6px;
|
|
958
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
959
|
+
border-radius: var(--dna-radius-sm);
|
|
960
|
+
background: var(--color-fd-background);
|
|
961
|
+
color: var(--site-fg);
|
|
962
|
+
cursor: pointer;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
.site-announcement-close:focus-visible {
|
|
966
|
+
outline: 2px solid var(--color-fd-ring);
|
|
967
|
+
outline-offset: 1px;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
/* A block on a quiet band that runs edge to edge. */
|
|
971
|
+
.site-band-muted {
|
|
972
|
+
background: var(--site-surface-muted);
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
.site-media-text {
|
|
976
|
+
font-size: var(--dna-type-body-size);
|
|
977
|
+
line-height: var(--dna-type-body-line-height);
|
|
978
|
+
color: var(--site-fg-muted);
|
|
979
|
+
text-wrap: pretty;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.site-media-image,
|
|
983
|
+
.site-card-overlay {
|
|
984
|
+
border-radius: var(--dna-radius-lg);
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
.site-thumb {
|
|
988
|
+
border-radius: var(--dna-radius-md);
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
/* A card that leads somewhere: the title's link covers the card, and the edge turns the brand
|
|
992
|
+
colour under the pointer. No lift or scale: the card stays where the reader's eye is. */
|
|
993
|
+
.site-card-frame {
|
|
994
|
+
border: var(--dna-border-width-thin) solid var(--dna-component-card-border);
|
|
995
|
+
border-radius: var(--dna-component-card-radius);
|
|
996
|
+
background: var(--dna-component-card-bg);
|
|
997
|
+
color: var(--dna-component-card-fg);
|
|
998
|
+
transition: border-color 150ms ease;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
.site-card-linked:hover {
|
|
1002
|
+
border-color: var(--site-brand);
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
.site-card-link {
|
|
1006
|
+
color: inherit;
|
|
1007
|
+
text-decoration: none;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
.site-card-link::after {
|
|
1011
|
+
content: "";
|
|
1012
|
+
position: absolute;
|
|
1013
|
+
inset: 0;
|
|
1014
|
+
border-radius: inherit;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
.site-card-link:focus-visible {
|
|
1018
|
+
outline: none;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
.site-card-link:focus-visible::after {
|
|
1022
|
+
outline: 2px solid var(--color-fd-ring);
|
|
1023
|
+
outline-offset: 2px;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
.site-card-meta {
|
|
1027
|
+
font-size: var(--dna-type-caption-size);
|
|
1028
|
+
color: var(--site-fg-muted);
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
.site-card-eyebrow {
|
|
1032
|
+
font-weight: 600;
|
|
1033
|
+
letter-spacing: 0.08em;
|
|
1034
|
+
text-transform: uppercase;
|
|
1035
|
+
color: var(--site-brand-text);
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
.site-card-more {
|
|
1039
|
+
font-size: var(--dna-type-body-sm-size);
|
|
1040
|
+
font-weight: 600;
|
|
1041
|
+
color: var(--site-link);
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
/* The text colour, not the brand's: brand text on its own tint is too close to AA for small type
|
|
1045
|
+
on some brands (4.48:1 on one fixture brand). */
|
|
1046
|
+
.site-tag {
|
|
1047
|
+
padding: 2px 10px;
|
|
1048
|
+
border-radius: var(--dna-radius-full);
|
|
1049
|
+
background: var(--site-brand-tint);
|
|
1050
|
+
color: var(--site-fg);
|
|
1051
|
+
font-size: var(--dna-type-caption-size);
|
|
1052
|
+
white-space: nowrap;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
/* The words of an overlay card sit on the brand colour, a pair the brand keeps readable, and
|
|
1056
|
+
the band fades into the picture above them. */
|
|
1057
|
+
.site-card-overlay-fade {
|
|
1058
|
+
background: linear-gradient(to top, var(--color-fd-primary), transparent);
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
.site-card-overlay-words,
|
|
1062
|
+
.site-card-overlay-words :is(.site-card-meta, .site-card-eyebrow) {
|
|
1063
|
+
background: var(--color-fd-primary);
|
|
1064
|
+
color: var(--color-fd-primary-foreground);
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
.site-empty-icon {
|
|
1068
|
+
color: var(--site-fg-muted);
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
.site-empty-text {
|
|
1072
|
+
font-size: var(--dna-type-body-size);
|
|
1073
|
+
line-height: var(--dna-type-body-line-height);
|
|
1074
|
+
color: var(--site-fg-muted);
|
|
1075
|
+
text-wrap: pretty;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1079
|
+
.site-card-frame {
|
|
1080
|
+
transition: none;
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
/* Markdown between the blocks of a website page sits in the container, like the blocks' content.
|
|
1085
|
+
An announcement is a band of its own, edge to edge. */
|
|
1086
|
+
.site-website > :not(.site-block, .site-announcement) {
|
|
294
1087
|
max-width: var(--site-container-width);
|
|
295
1088
|
margin-inline: auto;
|
|
296
1089
|
padding-inline: 32px;
|
|
@@ -299,11 +1092,52 @@
|
|
|
299
1092
|
}
|
|
300
1093
|
|
|
301
1094
|
@media (max-width: 760px) {
|
|
302
|
-
.site-website > :not(.site-block) {
|
|
1095
|
+
.site-website > :not(.site-block, .site-announcement) {
|
|
303
1096
|
padding-inline: 20px;
|
|
304
1097
|
}
|
|
305
1098
|
}
|
|
306
1099
|
|
|
1100
|
+
/* A blog listing's later posts wait for their batch (blog/batches.ts); the listing's client part
|
|
1101
|
+
shows the next batch, and a <noscript> style shows them all. */
|
|
1102
|
+
[data-post-item][data-later] {
|
|
1103
|
+
display: none;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
/* The words and spinner under a listing while the next posts' cover pictures load (more-posts.tsx).
|
|
1107
|
+
With less motion the spinner turns slowly; the words carry the state either way. */
|
|
1108
|
+
.site-loading {
|
|
1109
|
+
display: flex;
|
|
1110
|
+
align-items: center;
|
|
1111
|
+
gap: 10px;
|
|
1112
|
+
margin: 0;
|
|
1113
|
+
font-family: var(--font-sans);
|
|
1114
|
+
font-size: var(--dna-type-body-sm-size);
|
|
1115
|
+
line-height: 1;
|
|
1116
|
+
color: var(--site-fg-muted);
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
.site-spinner {
|
|
1120
|
+
flex-shrink: 0;
|
|
1121
|
+
width: 16px;
|
|
1122
|
+
height: 16px;
|
|
1123
|
+
border: 2px solid var(--site-border);
|
|
1124
|
+
border-top-color: var(--site-brand);
|
|
1125
|
+
border-radius: 50%;
|
|
1126
|
+
animation: site-spin 700ms linear infinite;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
@keyframes site-spin {
|
|
1130
|
+
to {
|
|
1131
|
+
transform: rotate(360deg);
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1136
|
+
.site-spinner {
|
|
1137
|
+
animation-duration: 2400ms;
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
|
|
307
1141
|
/* Article prose: the DNA's body face and leading, display headings, links in the brand colour. */
|
|
308
1142
|
.site-blog .prose {
|
|
309
1143
|
font-family: var(--dna-type-body-family);
|