@lets-ship/site 3.6.1 → 3.8.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 +1 -1
- package/dist/blog/article-view.js.map +1 -1
- package/dist/blog/index-view.d.ts.map +1 -1
- package/dist/blog/index-view.js +1 -1
- package/dist/blog/index-view.js.map +1 -1
- package/dist/blog/post-card.d.ts.map +1 -1
- package/dist/blog/post-card.js +1 -1
- package/dist/blog/post-card.js.map +1 -1
- package/dist/blog/site.d.ts +5 -1
- package/dist/blog/site.d.ts.map +1 -1
- package/dist/blog/site.js +6 -2
- package/dist/blog/site.js.map +1 -1
- package/dist/config/layouts.d.ts +17 -0
- package/dist/config/layouts.d.ts.map +1 -0
- package/dist/config/layouts.js +17 -0
- package/dist/config/layouts.js.map +1 -0
- package/dist/config/site-config.d.ts +1 -12
- package/dist/config/site-config.d.ts.map +1 -1
- package/dist/config/site-config.js +5 -13
- 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 +1 -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 +1 -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 +1 -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 +1 -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 +1 -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 +1 -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 +1 -0
- package/dist/i18n/tables/tr.js.map +1 -1
- package/dist/i18n/types.d.ts +2 -0
- package/dist/i18n/types.d.ts.map +1 -1
- package/dist/layout/legal-page.d.ts +19 -0
- package/dist/layout/legal-page.d.ts.map +1 -0
- package/dist/layout/legal-page.js +6 -0
- package/dist/layout/legal-page.js.map +1 -0
- package/dist/markdown/body.d.ts +13 -0
- package/dist/markdown/body.d.ts.map +1 -0
- package/dist/markdown/body.js +80 -0
- package/dist/markdown/body.js.map +1 -0
- 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 +4 -0
- package/dist/mdx/allow-list.js.map +1 -1
- package/dist/mdx/components.d.ts.map +1 -1
- package/dist/mdx/components.js +9 -2
- package/dist/mdx/components.js.map +1 -1
- package/dist/website/blocks/app-views.d.ts.map +1 -1
- package/dist/website/blocks/app-views.js +3 -11
- package/dist/website/blocks/app-views.js.map +1 -1
- package/dist/website/blocks/call-to-action-views.d.ts +8 -0
- package/dist/website/blocks/call-to-action-views.d.ts.map +1 -1
- package/dist/website/blocks/call-to-action-views.js +12 -1
- package/dist/website/blocks/call-to-action-views.js.map +1 -1
- package/dist/website/blocks/carousel.d.ts +3 -3
- package/dist/website/blocks/carousel.d.ts.map +1 -1
- package/dist/website/blocks/carousel.js +2 -2
- package/dist/website/blocks/catalog.d.ts +8 -3
- package/dist/website/blocks/catalog.d.ts.map +1 -1
- package/dist/website/blocks/catalog.js +8 -3
- package/dist/website/blocks/catalog.js.map +1 -1
- package/dist/website/blocks/content.d.ts +7 -9
- package/dist/website/blocks/content.d.ts.map +1 -1
- package/dist/website/blocks/content.js +10 -9
- package/dist/website/blocks/content.js.map +1 -1
- package/dist/website/blocks/editorial.d.ts +17 -0
- package/dist/website/blocks/editorial.d.ts.map +1 -0
- package/dist/website/blocks/editorial.js +17 -0
- package/dist/website/blocks/editorial.js.map +1 -0
- package/dist/website/blocks/faq-views.d.ts.map +1 -1
- package/dist/website/blocks/faq-views.js +1 -1
- package/dist/website/blocks/faq-views.js.map +1 -1
- package/dist/website/blocks/feature-views.d.ts +6 -1
- package/dist/website/blocks/feature-views.d.ts.map +1 -1
- package/dist/website/blocks/feature-views.js +24 -0
- package/dist/website/blocks/feature-views.js.map +1 -1
- package/dist/website/blocks/gallery-views.d.ts +24 -0
- package/dist/website/blocks/gallery-views.d.ts.map +1 -0
- package/dist/website/blocks/gallery-views.js +43 -0
- package/dist/website/blocks/gallery-views.js.map +1 -0
- package/dist/website/blocks/hero-slots.d.ts +65 -0
- package/dist/website/blocks/hero-slots.d.ts.map +1 -0
- package/dist/website/blocks/hero-slots.js +51 -0
- package/dist/website/blocks/hero-slots.js.map +1 -0
- package/dist/website/blocks/hero-views.d.ts +10 -1
- package/dist/website/blocks/hero-views.d.ts.map +1 -1
- package/dist/website/blocks/hero-views.js +34 -8
- package/dist/website/blocks/hero-views.js.map +1 -1
- package/dist/website/blocks/icon-names.d.ts +7 -0
- package/dist/website/blocks/icon-names.d.ts.map +1 -0
- package/dist/website/blocks/icon-names.js +51 -0
- package/dist/website/blocks/icon-names.js.map +1 -0
- package/dist/website/blocks/icons.d.ts +4 -2
- package/dist/website/blocks/icons.d.ts.map +1 -1
- package/dist/website/blocks/icons.js +2 -1
- package/dist/website/blocks/icons.js.map +1 -1
- package/dist/website/blocks/local-views.d.ts.map +1 -1
- package/dist/website/blocks/local-views.js +2 -1
- package/dist/website/blocks/local-views.js.map +1 -1
- package/dist/website/blocks/marquee-views.d.ts +14 -0
- package/dist/website/blocks/marquee-views.d.ts.map +1 -0
- package/dist/website/blocks/marquee-views.js +26 -0
- package/dist/website/blocks/marquee-views.js.map +1 -0
- package/dist/website/blocks/media-views.d.ts.map +1 -1
- package/dist/website/blocks/media-views.js +8 -3
- package/dist/website/blocks/media-views.js.map +1 -1
- package/dist/website/blocks/parts.d.ts +8 -0
- package/dist/website/blocks/parts.d.ts.map +1 -1
- package/dist/website/blocks/parts.js +11 -3
- package/dist/website/blocks/parts.js.map +1 -1
- package/dist/website/blocks/rating.d.ts +10 -0
- package/dist/website/blocks/rating.d.ts.map +1 -0
- package/dist/website/blocks/rating.js +14 -0
- package/dist/website/blocks/rating.js.map +1 -0
- package/dist/website/blocks/statement-views.d.ts +20 -0
- package/dist/website/blocks/statement-views.d.ts.map +1 -0
- package/dist/website/blocks/statement-views.js +31 -0
- package/dist/website/blocks/statement-views.js.map +1 -0
- package/dist/website/blocks/steps-views.d.ts +19 -0
- package/dist/website/blocks/steps-views.d.ts.map +1 -0
- package/dist/website/blocks/steps-views.js +39 -0
- package/dist/website/blocks/steps-views.js.map +1 -0
- package/dist/website/blocks/store-badges.d.ts +26 -0
- package/dist/website/blocks/store-badges.d.ts.map +1 -0
- package/dist/website/blocks/store-badges.js +15 -0
- package/dist/website/blocks/store-badges.js.map +1 -0
- package/dist/website/blocks/testimonial-views.d.ts +1 -1
- package/dist/website/blocks/testimonial-views.d.ts.map +1 -1
- package/dist/website/blocks/testimonial-views.js +4 -9
- package/dist/website/blocks/testimonial-views.js.map +1 -1
- package/package.json +6 -2
- package/styles.css +698 -12
package/styles.css
CHANGED
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
/* A fill or a border in the brand colour: a card's hover edge, the active chip. */
|
|
20
20
|
--site-brand: var(--color-fd-primary);
|
|
21
21
|
/* The brand colour on a run of text, such as an emphasised word in a title. */
|
|
22
|
-
|
|
22
|
+
/* The brand colour as small text, solved to AA on the page, a card and a tint (contract minor 8). */
|
|
23
|
+
--site-brand-text: var(--dna-brand-text);
|
|
23
24
|
/* A call to action in text form, and the colour it turns on hover. */
|
|
24
25
|
--site-cta: var(--color-fd-primary);
|
|
25
26
|
--site-link: var(--color-fd-primary);
|
|
@@ -43,6 +44,46 @@
|
|
|
43
44
|
padding-top: 56px;
|
|
44
45
|
}
|
|
45
46
|
|
|
47
|
+
/* The legal pages of a site (privacy notice, terms, legal notice): plain text at the measure of
|
|
48
|
+
body text, the headings in the display face, and a line break kept as a break, as in an address. */
|
|
49
|
+
.site-legal {
|
|
50
|
+
padding-block: var(--dna-section-md);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.site-legal-title {
|
|
54
|
+
font-family: var(--dna-type-h2-family);
|
|
55
|
+
font-size: var(--dna-type-h2-size);
|
|
56
|
+
font-weight: var(--dna-type-h2-weight);
|
|
57
|
+
line-height: var(--dna-type-h2-line-height);
|
|
58
|
+
letter-spacing: var(--dna-type-h2-tracking);
|
|
59
|
+
color: var(--site-fg);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.site-legal-section {
|
|
63
|
+
max-width: var(--dna-measure-body);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.site-legal-heading {
|
|
67
|
+
margin-top: var(--dna-space-xl);
|
|
68
|
+
font-family: var(--dna-type-h3-family);
|
|
69
|
+
font-size: var(--dna-type-h3-size);
|
|
70
|
+
font-weight: var(--dna-type-h3-weight);
|
|
71
|
+
line-height: var(--dna-type-h3-line-height);
|
|
72
|
+
color: var(--site-fg);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.site-legal-text {
|
|
76
|
+
margin-top: var(--dna-space-sm);
|
|
77
|
+
white-space: pre-line;
|
|
78
|
+
color: var(--site-fg);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.site-legal-note {
|
|
82
|
+
margin-top: var(--dna-space-xl);
|
|
83
|
+
font-size: var(--dna-type-caption-size);
|
|
84
|
+
color: var(--site-fg-muted);
|
|
85
|
+
}
|
|
86
|
+
|
|
46
87
|
@media (max-width: 900px) {
|
|
47
88
|
.site-page-top {
|
|
48
89
|
padding-top: 44px;
|
|
@@ -450,18 +491,18 @@
|
|
|
450
491
|
}
|
|
451
492
|
|
|
452
493
|
/* Cards: one with the next peeking on a phone, two from 40rem, three from 64rem. */
|
|
453
|
-
.site-carousel-track[data-kind="cards"] > .site-carousel-item {
|
|
494
|
+
.site-carousel-track:is([data-kind="cards"], [data-kind="pictures"]) > .site-carousel-item {
|
|
454
495
|
flex-basis: 85%;
|
|
455
496
|
}
|
|
456
497
|
|
|
457
498
|
@media (min-width: 40rem) {
|
|
458
|
-
.site-carousel-track[data-kind="cards"] > .site-carousel-item {
|
|
499
|
+
.site-carousel-track:is([data-kind="cards"], [data-kind="pictures"]) > .site-carousel-item {
|
|
459
500
|
flex-basis: calc((100% - var(--site-carousel-gap)) / 2);
|
|
460
501
|
}
|
|
461
502
|
}
|
|
462
503
|
|
|
463
504
|
@media (min-width: 64rem) {
|
|
464
|
-
.site-carousel-track[data-kind="cards"] > .site-carousel-item {
|
|
505
|
+
.site-carousel-track:is([data-kind="cards"], [data-kind="pictures"]) > .site-carousel-item {
|
|
465
506
|
flex-basis: calc((100% - 2 * var(--site-carousel-gap)) / 3);
|
|
466
507
|
}
|
|
467
508
|
}
|
|
@@ -528,7 +569,8 @@
|
|
|
528
569
|
font-size: var(--dna-type-display-size);
|
|
529
570
|
font-weight: var(--dna-type-display-weight);
|
|
530
571
|
line-height: var(--dna-type-display-line-height);
|
|
531
|
-
letter-spacing: var(--dna-type-display-tracking);
|
|
572
|
+
letter-spacing: max(var(--dna-type-display-tracking), var(--dna-display-tracking-floor));
|
|
573
|
+
text-transform: var(--dna-display-case);
|
|
532
574
|
color: var(--site-fg);
|
|
533
575
|
text-align: var(--dna-head-align);
|
|
534
576
|
text-wrap: balance;
|
|
@@ -545,17 +587,49 @@
|
|
|
545
587
|
text-wrap: pretty;
|
|
546
588
|
}
|
|
547
589
|
|
|
590
|
+
/* A heading in a column of a split layout starts with its column: the column is the frame of its
|
|
591
|
+
words, so a centred brand centres a section of one column, never a heading over words at the
|
|
592
|
+
start. The same holds on a phone, where the columns stack. */
|
|
593
|
+
:is(.site-split, .site-split-end, .site-words-column) :is(.site-block-title, .site-block-intro) {
|
|
594
|
+
margin-inline: 0;
|
|
595
|
+
text-align: start;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
/* A narrow body of one column sits under its heading: in the middle under a centred one. The
|
|
599
|
+
questions and the steps keep their own words at the start, as a list reads. */
|
|
600
|
+
.site-faq-list,
|
|
601
|
+
.site-timeline[data-variant="timeline"] {
|
|
602
|
+
margin-inline: var(--dna-head-margin);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.site-timeline[data-variant="timeline"] {
|
|
606
|
+
width: fit-content;
|
|
607
|
+
max-width: 100%;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/* Words of one column over a picture follow the brand's alignment, the buttons with them. */
|
|
611
|
+
.site-words-follow {
|
|
612
|
+
margin-inline: var(--dna-head-margin);
|
|
613
|
+
text-align: var(--dna-head-align);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.site-words-follow .site-actions {
|
|
617
|
+
justify-content: var(--dna-head-align);
|
|
618
|
+
}
|
|
619
|
+
|
|
548
620
|
.site-hero {
|
|
549
621
|
padding-block: var(--dna-section-lg);
|
|
550
622
|
}
|
|
551
623
|
|
|
552
|
-
/* The opening headline is the brand's largest role, fluid from a phone to a wide screen.
|
|
624
|
+
/* The opening headline is the brand's largest role, fluid from a phone to a wide screen. A brand
|
|
625
|
+
that sets its headlines in capitals (details.capitals) opens their tracking to at least 0em. */
|
|
553
626
|
.site-hero-title {
|
|
554
627
|
font-family: var(--dna-type-display-xl-family);
|
|
555
628
|
font-size: var(--dna-type-display-xl-size);
|
|
556
629
|
font-weight: var(--dna-type-display-xl-weight);
|
|
557
630
|
line-height: var(--dna-type-display-xl-line-height);
|
|
558
|
-
letter-spacing: var(--dna-type-display-xl-tracking);
|
|
631
|
+
letter-spacing: max(var(--dna-type-display-xl-tracking), var(--dna-display-tracking-floor));
|
|
632
|
+
text-transform: var(--dna-display-case);
|
|
559
633
|
color: var(--site-fg);
|
|
560
634
|
text-wrap: balance;
|
|
561
635
|
}
|
|
@@ -790,6 +864,414 @@
|
|
|
790
864
|
}
|
|
791
865
|
}
|
|
792
866
|
|
|
867
|
+
/* One line in large type. The marker layout lays a band of the brand's colour under the key
|
|
868
|
+
words, whatever the brand's own emphasis, and keeps them in the band's text colour. */
|
|
869
|
+
.site-statement-label {
|
|
870
|
+
margin-bottom: var(--dna-space-md);
|
|
871
|
+
font-family: var(--font-mono);
|
|
872
|
+
font-size: var(--dna-type-caption-size);
|
|
873
|
+
letter-spacing: 0.08em;
|
|
874
|
+
text-transform: uppercase;
|
|
875
|
+
color: var(--site-fg-muted);
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.site-statement-text {
|
|
879
|
+
max-width: 22ch;
|
|
880
|
+
font-family: var(--dna-type-display-xl-family);
|
|
881
|
+
font-size: var(--dna-type-display-xl-size);
|
|
882
|
+
font-weight: var(--dna-type-display-xl-weight);
|
|
883
|
+
line-height: var(--dna-type-display-xl-line-height);
|
|
884
|
+
letter-spacing: max(var(--dna-type-display-xl-tracking), var(--dna-display-tracking-floor));
|
|
885
|
+
text-transform: var(--dna-display-case);
|
|
886
|
+
color: var(--site-fg);
|
|
887
|
+
text-wrap: balance;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
.text-center > .site-statement-text {
|
|
891
|
+
margin-inline: auto;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
.site-statement-action {
|
|
895
|
+
margin-top: var(--dna-space-xl);
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
.site-statement[data-variant="marker"] .site-highlight {
|
|
899
|
+
padding-inline: 0.08em;
|
|
900
|
+
background: linear-gradient(transparent 58%, color-mix(in oklab, var(--site-brand) 32%, transparent) 58%);
|
|
901
|
+
color: var(--site-fg);
|
|
902
|
+
font-weight: inherit;
|
|
903
|
+
text-decoration: none;
|
|
904
|
+
box-decoration-break: clone;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
/* A band of words that moves: two runs of the same words side by side, the track shifted by one
|
|
908
|
+
run so the loop has no seam. It moves only for a visitor who has not asked for less motion, and
|
|
909
|
+
the checkbox in the corner stops it. With less motion the words wrap, still, and the copy and
|
|
910
|
+
the control are gone. */
|
|
911
|
+
.site-marquee {
|
|
912
|
+
position: relative;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
/* The strip the words move in: it clips the track, which is two runs wide. */
|
|
916
|
+
.site-marquee-viewport {
|
|
917
|
+
overflow: hidden;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
.site-marquee-track {
|
|
921
|
+
display: flex;
|
|
922
|
+
width: max-content;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.site-marquee-list {
|
|
926
|
+
display: flex;
|
|
927
|
+
flex-shrink: 0;
|
|
928
|
+
align-items: center;
|
|
929
|
+
gap: var(--dna-space-2xl);
|
|
930
|
+
margin: 0;
|
|
931
|
+
padding: 0 var(--dna-space-2xl) 0 0;
|
|
932
|
+
list-style: none;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
.site-marquee-word {
|
|
936
|
+
display: inline-flex;
|
|
937
|
+
align-items: center;
|
|
938
|
+
gap: var(--dna-space-2xl);
|
|
939
|
+
font-family: var(--dna-type-display-family);
|
|
940
|
+
font-size: var(--dna-type-display-size);
|
|
941
|
+
font-weight: var(--dna-type-display-weight);
|
|
942
|
+
line-height: 1.1;
|
|
943
|
+
white-space: nowrap;
|
|
944
|
+
color: var(--site-fg);
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
.site-marquee-mark {
|
|
948
|
+
width: 0.5em;
|
|
949
|
+
height: 0.5em;
|
|
950
|
+
color: var(--site-brand-text);
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.site-marquee-pill {
|
|
954
|
+
padding: var(--dna-space-sm) var(--dna-space-lg);
|
|
955
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
956
|
+
border-radius: var(--dna-radius-full);
|
|
957
|
+
font-family: var(--dna-type-h3-family);
|
|
958
|
+
font-size: var(--dna-type-h3-size);
|
|
959
|
+
font-weight: var(--dna-type-h3-weight);
|
|
960
|
+
white-space: nowrap;
|
|
961
|
+
color: var(--site-fg);
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.site-marquee-toggle {
|
|
965
|
+
position: absolute;
|
|
966
|
+
inset-block-end: var(--dna-space-sm);
|
|
967
|
+
inset-inline-end: var(--dna-grid-margin);
|
|
968
|
+
display: grid;
|
|
969
|
+
place-items: center;
|
|
970
|
+
width: 2.25rem;
|
|
971
|
+
height: 2.25rem;
|
|
972
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
973
|
+
border-radius: var(--dna-radius-full);
|
|
974
|
+
background: var(--color-fd-background);
|
|
975
|
+
color: var(--site-fg);
|
|
976
|
+
cursor: pointer;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
.site-marquee-toggle:has(:focus-visible) {
|
|
980
|
+
outline: 2px solid var(--color-fd-ring);
|
|
981
|
+
outline-offset: 2px;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
.site-marquee-pause {
|
|
985
|
+
position: absolute;
|
|
986
|
+
inset: 0;
|
|
987
|
+
margin: 0;
|
|
988
|
+
opacity: 0;
|
|
989
|
+
cursor: pointer;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
.site-marquee-toggle-icon {
|
|
993
|
+
width: 1rem;
|
|
994
|
+
height: 1rem;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.site-marquee-toggle:has(:checked) [data-shows="moving"],
|
|
998
|
+
.site-marquee-toggle:not(:has(:checked)) [data-shows="paused"] {
|
|
999
|
+
display: none;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
@keyframes site-marquee {
|
|
1003
|
+
to {
|
|
1004
|
+
transform: translateX(-50%);
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
1009
|
+
.site-marquee-track {
|
|
1010
|
+
animation: site-marquee 40s linear infinite;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
[dir="rtl"] .site-marquee-track {
|
|
1014
|
+
animation-direction: reverse;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
.site-marquee:has(.site-marquee-pause:checked) .site-marquee-track {
|
|
1018
|
+
animation-play-state: paused;
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1023
|
+
.site-marquee-track {
|
|
1024
|
+
width: auto;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.site-marquee-list {
|
|
1028
|
+
flex-wrap: wrap;
|
|
1029
|
+
justify-content: center;
|
|
1030
|
+
width: 100%;
|
|
1031
|
+
padding-inline: var(--dna-grid-margin);
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
.site-marquee-word {
|
|
1035
|
+
white-space: normal;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
.site-marquee-list[aria-hidden],
|
|
1039
|
+
.site-marquee-toggle {
|
|
1040
|
+
display: none;
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
/* The Gallery block: the founder's pictures, each with an optional caption under it. */
|
|
1045
|
+
.site-gallery-picture {
|
|
1046
|
+
margin: 0;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
.site-gallery-img {
|
|
1050
|
+
display: block;
|
|
1051
|
+
width: 100%;
|
|
1052
|
+
border-radius: var(--dna-media-radius);
|
|
1053
|
+
object-fit: cover;
|
|
1054
|
+
filter: var(--dna-media-filter);
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
.site-gallery-caption,
|
|
1058
|
+
.site-media-caption {
|
|
1059
|
+
margin-top: var(--dna-space-sm);
|
|
1060
|
+
font-size: var(--dna-type-body-sm-size);
|
|
1061
|
+
line-height: var(--dna-type-body-sm-line-height);
|
|
1062
|
+
color: var(--site-fg-muted);
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
.site-block-title + .site-gallery-grid,
|
|
1066
|
+
.site-block-intro + .site-gallery-grid,
|
|
1067
|
+
.site-block-title + .site-masonry,
|
|
1068
|
+
.site-block-intro + .site-masonry,
|
|
1069
|
+
.site-block-title + .site-strip,
|
|
1070
|
+
.site-block-intro + .site-strip {
|
|
1071
|
+
margin-top: var(--dna-space-xl);
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
.site-gallery-grid .site-gallery-img,
|
|
1075
|
+
.site-carousel-track[data-kind="pictures"] .site-gallery-img {
|
|
1076
|
+
aspect-ratio: 4 / 3;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
/* Masonry: the pictures at their own height, in columns that fill from the top. */
|
|
1080
|
+
.site-masonry {
|
|
1081
|
+
columns: 1;
|
|
1082
|
+
column-gap: var(--dna-grid-gutter);
|
|
1083
|
+
list-style: none;
|
|
1084
|
+
padding: 0;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
.site-masonry-item {
|
|
1088
|
+
break-inside: avoid;
|
|
1089
|
+
margin-bottom: var(--dna-grid-gutter);
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
@media (min-width: 40rem) {
|
|
1093
|
+
.site-masonry {
|
|
1094
|
+
columns: 2;
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
@media (min-width: 64rem) {
|
|
1099
|
+
.site-masonry {
|
|
1100
|
+
columns: 3;
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
/* A strip: one row of pictures at one height, each at its own width, that scrolls sideways. */
|
|
1105
|
+
.site-strip {
|
|
1106
|
+
display: flex;
|
|
1107
|
+
gap: var(--dna-grid-gutter);
|
|
1108
|
+
margin: 0;
|
|
1109
|
+
padding: 0 0 4px;
|
|
1110
|
+
list-style: none;
|
|
1111
|
+
overflow-x: auto;
|
|
1112
|
+
overscroll-behavior-x: contain;
|
|
1113
|
+
scroll-snap-type: x proximity;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
.site-strip:focus-visible {
|
|
1117
|
+
outline: 2px solid var(--color-fd-ring);
|
|
1118
|
+
outline-offset: 4px;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
.site-strip-item {
|
|
1122
|
+
flex: 0 0 auto;
|
|
1123
|
+
scroll-snap-align: start;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
.site-strip .site-gallery-img {
|
|
1127
|
+
width: auto;
|
|
1128
|
+
max-width: 80vw;
|
|
1129
|
+
height: 14rem;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
@media (min-width: 48rem) {
|
|
1133
|
+
.site-strip .site-gallery-img {
|
|
1134
|
+
height: 20rem;
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
/* The frame of a picture (imagery): a phone's rounded body for an app, or a browser window with
|
|
1139
|
+
its bar and three dots for a web page. A framed picture leaves the brand's own media frame. */
|
|
1140
|
+
.site-media[data-frame] {
|
|
1141
|
+
padding: 0;
|
|
1142
|
+
border: 0;
|
|
1143
|
+
background: none;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
.site-frame[data-frame="phone"] {
|
|
1147
|
+
max-width: 18rem;
|
|
1148
|
+
margin-inline: auto;
|
|
1149
|
+
padding: 0.55rem;
|
|
1150
|
+
border-radius: 2.4rem;
|
|
1151
|
+
background: var(--site-fg);
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
.site-frame[data-frame="phone"] .site-media-picture {
|
|
1155
|
+
border-radius: 1.9rem;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
.site-frame[data-frame="phone"] .site-media-img {
|
|
1159
|
+
aspect-ratio: 9 / 19.5;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
/* The phone sits in the middle of its column, and so does the line under it. */
|
|
1163
|
+
.site-media[data-frame="phone"] .site-media-caption {
|
|
1164
|
+
text-align: center;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
.site-frame[data-frame="browser"] {
|
|
1168
|
+
overflow: hidden;
|
|
1169
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
1170
|
+
border-radius: var(--dna-media-radius);
|
|
1171
|
+
background: var(--color-fd-background);
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
.site-frame[data-frame="browser"] .site-media-picture {
|
|
1175
|
+
border-radius: 0;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
.site-frame-bar {
|
|
1179
|
+
display: flex;
|
|
1180
|
+
gap: 0.4rem;
|
|
1181
|
+
padding: 0.6rem 0.8rem;
|
|
1182
|
+
border-bottom: var(--dna-border-width-thin) solid var(--site-border);
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
.site-frame-dot {
|
|
1186
|
+
width: 0.6rem;
|
|
1187
|
+
height: 0.6rem;
|
|
1188
|
+
border-radius: var(--dna-radius-full);
|
|
1189
|
+
background: var(--site-border);
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
/* Steps down a line: each number in a ring on the line, its words beside it. The line runs from
|
|
1193
|
+
one ring to the next, so it stops at the last step. */
|
|
1194
|
+
.site-timeline {
|
|
1195
|
+
display: flex;
|
|
1196
|
+
flex-direction: column;
|
|
1197
|
+
gap: var(--dna-space-xl);
|
|
1198
|
+
list-style: none;
|
|
1199
|
+
padding: 0;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
.site-block-title + .site-timeline,
|
|
1203
|
+
.site-block-intro + .site-timeline {
|
|
1204
|
+
margin-top: var(--dna-space-2xl);
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
.site-timeline-step {
|
|
1208
|
+
position: relative;
|
|
1209
|
+
display: grid;
|
|
1210
|
+
grid-template-columns: 2.5rem minmax(0, 1fr);
|
|
1211
|
+
column-gap: var(--dna-space-lg);
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.site-timeline-step:not(:last-child)::before {
|
|
1215
|
+
content: "";
|
|
1216
|
+
position: absolute;
|
|
1217
|
+
inset-block: 2.5rem calc(-1 * var(--dna-space-xl));
|
|
1218
|
+
inset-inline-start: calc(1.25rem - var(--dna-border-width-thin) / 2);
|
|
1219
|
+
border-inline-start: var(--dna-border-width-thin) solid var(--site-border);
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
.site-timeline-number {
|
|
1223
|
+
display: grid;
|
|
1224
|
+
place-items: center;
|
|
1225
|
+
width: 2.5rem;
|
|
1226
|
+
height: 2.5rem;
|
|
1227
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
1228
|
+
border-radius: var(--dna-radius-full);
|
|
1229
|
+
font-family: var(--dna-type-h3-family);
|
|
1230
|
+
font-weight: var(--dna-type-h3-weight);
|
|
1231
|
+
font-variant-numeric: var(--dna-numerals);
|
|
1232
|
+
color: var(--site-brand-text);
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
/* A bento grid: rows of three columns, a wide card and a narrow one, on a phone one column. */
|
|
1236
|
+
.site-bento {
|
|
1237
|
+
display: grid;
|
|
1238
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1239
|
+
gap: var(--dna-grid-gutter);
|
|
1240
|
+
list-style: none;
|
|
1241
|
+
padding: 0;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
@media (min-width: 48rem) {
|
|
1245
|
+
.site-bento {
|
|
1246
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
.site-bento-card[data-span="2"] {
|
|
1250
|
+
grid-column: span 2;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
.site-bento-card[data-span="3"] {
|
|
1254
|
+
grid-column: span 3;
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
/* A numbered feature: a large figure in the display face over the title, in place of an icon. */
|
|
1259
|
+
.site-feature-numbered {
|
|
1260
|
+
padding-top: var(--dna-space-md);
|
|
1261
|
+
border-top: var(--dna-border-width-thin) solid var(--site-border);
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
.site-feature-number {
|
|
1265
|
+
display: block;
|
|
1266
|
+
margin-bottom: var(--dna-space-sm);
|
|
1267
|
+
font-family: var(--dna-type-display-family);
|
|
1268
|
+
font-size: var(--dna-type-h2-size);
|
|
1269
|
+
font-weight: var(--dna-type-display-weight);
|
|
1270
|
+
line-height: 1;
|
|
1271
|
+
font-variant-numeric: var(--dna-numerals);
|
|
1272
|
+
color: var(--site-brand-text);
|
|
1273
|
+
}
|
|
1274
|
+
|
|
793
1275
|
.site-price {
|
|
794
1276
|
font-variant-numeric: var(--dna-numerals);
|
|
795
1277
|
margin-block: 8px;
|
|
@@ -1081,6 +1563,175 @@
|
|
|
1081
1563
|
color: var(--site-fg-muted);
|
|
1082
1564
|
}
|
|
1083
1565
|
|
|
1566
|
+
/* The top slot of an opening section: a row over the title of icons with a label, badges, or small
|
|
1567
|
+
tiles with an icon over a label. */
|
|
1568
|
+
.site-hero-top {
|
|
1569
|
+
display: flex;
|
|
1570
|
+
flex-wrap: wrap;
|
|
1571
|
+
gap: var(--dna-space-sm) var(--dna-space-md);
|
|
1572
|
+
margin-bottom: var(--dna-space-lg);
|
|
1573
|
+
list-style: none;
|
|
1574
|
+
padding: 0;
|
|
1575
|
+
font-size: var(--dna-type-body-sm-size);
|
|
1576
|
+
color: var(--site-fg-muted);
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
.site-hero-top[data-center] {
|
|
1580
|
+
justify-content: center;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
.site-hero-top-icon-item,
|
|
1584
|
+
.site-hero-tile {
|
|
1585
|
+
display: inline-flex;
|
|
1586
|
+
align-items: center;
|
|
1587
|
+
gap: var(--dna-space-xs);
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
/* Tiles share the row and shrink on a narrow screen, so four stay on one line. */
|
|
1591
|
+
.site-hero-tile {
|
|
1592
|
+
flex: 1 1 0;
|
|
1593
|
+
flex-direction: column;
|
|
1594
|
+
min-width: 0;
|
|
1595
|
+
max-width: 9rem;
|
|
1596
|
+
text-align: center;
|
|
1597
|
+
color: var(--site-fg);
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
/* A tile keeps a short label whole: break-word splits only a word that cannot fit its tile. */
|
|
1601
|
+
.site-card.site-hero-tile {
|
|
1602
|
+
padding: var(--dna-space-sm);
|
|
1603
|
+
overflow-wrap: break-word;
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
/* A label may shrink to its item, so a long word wraps inside it rather than past its edge. */
|
|
1607
|
+
.site-hero-top-icon-item > span,
|
|
1608
|
+
.site-hero-tile > span {
|
|
1609
|
+
min-width: 0;
|
|
1610
|
+
max-width: 100%;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
.site-hero-top[data-part="tiles"] {
|
|
1614
|
+
gap: var(--dna-space-sm);
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
.site-hero-top-icon {
|
|
1618
|
+
width: 1.25rem;
|
|
1619
|
+
height: 1.25rem;
|
|
1620
|
+
color: var(--site-brand-text);
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
/* The side slot of a split section, in place of the picture: store badges or a review. */
|
|
1624
|
+
.site-hero-side {
|
|
1625
|
+
display: flex;
|
|
1626
|
+
align-items: center;
|
|
1627
|
+
justify-content: center;
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
/* A sign-up form in the side takes the side's width, up to the measure of the control. */
|
|
1631
|
+
.site-hero-form {
|
|
1632
|
+
width: 100%;
|
|
1633
|
+
max-width: 28rem;
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
.site-hero-review {
|
|
1637
|
+
display: flex;
|
|
1638
|
+
flex-direction: column;
|
|
1639
|
+
gap: var(--dna-space-md);
|
|
1640
|
+
max-width: 28rem;
|
|
1641
|
+
margin: 0;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
.site-hero-review-quote {
|
|
1645
|
+
font-family: var(--dna-type-h4-family);
|
|
1646
|
+
font-size: var(--dna-type-h4-size);
|
|
1647
|
+
line-height: var(--dna-type-h4-line-height);
|
|
1648
|
+
color: var(--site-fg);
|
|
1649
|
+
text-wrap: pretty;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
.site-hero-review-by {
|
|
1653
|
+
display: flex;
|
|
1654
|
+
flex-direction: column;
|
|
1655
|
+
font-size: var(--dna-type-body-sm-size);
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
.site-hero-review-name {
|
|
1659
|
+
font-weight: 600;
|
|
1660
|
+
color: var(--site-fg);
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
.site-hero-review-role {
|
|
1664
|
+
color: var(--site-fg-muted);
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
/* The cover layout: the picture fills the band and the words sit over it on a layer of the band's
|
|
1668
|
+
own colour. At 92% the layer keeps the band's text pair above AA over a white or a black picture
|
|
1669
|
+
for any pair the theme solves at 6:1 or more; the e2e measures both. */
|
|
1670
|
+
.site-hero-cover {
|
|
1671
|
+
position: relative;
|
|
1672
|
+
isolation: isolate;
|
|
1673
|
+
display: grid;
|
|
1674
|
+
align-items: center;
|
|
1675
|
+
min-height: min(85vh, 52rem);
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
.site-media.site-hero-cover-media {
|
|
1679
|
+
position: absolute;
|
|
1680
|
+
inset: 0;
|
|
1681
|
+
z-index: -1;
|
|
1682
|
+
padding: 0;
|
|
1683
|
+
border: 0;
|
|
1684
|
+
border-radius: 0;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
.site-hero-cover-media .site-media-picture {
|
|
1688
|
+
height: 100%;
|
|
1689
|
+
border-radius: 0;
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
.site-hero-cover-media .site-media-img {
|
|
1693
|
+
aspect-ratio: auto;
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
.site-hero-cover-media .site-media-note {
|
|
1697
|
+
inset-inline-start: auto;
|
|
1698
|
+
inset-inline-end: var(--dna-space-sm);
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
.site-hero-cover-inner {
|
|
1702
|
+
width: 100%;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
.site-hero-scrim {
|
|
1706
|
+
max-width: 44rem;
|
|
1707
|
+
padding: var(--dna-space-2xl) var(--dna-space-xl);
|
|
1708
|
+
border-radius: var(--dna-list-radius);
|
|
1709
|
+
background: color-mix(in srgb, var(--color-fd-background) 92%, transparent);
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
/* The panel layout: the picture across the column, and the words in a box of the band's own
|
|
1713
|
+
colour over its lower edge. */
|
|
1714
|
+
.site-hero-panel-media {
|
|
1715
|
+
width: 100%;
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
.site-hero-panel {
|
|
1719
|
+
position: relative;
|
|
1720
|
+
max-width: 44rem;
|
|
1721
|
+
margin: calc(-1 * var(--dna-space-lg)) var(--dna-space-sm) 0;
|
|
1722
|
+
padding: var(--dna-space-lg);
|
|
1723
|
+
border: var(--dna-border-width-thin) solid var(--site-border);
|
|
1724
|
+
border-radius: var(--dna-list-radius);
|
|
1725
|
+
background: var(--color-fd-background);
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
@media (min-width: 48rem) {
|
|
1729
|
+
.site-hero-panel {
|
|
1730
|
+
margin: calc(-3 * var(--dna-space-2xl)) var(--dna-space-2xl) 0;
|
|
1731
|
+
padding: var(--dna-space-2xl);
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1084
1735
|
/* A second action as underlined text (an Action with look "link"), beside the first button. */
|
|
1085
1736
|
.site-text-action {
|
|
1086
1737
|
display: inline-flex;
|
|
@@ -1175,7 +1826,8 @@ details[open] > .site-faq-summary .site-faq-caret {
|
|
|
1175
1826
|
.site-input {
|
|
1176
1827
|
width: 100%;
|
|
1177
1828
|
padding: 10px 12px;
|
|
1178
|
-
|
|
1829
|
+
/* The same edge as the sign-up field: the muted text colour, 3:1 or more on every band. */
|
|
1830
|
+
border: var(--dna-border-width-thin) solid var(--site-fg-muted);
|
|
1179
1831
|
border-radius: var(--dna-radius-md);
|
|
1180
1832
|
background: var(--color-fd-background);
|
|
1181
1833
|
color: var(--site-fg);
|
|
@@ -1205,14 +1857,16 @@ details[open] > .site-faq-summary .site-faq-caret {
|
|
|
1205
1857
|
align-items: center;
|
|
1206
1858
|
gap: var(--site-signup-inset);
|
|
1207
1859
|
padding: var(--site-signup-inset);
|
|
1208
|
-
|
|
1860
|
+
/* A field's edge is how a visitor finds it, so it takes the muted text colour, which reaches AA
|
|
1861
|
+
on every band, and so 3:1 (WCAG 1.4.11); the hairline of --site-border reached under 2:1. */
|
|
1862
|
+
border: var(--dna-border-width-thin) solid var(--site-fg-muted);
|
|
1209
1863
|
border-radius: calc(var(--dna-component-button-primary-radius) + var(--site-signup-inset));
|
|
1210
1864
|
background: var(--color-fd-background);
|
|
1211
1865
|
transition: border-color var(--dna-motion-fast) var(--dna-motion-ease);
|
|
1212
1866
|
}
|
|
1213
1867
|
|
|
1214
1868
|
.site-signup:hover {
|
|
1215
|
-
border-color:
|
|
1869
|
+
border-color: var(--site-fg);
|
|
1216
1870
|
}
|
|
1217
1871
|
|
|
1218
1872
|
/* The ring goes around the whole control, so the field never shows a second edge inside it. */
|
|
@@ -1707,6 +2361,13 @@ details[open] > .site-faq-summary .site-faq-caret {
|
|
|
1707
2361
|
background: color-mix(in oklab, var(--site-surface) calc(var(--dna-list-fill) * 100%), transparent);
|
|
1708
2362
|
}
|
|
1709
2363
|
|
|
2364
|
+
/* A tinted figure and a quote in its container keep the page's light surface by default. On a
|
|
2365
|
+
strong band they take the band's surface, as a card does, so the band's text stays readable. */
|
|
2366
|
+
.site-block[data-tone="inverse"] :is(.site-stat-tinted, .site-quote-large),
|
|
2367
|
+
.site-block[data-tone="brand"] :is(.site-stat-tinted, .site-quote-large) {
|
|
2368
|
+
background: color-mix(in oklab, var(--site-surface) calc(var(--dna-list-fill) * 100%), transparent);
|
|
2369
|
+
}
|
|
2370
|
+
|
|
1710
2371
|
.site-block[data-tone="inverse"] .site-button,
|
|
1711
2372
|
.site-block[data-tone="brand"] .site-button {
|
|
1712
2373
|
--site-button-bg: var(--dna-cta-inverse-bg);
|
|
@@ -1723,11 +2384,36 @@ details[open] > .site-faq-summary .site-faq-caret {
|
|
|
1723
2384
|
|
|
1724
2385
|
/* On a band the step numbers take the accent when the brand allows it (colorPolicy.accent), at
|
|
1725
2386
|
the lightness the theme solved for that band. */
|
|
1726
|
-
.site-block[data-tone="inverse"] .site-step-number,
|
|
1727
|
-
.site-block[data-tone="brand"] .site-step-number {
|
|
2387
|
+
.site-block[data-tone="inverse"] :is(.site-step-number, .site-timeline-number, .site-feature-number),
|
|
2388
|
+
.site-block[data-tone="brand"] :is(.site-step-number, .site-timeline-number, .site-feature-number) {
|
|
1728
2389
|
color: var(--site-band-numerals);
|
|
1729
2390
|
}
|
|
1730
2391
|
|
|
2392
|
+
/* The decoration of the first band (decoration, contract minor 7), on the page and on a tint
|
|
2393
|
+
band: an inverse or a brand band keeps its own solved colours. Each variable lays its layer over
|
|
2394
|
+
what the band already has, and its neutral value (none, currentColor, border-box) changes no
|
|
2395
|
+
pixel. The run's colours are solved in the theme; the words keep their emphasis colour as
|
|
2396
|
+
`color`, so a reader that measures it still sees the solved value. */
|
|
2397
|
+
.site-hero:not([data-tone="inverse"], [data-tone="brand"]) .site-highlight {
|
|
2398
|
+
background-image: var(--dna-run-words), var(--site-emphasis-bg);
|
|
2399
|
+
-webkit-background-clip: var(--dna-run-clip);
|
|
2400
|
+
background-clip: var(--dna-run-clip);
|
|
2401
|
+
-webkit-text-fill-color: var(--dna-run-fill);
|
|
2402
|
+
}
|
|
2403
|
+
|
|
2404
|
+
.site-hero:not([data-tone="inverse"], [data-tone="brand"]) .site-button:not(.site-button-secondary),
|
|
2405
|
+
.site-hero:not([data-tone="inverse"], [data-tone="brand"]) .site-button:not(.site-button-secondary):hover {
|
|
2406
|
+
background-image: var(--dna-run-button);
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
.site-hero:not([data-tone]) {
|
|
2410
|
+
background-image: var(--dna-glow);
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2413
|
+
.site-hero[data-tone="tint"] {
|
|
2414
|
+
background: var(--dna-glow), var(--dna-texture-tint), var(--dna-color-surface-tint);
|
|
2415
|
+
}
|
|
2416
|
+
|
|
1731
2417
|
/* The brand's split (composition.split): the first column the wider one, or the last. */
|
|
1732
2418
|
.site-split,
|
|
1733
2419
|
.site-split-end {
|