1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | :root {
|
12 | --text-font: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu", "Cantarell", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
13 | --titles-font: var(--text-font);
|
14 | --code-font: "Menlo", "Consolas", "Roboto Mono", "Ubuntu Monospace", "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
15 | --line-height: 1.5;
|
16 | --text-weight: 400;
|
17 | --titles-weight: 700;
|
18 | --form-element-weight: var(--text-weight);
|
19 | --buttons-weight: var(--text-weight);
|
20 | --code-weight: var(--text-weight);
|
21 | --base-font-xs: 16px;
|
22 | --base-font-sm: 17px;
|
23 | --base-font-md: 18px;
|
24 | --base-font-lg: 19px;
|
25 | --base-font-xl: 20px;
|
26 | --h1-size: 2rem;
|
27 | --h2-size: 1.75rem;
|
28 | --h3-size: 1.5rem;
|
29 | --h4-size: 1.25rem;
|
30 | --h5-size: 1.125rem;
|
31 | --h6-size: 1rem;
|
32 | --block-round: .25rem;
|
33 | --form-element-border-width: 1px;
|
34 | --form-element-outline-width: 3px;
|
35 | --checkbox-radio-border-width: 2px;
|
36 | --switch-border-width: 3px;
|
37 | --form-element-spacing-vertical: .75rem;
|
38 | --form-element-spacing-horizontal: 1rem;
|
39 | --button-round: var(--block-round);
|
40 | --button-border-width: var(--form-element-border-width);
|
41 | --button-outline-width: var(--form-element-outline-width);
|
42 | --button-spacing-vertical: var(--form-element-spacing-vertical);
|
43 | --button-spacing-horizontal: var(--form-element-spacing-horizontal);
|
44 | --spacing-gutter: 1rem;
|
45 | --spacing-block: 2rem;
|
46 | --spacing-factor-xs: 1;
|
47 | --spacing-factor-sm: 1.25;
|
48 | --spacing-factor-md: 1.5;
|
49 | --spacing-factor-lg: 1.75;
|
50 | --spacing-factor-xl: 2;
|
51 | --spacing-typography: 1.5rem;
|
52 | --spacing-form-element: .25rem;
|
53 | --transition: .2s ease-in-out;
|
54 | }
|
55 |
|
56 | :root {
|
57 | --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(115, 130, 140, 0.999)' opacity='0.66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
|
58 | --icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(115, 130, 140, 0.999)' opacity='0.66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
|
59 | --icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(115, 130, 140, 0.999)' opacity='0.66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
|
60 | --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(115, 130, 140, 0.999)' opacity='0.66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
|
61 | --icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
|
62 | --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFF' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
|
63 | --icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(40, 138, 106, 0.999)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
|
64 | --icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(185, 70, 70, 0.999)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
|
65 | }
|
66 |
|
67 | [data-theme="light"],
|
68 | :root:not([data-theme="dark"]) {
|
69 | --background: #FFF;
|
70 | --text: #415462;
|
71 | --h1: #1b2832;
|
72 | --h2: #2c3d49;
|
73 | --h3: #415462;
|
74 | --h4: #596b78;
|
75 | --h5: #73828c;
|
76 | --h6: #8a99a3;
|
77 | --primary: #1095c1;
|
78 | --primary-border: var(--primary);
|
79 | --primary-hover: #08769b;
|
80 | --primary-hover-border: var(--primary-hover);
|
81 | --primary-focus: rgba(16, 149, 193, 0.125);
|
82 | --primary-inverse: #FFF;
|
83 | --secondary: #73828c;
|
84 | --secondary-border: var(--secondary);
|
85 | --secondary-hover: #415462;
|
86 | --secondary-hover-border: var(--secondary-hover);
|
87 | --secondary-focus: rgba(115, 130, 140, 0.125);
|
88 | --secondary-inverse: #FFF;
|
89 | --contrast: #2c3d49;
|
90 | --contrast-border: var(--contrast);
|
91 | --contrast-hover: #0d1419;
|
92 | --contrast-hover-border: var(--contrast-hover);
|
93 | --contrast-focus: rgba(115, 130, 140, 0.125);
|
94 | --contrast-inverse: #FFF;
|
95 | --input-background: #FFF;
|
96 | --input-border: #c8d1d8;
|
97 | --input-hover-background: var(--input-background);
|
98 | --input-hover-border: var(--primary);
|
99 | --input-focus: var(--primary-focus);
|
100 | --input-inverse: var(--primary-inverse);
|
101 | --button-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
|
102 | --button-hover-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
|
103 | --valid: #288a6a;
|
104 | --invalid: #b94646;
|
105 | --mark: rgba(255, 223, 128, 0.33);
|
106 | --mark-text: #2c3d49;
|
107 | --muted-text: #7e8d98;
|
108 | --muted-background: #edf0f3;
|
109 | --muted-border: #edf0f3;
|
110 | --card-background: #FFF;
|
111 | --card-sections: #f3f5f7;
|
112 | --card-shadow: 0 0.125rem 1rem rgba(27, 40, 50, 0.04), 0 0.125rem 2rem rgba(27, 40, 50, 0.08), 0 0 0 0.0625rem rgba(27, 40, 50, 0.024);
|
113 | --code-background: #f3f5f7;
|
114 | --code-inlined: #edf0f3;
|
115 | --code-color-1: #73828c;
|
116 | --code-color-2: #b34d80;
|
117 | --code-color-3: #3d888f;
|
118 | --code-color-4: #998866;
|
119 | --code-color-5: #96a4ae;
|
120 | --table-border: rgba(237, 240, 243, 0.75);
|
121 | --table-stripping: rgba(115, 130, 140, 0.075);
|
122 | }
|
123 |
|
124 | @media only screen and (prefers-color-scheme: dark) {
|
125 | :root:not([data-theme="light"]) {
|
126 | --background: #10181e;
|
127 | --text: #a2afb9;
|
128 | --h1: #edf0f3;
|
129 | --h2: #d5dce2;
|
130 | --h3: #bbc6ce;
|
131 | --h4: #a2afb9;
|
132 | --h5: #8a99a3;
|
133 | --h6: #73828c;
|
134 | --primary: #1095c1;
|
135 | --primary-border: var(--primary);
|
136 | --primary-hover: #1ab3e6;
|
137 | --primary-hover-border: var(--primary-hover);
|
138 | --primary-focus: rgba(16, 149, 193, 0.25);
|
139 | --primary-inverse: #FFF;
|
140 | --secondary: #596b78;
|
141 | --secondary-border: var(--secondary);
|
142 | --secondary-hover: #73828c;
|
143 | --secondary-hover-border: var(--secondary-hover);
|
144 | --secondary-focus: rgba(89, 107, 120, 0.25);
|
145 | --secondary-inverse: #FFF;
|
146 | --contrast: #d5dce2;
|
147 | --contrast-border: var(--contrast);
|
148 | --contrast-hover: #FFF;
|
149 | --contrast-hover-border: var(--contrast-hover);
|
150 | --contrast-focus: rgba(89, 107, 120, 0.25);
|
151 | --contrast-inverse: #10181e;
|
152 | --input-background: #10181e;
|
153 | --input-border: #374956;
|
154 | --input-hover-background: var(--input-background);
|
155 | --input-hover-border: var(--primary);
|
156 | --input-focus: var(--primary-focus);
|
157 | --input-inverse: var(--primary-inverse);
|
158 | --button-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
|
159 | --button-hover-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
|
160 | --valid: #1f7a5c;
|
161 | --invalid: #943838;
|
162 | --mark: rgba(255, 223, 128, 0.1875);
|
163 | --mark-text: #FFF;
|
164 | --muted-text: #73828c;
|
165 | --muted-background: #23333e;
|
166 | --muted-border: #23333e;
|
167 | --card-background: #17232b;
|
168 | --card-sections: #141d24;
|
169 | --card-shadow: 0 0.125rem 1rem rgba(0, 0, 0, 0.08), 0 0.125rem 2rem rgba(0, 0, 0, 0.04), 0 0 0 0.0625rem rgba(0, 0, 0, 0.1);
|
170 | --code-background: #141d24;
|
171 | --code-inlined: rgba(65, 84, 98, 0.25);
|
172 | --code-color-1: #73828c;
|
173 | --code-color-2: #a65980;
|
174 | --code-color-3: #599fa6;
|
175 | --code-color-4: #8c8473;
|
176 | --code-color-5: #4d606d;
|
177 | --table-border: rgba(115, 130, 140, 0.075);
|
178 | --table-stripping: rgba(115, 130, 140, 0.05);
|
179 | }
|
180 | }
|
181 |
|
182 | [data-theme="dark"] {
|
183 | --background: #10181e;
|
184 | --text: #a2afb9;
|
185 | --h1: #edf0f3;
|
186 | --h2: #d5dce2;
|
187 | --h3: #bbc6ce;
|
188 | --h4: #a2afb9;
|
189 | --h5: #8a99a3;
|
190 | --h6: #73828c;
|
191 | --primary: #1095c1;
|
192 | --primary-border: var(--primary);
|
193 | --primary-hover: #1ab3e6;
|
194 | --primary-hover-border: var(--primary-hover);
|
195 | --primary-focus: rgba(16, 149, 193, 0.25);
|
196 | --primary-inverse: #FFF;
|
197 | --secondary: #596b78;
|
198 | --secondary-border: var(--secondary);
|
199 | --secondary-hover: #73828c;
|
200 | --secondary-hover-border: var(--secondary-hover);
|
201 | --secondary-focus: rgba(89, 107, 120, 0.25);
|
202 | --secondary-inverse: #FFF;
|
203 | --contrast: #d5dce2;
|
204 | --contrast-border: var(--contrast);
|
205 | --contrast-hover: #FFF;
|
206 | --contrast-hover-border: var(--contrast-hover);
|
207 | --contrast-focus: rgba(89, 107, 120, 0.25);
|
208 | --contrast-inverse: #10181e;
|
209 | --input-background: #10181e;
|
210 | --input-border: #374956;
|
211 | --input-hover-background: var(--input-background);
|
212 | --input-hover-border: var(--primary);
|
213 | --input-focus: var(--primary-focus);
|
214 | --input-inverse: var(--primary-inverse);
|
215 | --button-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
|
216 | --button-hover-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
|
217 | --valid: #1f7a5c;
|
218 | --invalid: #943838;
|
219 | --mark: rgba(255, 223, 128, 0.1875);
|
220 | --mark-text: #FFF;
|
221 | --muted-text: #73828c;
|
222 | --muted-background: #23333e;
|
223 | --muted-border: #23333e;
|
224 | --card-background: #17232b;
|
225 | --card-sections: #141d24;
|
226 | --card-shadow: 0 0.125rem 1rem rgba(0, 0, 0, 0.08), 0 0.125rem 2rem rgba(0, 0, 0, 0.04), 0 0 0 0.0625rem rgba(0, 0, 0, 0.1);
|
227 | --code-background: #141d24;
|
228 | --code-inlined: rgba(65, 84, 98, 0.25);
|
229 | --code-color-1: #73828c;
|
230 | --code-color-2: #a65980;
|
231 | --code-color-3: #599fa6;
|
232 | --code-color-4: #8c8473;
|
233 | --code-color-5: #4d606d;
|
234 | --table-border: rgba(115, 130, 140, 0.075);
|
235 | --table-stripping: rgba(115, 130, 140, 0.05);
|
236 | }
|
237 |
|
238 |
|
239 |
|
240 |
|
241 |
|
242 | *,
|
243 | *::before,
|
244 | *::after {
|
245 | box-sizing: border-box;
|
246 | }
|
247 |
|
248 | ::before,
|
249 | ::after {
|
250 | text-decoration: inherit;
|
251 | vertical-align: inherit;
|
252 | }
|
253 |
|
254 | html {
|
255 | -webkit-text-size-adjust: 100%;
|
256 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
257 | -moz-tab-size: 4;
|
258 | -ms-text-size-adjust: 100%;
|
259 | -webkit-text-size-adjust: 100%;
|
260 | background: var(--background);
|
261 | color: var(--text);
|
262 | font-family: var(--text-font);
|
263 | font-size: var(--base-font-xs);
|
264 | font-weight: var(--text-weight);
|
265 | line-height: var(--line-height);
|
266 | text-rendering: optimizeLegibility;
|
267 | cursor: default;
|
268 | }
|
269 |
|
270 | @media (min-width: 576px) {
|
271 | html {
|
272 | font-size: var(--base-font-sm);
|
273 | }
|
274 | }
|
275 |
|
276 | @media (min-width: 768px) {
|
277 | html {
|
278 | font-size: var(--base-font-md);
|
279 | }
|
280 | }
|
281 |
|
282 | @media (min-width: 992px) {
|
283 | html {
|
284 | font-size: var(--base-font-lg);
|
285 | }
|
286 | }
|
287 |
|
288 | @media (min-width: 1200px) {
|
289 | html {
|
290 | font-size: var(--base-font-xl);
|
291 | }
|
292 | }
|
293 |
|
294 |
|
295 |
|
296 |
|
297 |
|
298 | main {
|
299 | display: block;
|
300 | }
|
301 |
|
302 | body {
|
303 | width: 100%;
|
304 | margin: 0;
|
305 | }
|
306 |
|
307 | body > header,
|
308 | body > main,
|
309 | body > footer {
|
310 | width: 100%;
|
311 | margin-right: auto;
|
312 | margin-left: auto;
|
313 | padding: var(--spacing-block) 0;
|
314 | }
|
315 |
|
316 |
|
317 |
|
318 |
|
319 | .container,
|
320 | .container-fluid {
|
321 | width: 100%;
|
322 | margin-right: auto;
|
323 | margin-left: auto;
|
324 | padding-right: var(--spacing-gutter);
|
325 | padding-left: var(--spacing-gutter);
|
326 | }
|
327 |
|
328 | @media (min-width: 576px) {
|
329 | .container {
|
330 | max-width: 510px;
|
331 | padding-right: 0;
|
332 | padding-left: 0;
|
333 | }
|
334 | }
|
335 |
|
336 | @media (min-width: 768px) {
|
337 | .container {
|
338 | max-width: 700px;
|
339 | }
|
340 | }
|
341 |
|
342 | @media (min-width: 992px) {
|
343 | .container {
|
344 | max-width: 920px;
|
345 | }
|
346 | }
|
347 |
|
348 | @media (min-width: 1200px) {
|
349 | .container {
|
350 | max-width: 1130px;
|
351 | }
|
352 | }
|
353 |
|
354 |
|
355 |
|
356 |
|
357 |
|
358 | .grid {
|
359 | grid-column-gap: var(--spacing-gutter);
|
360 | grid-row-gap: var(--spacing-gutter);
|
361 | display: grid;
|
362 | grid-template-columns: 1fr;
|
363 | margin: 0;
|
364 | }
|
365 |
|
366 | @media (min-width: 992px) {
|
367 | .grid {
|
368 | grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
|
369 | }
|
370 | }
|
371 |
|
372 | .grid > * {
|
373 | min-width: 0;
|
374 | }
|
375 |
|
376 |
|
377 |
|
378 |
|
379 | figure {
|
380 | display: block;
|
381 | margin: 0;
|
382 | padding: 0;
|
383 | overflow-x: auto;
|
384 | }
|
385 |
|
386 | figure figcaption {
|
387 | padding: calc(var(--spacing-gutter) / 2) 0;
|
388 | color: var(--muted-text);
|
389 | }
|
390 |
|
391 |
|
392 |
|
393 |
|
394 | b,
|
395 | strong {
|
396 | font-weight: bolder;
|
397 | }
|
398 |
|
399 | sub,
|
400 | sup {
|
401 | position: relative;
|
402 | font-size: .75rem;
|
403 | line-height: 0;
|
404 | vertical-align: baseline;
|
405 | }
|
406 |
|
407 | sub {
|
408 | bottom: -0.25rem;
|
409 | }
|
410 |
|
411 | sup {
|
412 | top: -0.5rem;
|
413 | }
|
414 |
|
415 | dl dl,
|
416 | dl ol,
|
417 | dl ul,
|
418 | ol dl,
|
419 | ul dl {
|
420 | margin: 0;
|
421 | }
|
422 |
|
423 | ol ol,
|
424 | ol ul,
|
425 | ul ol,
|
426 | ul ul {
|
427 | margin: 0;
|
428 | }
|
429 |
|
430 | address,
|
431 | blockquote,
|
432 | dl,
|
433 | figure,
|
434 | form,
|
435 | ol,
|
436 | p,
|
437 | pre,
|
438 | table,
|
439 | ul {
|
440 | margin-top: 0;
|
441 | margin-bottom: var(--spacing-typography);
|
442 | color: var(--text);
|
443 | font-size: 1rem;
|
444 | font-style: normal;
|
445 | }
|
446 |
|
447 | a {
|
448 | background-color: transparent;
|
449 | color: var(--primary);
|
450 | text-decoration: none;
|
451 | }
|
452 |
|
453 | a:hover, a:active, a:focus {
|
454 | color: var(--primary-hover);
|
455 | text-decoration: underline;
|
456 | }
|
457 |
|
458 | a:focus {
|
459 | outline: none;
|
460 | background-color: var(--primary-focus);
|
461 | }
|
462 |
|
463 | a.secondary {
|
464 | color: var(--secondary);
|
465 | text-decoration: underline;
|
466 | }
|
467 |
|
468 | a.secondary:hover, a.secondary:active, a.secondary:focus {
|
469 | color: var(--secondary-hover);
|
470 | }
|
471 |
|
472 | a.secondary:focus {
|
473 | background-color: var(--secondary-focus);
|
474 | }
|
475 |
|
476 | a.contrast {
|
477 | color: var(--contrast);
|
478 | text-decoration: underline;
|
479 | }
|
480 |
|
481 | a.contrast:hover, a.contrast:active, a.contrast:focus {
|
482 | color: var(--contrast-hover);
|
483 | }
|
484 |
|
485 | a.contrast:focus {
|
486 | background-color: var(--contrast-focus);
|
487 | }
|
488 |
|
489 | h1,
|
490 | h2,
|
491 | h3,
|
492 | h4,
|
493 | h5,
|
494 | h6 {
|
495 | margin-top: 0;
|
496 | margin-bottom: var(--spacing-typography);
|
497 | font-family: var(--titles-font);
|
498 | font-weight: var(--titles-weight);
|
499 | }
|
500 |
|
501 | h1 {
|
502 | margin-bottom: calc(var(--spacing-typography) * 2);
|
503 | color: var(--h1);
|
504 | font-size: var(--h1-size);
|
505 | }
|
506 |
|
507 | h2 {
|
508 | margin-bottom: calc(var(--spacing-typography) * 1.75);
|
509 | color: var(--h2);
|
510 | font-size: var(--h2-size);
|
511 | }
|
512 |
|
513 | h3 {
|
514 | margin-bottom: calc(var(--spacing-typography) * 1.5);
|
515 | color: var(--h3);
|
516 | font-size: var(--h3-size);
|
517 | }
|
518 |
|
519 | h4 {
|
520 | margin-bottom: calc(var(--spacing-typography) * 1.25);
|
521 | color: var(--h4);
|
522 | font-size: var(--h4-size);
|
523 | }
|
524 |
|
525 | h5 {
|
526 | margin-bottom: calc(var(--spacing-typography) * 1.125);
|
527 | color: var(--h5);
|
528 | font-size: var(--h5-size);
|
529 | }
|
530 |
|
531 | h6 {
|
532 | color: var(--h6);
|
533 | font-size: var(--h6-size);
|
534 | }
|
535 |
|
536 | address ~ h1,
|
537 | blockquote ~ h1,
|
538 | dl ~ h1,
|
539 | figure ~ h1,
|
540 | form ~ h1,
|
541 | ol ~ h1,
|
542 | p ~ h1,
|
543 | pre ~ h1,
|
544 | table ~ h1,
|
545 | ul ~ h1 {
|
546 | margin-top: calc(var(--spacing-typography) * 2);
|
547 | }
|
548 |
|
549 | address ~ h2,
|
550 | blockquote ~ h2,
|
551 | dl ~ h2,
|
552 | figure ~ h2,
|
553 | form ~ h2,
|
554 | ol ~ h2,
|
555 | p ~ h2,
|
556 | pre ~ h2,
|
557 | table ~ h2,
|
558 | ul ~ h2 {
|
559 | margin-top: calc(var(--spacing-typography) * 1.75);
|
560 | }
|
561 |
|
562 | address ~ h3,
|
563 | blockquote ~ h3,
|
564 | dl ~ h3,
|
565 | figure ~ h3,
|
566 | form ~ h3,
|
567 | ol ~ h3,
|
568 | p ~ h3,
|
569 | pre ~ h3,
|
570 | table ~ h3,
|
571 | ul ~ h3 {
|
572 | margin-top: calc(var(--spacing-typography) * 1.5);
|
573 | }
|
574 |
|
575 | address ~ h4,
|
576 | blockquote ~ h4,
|
577 | dl ~ h4,
|
578 | figure ~ h4,
|
579 | form ~ h4,
|
580 | ol ~ h4,
|
581 | p ~ h4,
|
582 | pre ~ h4,
|
583 | table ~ h4,
|
584 | ul ~ h4 {
|
585 | margin-top: calc(var(--spacing-typography) * 1.25);
|
586 | }
|
587 |
|
588 | address ~ h5,
|
589 | blockquote ~ h5,
|
590 | dl ~ h5,
|
591 | figure ~ h5,
|
592 | form ~ h5,
|
593 | ol ~ h5,
|
594 | p ~ h5,
|
595 | pre ~ h5,
|
596 | table ~ h5,
|
597 | ul ~ h5 {
|
598 | margin-top: calc(var(--spacing-typography) * 1.125);
|
599 | }
|
600 |
|
601 | address ~ h6,
|
602 | blockquote ~ h6,
|
603 | dl ~ h6,
|
604 | figure ~ h6,
|
605 | form ~ h6,
|
606 | ol ~ h6,
|
607 | p ~ h6,
|
608 | pre ~ h6,
|
609 | table ~ h6,
|
610 | ul ~ h6 {
|
611 | margin-top: calc(var(--spacing-typography));
|
612 | }
|
613 |
|
614 | hgroup {
|
615 | margin-bottom: var(--spacing-typography);
|
616 | }
|
617 |
|
618 | hgroup * {
|
619 | margin-bottom: 0;
|
620 | }
|
621 |
|
622 | hgroup > *:last-child {
|
623 | color: var(--muted-text);
|
624 | font-family: unset;
|
625 | font-size: 1.125rem;
|
626 | font-weight: unset;
|
627 | }
|
628 |
|
629 | p {
|
630 | margin-bottom: var(--spacing-typography);
|
631 | }
|
632 |
|
633 | small {
|
634 | font-size: 85%;
|
635 | }
|
636 |
|
637 | @media (min-width: 576px) {
|
638 | small {
|
639 | font-size: 83%;
|
640 | }
|
641 | }
|
642 |
|
643 | @media (min-width: 768px) {
|
644 | small {
|
645 | font-size: 81%;
|
646 | }
|
647 | }
|
648 |
|
649 | @media (min-width: 992px) {
|
650 | small {
|
651 | font-size: 79%;
|
652 | }
|
653 | }
|
654 |
|
655 | @media (min-width: 1200px) {
|
656 | small {
|
657 | font-size: 77%;
|
658 | }
|
659 | }
|
660 |
|
661 | ul,
|
662 | ol {
|
663 | padding-left: var(--spacing-typography);
|
664 | }
|
665 |
|
666 | ul li,
|
667 | ol li {
|
668 | margin-bottom: calc(var(--spacing-typography) / 4);
|
669 | }
|
670 |
|
671 | ul li {
|
672 | list-style: square;
|
673 | }
|
674 |
|
675 | mark {
|
676 | padding: .125rem .25rem;
|
677 | background: var(--mark);
|
678 | color: var(--mark-text);
|
679 | vertical-align: middle;
|
680 | }
|
681 |
|
682 | blockquote {
|
683 | display: block;
|
684 | margin: var(--spacing-typography) 0;
|
685 | padding: var(--spacing-gutter);
|
686 | border-left: 0.25rem solid var(--muted-border);
|
687 | }
|
688 |
|
689 | blockquote footer {
|
690 | margin-top: calc(var(--spacing-typography) / 2);
|
691 | color: var(--muted-text);
|
692 | }
|
693 |
|
694 | abbr[title] {
|
695 | border-bottom: 1px dotted;
|
696 | text-decoration: none;
|
697 | cursor: help;
|
698 | }
|
699 |
|
700 | ins {
|
701 | color: var(--valid);
|
702 | text-decoration: none;
|
703 | }
|
704 |
|
705 | del {
|
706 | color: var(--invalid);
|
707 | }
|
708 |
|
709 | ::selection {
|
710 | background-color: var(--primary-focus);
|
711 | }
|
712 |
|
713 |
|
714 |
|
715 |
|
716 | audio,
|
717 | canvas,
|
718 | iframe,
|
719 | img,
|
720 | svg,
|
721 | video {
|
722 | vertical-align: middle;
|
723 | }
|
724 |
|
725 | audio,
|
726 | video {
|
727 | display: inline-block;
|
728 | }
|
729 |
|
730 | audio:not([controls]) {
|
731 | display: none;
|
732 | height: 0;
|
733 | }
|
734 |
|
735 | iframe {
|
736 | border-style: none;
|
737 | }
|
738 |
|
739 | img {
|
740 | max-width: 100%;
|
741 | height: auto;
|
742 | border-style: none;
|
743 | }
|
744 |
|
745 | svg:not([fill]) {
|
746 | fill: currentColor;
|
747 | }
|
748 |
|
749 | svg:not(:root) {
|
750 | overflow: hidden;
|
751 | }
|
752 |
|
753 |
|
754 |
|
755 |
|
756 | button {
|
757 | margin: 0;
|
758 | overflow: visible;
|
759 | font-family: inherit;
|
760 | text-transform: none;
|
761 | }
|
762 |
|
763 | button,
|
764 | [type="button"],
|
765 | [type="reset"],
|
766 | [type="submit"] {
|
767 | -webkit-appearance: button;
|
768 | }
|
769 |
|
770 | button::-moz-focus-inner,
|
771 | [type="button"]::-moz-focus-inner,
|
772 | [type="reset"]::-moz-focus-inner,
|
773 | [type="submit"]::-moz-focus-inner {
|
774 | padding: 0;
|
775 | border-style: none;
|
776 | }
|
777 |
|
778 | button {
|
779 | display: block;
|
780 | width: 100%;
|
781 | margin-bottom: var(--spacing-typography);
|
782 | }
|
783 |
|
784 | a[role="button"] {
|
785 | display: inline-block;
|
786 | text-decoration: none;
|
787 | }
|
788 |
|
789 | button,
|
790 | input[type="submit"],
|
791 | input[type="button"],
|
792 | input[type="reset"],
|
793 | [type="file"]::-webkit-file-upload-button,
|
794 | a[role="button"] {
|
795 | padding: var(--button-spacing-vertical) var(--button-spacing-horizontal);
|
796 | border: var(--button-border-width) solid var(--primary-border);
|
797 | border-radius: var(--button-round);
|
798 | outline: none;
|
799 | background-color: var(--primary);
|
800 | box-shadow: var(--button-shadow);
|
801 | color: var(--primary-inverse);
|
802 | font-size: 1rem;
|
803 | font-weight: var(--buttons-weight);
|
804 | line-height: var(--line-height);
|
805 | text-align: center;
|
806 | cursor: pointer;
|
807 | }
|
808 |
|
809 | button:hover, button:active, button:focus,
|
810 | input[type="submit"]:hover,
|
811 | input[type="submit"]:active,
|
812 | input[type="submit"]:focus,
|
813 | input[type="button"]:hover,
|
814 | input[type="button"]:active,
|
815 | input[type="button"]:focus,
|
816 | input[type="reset"]:hover,
|
817 | input[type="reset"]:active,
|
818 | input[type="reset"]:focus,
|
819 | [type="file"]::-webkit-file-upload-button:hover,
|
820 | [type="file"]::-webkit-file-upload-button:active,
|
821 | [type="file"]::-webkit-file-upload-button:focus,
|
822 | a[role="button"]:hover,
|
823 | a[role="button"]:active,
|
824 | a[role="button"]:focus {
|
825 | border-color: var(--primary-hover-border);
|
826 | background-color: var(--primary-hover);
|
827 | box-shadow: var(--button-hover-shadow);
|
828 | }
|
829 |
|
830 | button:focus,
|
831 | input[type="submit"]:focus,
|
832 | input[type="button"]:focus,
|
833 | input[type="reset"]:focus,
|
834 | [type="file"]::-webkit-file-upload-button:focus,
|
835 | a[role="button"]:focus {
|
836 | box-shadow: var(--button-hover-shadow), 0 0 0 var(--button-outline-width) var(--primary-focus);
|
837 | }
|
838 |
|
839 | input[type="reset"] {
|
840 | cursor: pointer;
|
841 | }
|
842 |
|
843 | button[disabled],
|
844 | input[type="submit"][disabled],
|
845 | input[type="button"][disabled],
|
846 | input[type="reset"][disabled],
|
847 | a[role="button"][disabled] {
|
848 | opacity: .5;
|
849 | pointer-events: none;
|
850 | }
|
851 |
|
852 |
|
853 |
|
854 |
|
855 | input,
|
856 | optgroup,
|
857 | select,
|
858 | textarea {
|
859 | margin: 0;
|
860 | font-family: inherit;
|
861 | font-size: 1rem;
|
862 | letter-spacing: inherit;
|
863 | line-height: var(--line-height);
|
864 | }
|
865 |
|
866 | input {
|
867 | overflow: visible;
|
868 | }
|
869 |
|
870 | select {
|
871 | text-transform: none;
|
872 | }
|
873 |
|
874 | legend {
|
875 | max-width: 100%;
|
876 | padding: 0;
|
877 | color: inherit;
|
878 | white-space: normal;
|
879 | }
|
880 |
|
881 | textarea {
|
882 | margin: 0;
|
883 | overflow: auto;
|
884 | resize: vertical;
|
885 | resize: block;
|
886 | }
|
887 |
|
888 | [type="checkbox"],
|
889 | [type="radio"] {
|
890 | padding: 0;
|
891 | }
|
892 |
|
893 | ::-webkit-inner-spin-button,
|
894 | ::-webkit-outer-spin-button {
|
895 | height: auto;
|
896 | }
|
897 |
|
898 | [type="search"] {
|
899 | -webkit-appearance: textfield;
|
900 | outline-offset: -2px;
|
901 | }
|
902 |
|
903 | [type="search"]::-webkit-search-decoration {
|
904 | -webkit-appearance: none;
|
905 | }
|
906 |
|
907 | ::-webkit-file-upload-button {
|
908 | -webkit-appearance: button;
|
909 | font: inherit;
|
910 | }
|
911 |
|
912 | ::-moz-focus-inner {
|
913 | padding: 0;
|
914 | border-style: none;
|
915 | }
|
916 |
|
917 | :-moz-focusring {
|
918 | outline: 1px dotted ButtonText;
|
919 | }
|
920 |
|
921 | :-moz-ui-invalid {
|
922 | box-shadow: none;
|
923 | }
|
924 |
|
925 | ::-ms-expand {
|
926 | display: none;
|
927 | }
|
928 |
|
929 | [type="file"],
|
930 | [type="range"] {
|
931 | padding: 0;
|
932 | border-width: 0;
|
933 | }
|
934 |
|
935 | input:not([type="checkbox"]):not([type="radio"]):not([type="range"]) {
|
936 | height: calc( (1rem * var(--line-height)) + (var(--form-element-spacing-vertical) * 2) + (var(--form-element-border-width) * 2));
|
937 | }
|
938 |
|
939 | fieldset {
|
940 | margin: 0;
|
941 | margin-bottom: var(--spacing-typography);
|
942 | padding: 0;
|
943 | border: 0;
|
944 | }
|
945 |
|
946 | label,
|
947 | fieldset legend {
|
948 | display: block;
|
949 | margin-bottom: var(--spacing-form-element);
|
950 | vertical-align: middle;
|
951 | }
|
952 |
|
953 | input:not([type="checkbox"]):not([type="radio"]),
|
954 | select,
|
955 | textarea,
|
956 | form small {
|
957 | display: block;
|
958 | width: 100%;
|
959 | }
|
960 |
|
961 | input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
|
962 | select,
|
963 | textarea {
|
964 | -webkit-appearance: none;
|
965 | -moz-appearance: none;
|
966 | appearance: none;
|
967 | padding: var(--form-element-spacing-vertical) var(--form-element-spacing-horizontal);
|
968 | vertical-align: middle;
|
969 | }
|
970 |
|
971 | input,
|
972 | select,
|
973 | textarea {
|
974 | border: var(--form-element-border-width) solid var(--input-border);
|
975 | border-radius: var(--block-round);
|
976 | outline: none;
|
977 | background-color: var(--input-background);
|
978 | color: var(--text);
|
979 | font-weight: var(--form-element-weight);
|
980 | }
|
981 |
|
982 | input::placeholder, input::-webkit-input-placeholder,
|
983 | select::placeholder,
|
984 | select::-webkit-input-placeholder,
|
985 | textarea::placeholder,
|
986 | textarea::-webkit-input-placeholder {
|
987 | color: var(--muted-text);
|
988 | opacity: 1;
|
989 | }
|
990 |
|
991 | input:active, input:focus,
|
992 | select:active,
|
993 | select:focus,
|
994 | textarea:active,
|
995 | textarea:focus {
|
996 | border-color: var(--input-hover-border);
|
997 | background-color: var(--input-hover-background);
|
998 | }
|
999 |
|
1000 | input[readonly], input[disabled],
|
1001 | select[readonly],
|
1002 | select[disabled],
|
1003 | textarea[readonly],
|
1004 | textarea[disabled] {
|
1005 | border-color: var(--muted-border);
|
1006 | box-shadow: none;
|
1007 | }
|
1008 |
|
1009 | input[readonly] ~ label, input[disabled] ~ label,
|
1010 | select[readonly] ~ label,
|
1011 | select[disabled] ~ label,
|
1012 | textarea[readonly] ~ label,
|
1013 | textarea[disabled] ~ label {
|
1014 | color: var(--muted-text);
|
1015 | }
|
1016 |
|
1017 | input[readonly]:active, input[readonly]:focus, input[disabled]:active, input[disabled]:focus,
|
1018 | select[readonly]:active,
|
1019 | select[readonly]:focus,
|
1020 | select[disabled]:active,
|
1021 | select[disabled]:focus,
|
1022 | textarea[readonly]:active,
|
1023 | textarea[readonly]:focus,
|
1024 | textarea[disabled]:active,
|
1025 | textarea[disabled]:focus {
|
1026 | box-shadow: none;
|
1027 | }
|
1028 |
|
1029 | input[disabled]:not([type="reset"]):not([type="submit"]):not([type="button"]),
|
1030 | select[disabled]:not([type="reset"]):not([type="submit"]):not([type="button"]),
|
1031 | textarea[disabled]:not([type="reset"]):not([type="submit"]):not([type="button"]) {
|
1032 | background-color: var(--muted-background);
|
1033 | }
|
1034 |
|
1035 | input[disabled],
|
1036 | select[disabled],
|
1037 | textarea[disabled] {
|
1038 | opacity: .66;
|
1039 | }
|
1040 |
|
1041 | input .valid,
|
1042 | input .invalid, input[aria-invalid],
|
1043 | select .valid,
|
1044 | select .invalid,
|
1045 | select[aria-invalid],
|
1046 | textarea .valid,
|
1047 | textarea .invalid,
|
1048 | textarea[aria-invalid] {
|
1049 | padding-right: 2rem;
|
1050 | background-position: center right .75rem;
|
1051 | background-repeat: no-repeat;
|
1052 | background-size: 1rem auto;
|
1053 | }
|
1054 |
|
1055 | input .valid, input[aria-invalid="false"],
|
1056 | select .valid,
|
1057 | select[aria-invalid="false"],
|
1058 | textarea .valid,
|
1059 | textarea[aria-invalid="false"] {
|
1060 | background-image: var(--icon-valid);
|
1061 | }
|
1062 |
|
1063 | input .invalid, input[aria-invalid="true"],
|
1064 | select .invalid,
|
1065 | select[aria-invalid="true"],
|
1066 | textarea .invalid,
|
1067 | textarea[aria-invalid="true"] {
|
1068 | background-image: var(--icon-invalid);
|
1069 | }
|
1070 |
|
1071 | input:not([type="checkbox"]):not([type="radio"]),
|
1072 | select,
|
1073 | textarea {
|
1074 | margin-bottom: var(--spacing-typography);
|
1075 | }
|
1076 |
|
1077 | input:not([type="range"]):not([type="file"]):focus,
|
1078 | select:focus,
|
1079 | textarea:focus {
|
1080 | box-shadow: 0 0 0 var(--form-element-outline-width) var(--input-focus);
|
1081 | }
|
1082 |
|
1083 | select::-ms-expand {
|
1084 | border: 0;
|
1085 | background-color: transparent;
|
1086 | }
|
1087 |
|
1088 | select:not([multiple]):not([size]) {
|
1089 | padding-right: calc(var(--form-element-spacing-horizontal) + 1.5rem);
|
1090 | background-image: var(--icon-chevron);
|
1091 | background-position: center right .75rem;
|
1092 | background-repeat: no-repeat;
|
1093 | background-size: 1rem auto;
|
1094 | }
|
1095 |
|
1096 | form small {
|
1097 | color: var(--muted-text);
|
1098 | }
|
1099 |
|
1100 | input + small,
|
1101 | select + small,
|
1102 | textarea + small {
|
1103 | margin-top: calc(var(--spacing-typography) * -0.75);
|
1104 | margin-bottom: var(--spacing-typography);
|
1105 | }
|
1106 |
|
1107 | label > input,
|
1108 | label > select,
|
1109 | label > textarea {
|
1110 | margin-top: var(--spacing-form-element);
|
1111 | }
|
1112 |
|
1113 |
|
1114 |
|
1115 |
|
1116 | table {
|
1117 | width: 100%;
|
1118 | border-color: inherit;
|
1119 | border-collapse: collapse;
|
1120 | border-spacing: 0;
|
1121 | text-indent: 0;
|
1122 | }
|
1123 |
|
1124 | th,
|
1125 | td {
|
1126 | padding: calc(var(--spacing-gutter) / 2) var(--spacing-gutter);
|
1127 | border-bottom: 1px solid var(--table-border);
|
1128 | color: var(--muted-text);
|
1129 | font-size: 0.875rem;
|
1130 | font-weight: var(--text-weight);
|
1131 | text-align: left;
|
1132 | }
|
1133 |
|
1134 | th,
|
1135 | thead td {
|
1136 | color: var(--text);
|
1137 | font-size: 1rem;
|
1138 | }
|
1139 |
|
1140 | thead th,
|
1141 | thead td {
|
1142 | border-bottom: 3px solid var(--table-border);
|
1143 | }
|
1144 |
|
1145 | table[role="grid"] tbody tr:nth-child(odd) {
|
1146 | background-color: var(--table-stripping);
|
1147 | }
|
1148 |
|
1149 |
|
1150 |
|
1151 |
|
1152 | [aria-busy="true"] {
|
1153 | cursor: progress;
|
1154 | }
|
1155 |
|
1156 | [aria-controls] {
|
1157 | cursor: pointer;
|
1158 | }
|
1159 |
|
1160 | [aria-disabled="true"],
|
1161 | [disabled] {
|
1162 | cursor: not-allowed;
|
1163 | }
|
1164 |
|
1165 | [aria-hidden="false"][hidden] {
|
1166 | display: initial;
|
1167 | }
|
1168 |
|
1169 | [aria-hidden="false"][hidden]:not(:focus) {
|
1170 | clip: rect(0, 0, 0, 0);
|
1171 | position: absolute;
|
1172 | }
|
1173 |
|
1174 | a,
|
1175 | area,
|
1176 | button,
|
1177 | input,
|
1178 | label,
|
1179 | select,
|
1180 | summary,
|
1181 | textarea,
|
1182 | [tabindex] {
|
1183 | -ms-touch-action: manipulation;
|
1184 | }
|