-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshared.css
More file actions
119 lines (118 loc) · 1.97 KB
/
shared.css
File metadata and controls
119 lines (118 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
:root {
color-scheme: light;
--ink: #172026;
--muted: #52616b;
--line: #d6dde3;
--surface: #ffffff;
--soft: #f4f7f8;
--accent: #0f766e;
--accent-2: #7c3aed;
--focus: #2563eb;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: ui-sans-serif, "Avenir Next", "Segoe UI", sans-serif;
color: var(--ink);
background: var(--surface);
line-height: 1.65;
}
a {
color: inherit;
}
a:focus-visible {
outline: 3px solid color-mix(in srgb, var(--focus) 28%, transparent);
outline-offset: 3px;
}
.usecase {
max-width: 920px;
margin: 0 auto;
padding: 32px 18px 64px;
}
.topnav {
display: flex;
gap: 12px;
flex-wrap: wrap;
padding-bottom: 24px;
border-bottom: 1px solid var(--line);
}
.topnav a {
text-decoration: none;
font-weight: 760;
color: var(--accent);
}
article {
padding-top: 36px;
}
.eyebrow {
margin: 0 0 10px;
color: var(--accent-2);
font-weight: 800;
}
h1 {
margin: 0 0 16px;
font-size: 44px;
line-height: 1.08;
letter-spacing: 0;
}
h2 {
margin: 34px 0 12px;
font-size: 24px;
}
.lead {
margin: 0;
max-width: 760px;
color: var(--muted);
font-size: 19px;
}
pre {
margin: 28px 0 0;
padding: 18px;
border: 1px solid var(--line);
background: var(--soft);
white-space: pre-wrap;
word-break: keep-all;
overflow-wrap: anywhere;
font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
font-size: 15px;
line-height: 1.75;
}
ul {
margin: 0;
padding-left: 22px;
}
li + li {
margin-top: 6px;
}
.cta-row {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 28px;
}
.button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 0 18px;
color: #fff;
background: var(--accent);
text-decoration: none;
font-weight: 800;
}
.button.secondary {
color: var(--accent);
background: var(--soft);
border: 1px solid var(--line);
}
@media (max-width: 640px) {
h1 {
font-size: 34px;
}
.lead {
font-size: 17px;
}
}