1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | [data-theme="light"],
|
9 | :root:not([data-theme="dark"]) {
|
10 | --background: #FFF;
|
11 | --text: #415462;
|
12 | --h1: #1b2832;
|
13 | --h2: #2c3d49;
|
14 | --h3: #415462;
|
15 | --h4: #596b78;
|
16 | --h5: #73828c;
|
17 | --h6: #8a99a3;
|
18 | --primary: #1095c1;
|
19 | --primary-hover: #08769b;
|
20 | --primary-focus: rgba(16, 149, 193, 0.125);
|
21 | --primary-inverse: #FFF;
|
22 | --secondary: #73828c;
|
23 | --secondary-hover: #415462;
|
24 | --secondary-focus: rgba(115, 130, 140, 0.125);
|
25 | --secondary-inverse: #FFF;
|
26 | --contrast: #2c3d49;
|
27 | --contrast-hover: #0d1419;
|
28 | --contrast-focus: rgba(115, 130, 140, 0.125);
|
29 | --contrast-border: rgba(255, 223, 128, 0.5);
|
30 | --contrast-border-h: #ffdf80;
|
31 | --contrast-inverse: #FFF;
|
32 | --input-background: #FFF;
|
33 | --input-border: #c8d1d8;
|
34 | --valid: #288a6a;
|
35 | --invalid: #b94646;
|
36 | --mark: rgba(255, 223, 128, 0.5);
|
37 | --mark-text: #2c3d49;
|
38 | --muted-text: #7e8d98;
|
39 | --muted-background: #edf0f3;
|
40 | --muted-border: #edf0f3;
|
41 | --card-background: #FFF;
|
42 | --card-sections: #f3f5f7;
|
43 | --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);
|
44 | --code-background: #f3f5f7;
|
45 | --code-inlined: #edf0f3;
|
46 | --code-color-1: #73828c;
|
47 | --code-color-2: #b34d80;
|
48 | --code-color-3: #3d888f;
|
49 | --code-color-4: #998866;
|
50 | --code-color-5: #96a4ae;
|
51 | --table-border: rgba(237, 240, 243, 0.75);
|
52 | --table-stripping: rgba(115, 130, 140, 0.04);
|
53 | }
|
54 |
|
55 | @media only screen and (prefers-color-scheme: dark) {
|
56 | :root:not([data-theme="light"]) {
|
57 | --background: #10181e;
|
58 | --text: #a2afb9;
|
59 | --h1: #edf0f3;
|
60 | --h2: #d5dce2;
|
61 | --h3: #bbc6ce;
|
62 | --h4: #a2afb9;
|
63 | --h5: #8a99a3;
|
64 | --h6: #73828c;
|
65 | --primary: #1095c1;
|
66 | --primary-hover: #1ab3e6;
|
67 | --primary-focus: rgba(16, 149, 193, 0.25);
|
68 | --primary-inverse: #FFF;
|
69 | --secondary: #596b78;
|
70 | --secondary-hover: #73828c;
|
71 | --secondary-focus: rgba(89, 107, 120, 0.25);
|
72 | --secondary-inverse: #FFF;
|
73 | --contrast: #d5dce2;
|
74 | --contrast-hover: #FFF;
|
75 | --contrast-focus: rgba(89, 107, 120, 0.25);
|
76 | --contrast-border: rgba(255, 223, 128, 0.33);
|
77 | --contrast-border-h: rgba(255, 223, 128, 0.5);
|
78 | --contrast-inverse: #10181e;
|
79 | --input-background: #10181e;
|
80 | --input-border: #374956;
|
81 | --valid: #1f7a5c;
|
82 | --invalid: #943838;
|
83 | --mark: rgba(255, 223, 128, 0.5);
|
84 | --mark-text: #FFF;
|
85 | --muted-text: #73828c;
|
86 | --muted-background: #10181e;
|
87 | --muted-border: #23333e;
|
88 | --card-background: #17232b;
|
89 | --card-sections: #141d24;
|
90 | --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);
|
91 | --code-background: #141d24;
|
92 | --code-inlined: rgba(65, 84, 98, 0.25);
|
93 | --code-color-1: #73828c;
|
94 | --code-color-2: #a65980;
|
95 | --code-color-3: #599fa6;
|
96 | --code-color-4: #8c8473;
|
97 | --code-color-5: #4d606d;
|
98 | --table-border: #10181e;
|
99 | --table-stripping: rgba(115, 130, 140, 0.02);
|
100 | }
|
101 | }
|
102 |
|
103 | [data-theme="dark"] {
|
104 | --background: #10181e;
|
105 | --text: #a2afb9;
|
106 | --h1: #edf0f3;
|
107 | --h2: #d5dce2;
|
108 | --h3: #bbc6ce;
|
109 | --h4: #a2afb9;
|
110 | --h5: #8a99a3;
|
111 | --h6: #73828c;
|
112 | --primary: #1095c1;
|
113 | --primary-hover: #1ab3e6;
|
114 | --primary-focus: rgba(16, 149, 193, 0.25);
|
115 | --primary-inverse: #FFF;
|
116 | --secondary: #596b78;
|
117 | --secondary-hover: #73828c;
|
118 | --secondary-focus: rgba(89, 107, 120, 0.25);
|
119 | --secondary-inverse: #FFF;
|
120 | --contrast: #d5dce2;
|
121 | --contrast-hover: #FFF;
|
122 | --contrast-focus: rgba(89, 107, 120, 0.25);
|
123 | --contrast-border: rgba(255, 223, 128, 0.33);
|
124 | --contrast-inverse: #10181e;
|
125 | --input-background: #10181e;
|
126 | --input-border: #374956;
|
127 | --valid: #1f7a5c;
|
128 | --invalid: #943838;
|
129 | --mark: rgba(255, 223, 128, 0.5);
|
130 | --mark-text: #FFF;
|
131 | --muted-text: #73828c;
|
132 | --muted-background: #10181e;
|
133 | --muted-border: #23333e;
|
134 | --card-background: #17232b;
|
135 | --card-sections: #141d24;
|
136 | --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);
|
137 | --code-background: #141d24;
|
138 | --code-inlined: rgba(65, 84, 98, 0.25);
|
139 | --code-color-1: #73828c;
|
140 | --code-color-2: #a65980;
|
141 | --code-color-3: #599fa6;
|
142 | --code-color-4: #8c8473;
|
143 | --code-color-5: #4d606d;
|
144 | --table-border: #10181e;
|
145 | --table-stripping: rgba(115, 130, 140, 0.02);
|
146 | }
|
147 |
|
148 |
|
149 |
|
150 |
|
151 |
|
152 | *,
|
153 | *::before,
|
154 | *::after {
|
155 | box-sizing: border-box;
|
156 | }
|
157 |
|
158 | html {
|
159 | -webkit-text-size-adjust: 100%;
|
160 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
161 | background: var(--background);
|
162 | color: var(--text);
|
163 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
164 | font-size: 16px;
|
165 | font-weight: 400;
|
166 | line-height: 1.5;
|
167 | text-rendering: optimizeLegibility;
|
168 | }
|
169 |
|
170 | @media (min-width: 576px) {
|
171 | html {
|
172 | font-size: 17px;
|
173 | }
|
174 | }
|
175 |
|
176 | @media (min-width: 768px) {
|
177 | html {
|
178 | font-size: 18px;
|
179 | }
|
180 | }
|
181 |
|
182 | @media (min-width: 992px) {
|
183 | html {
|
184 | font-size: 19px;
|
185 | }
|
186 | }
|
187 |
|
188 | @media (min-width: 1200px) {
|
189 | html {
|
190 | font-size: 20px;
|
191 | }
|
192 | }
|
193 |
|
194 |
|
195 |
|
196 |
|
197 |
|
198 | main {
|
199 | display: block;
|
200 | }
|
201 |
|
202 | body {
|
203 | width: 100%;
|
204 | margin: 0;
|
205 | }
|
206 |
|
207 | body > header,
|
208 | body > main,
|
209 | body > footer {
|
210 | width: 100%;
|
211 | margin-right: auto;
|
212 | margin-left: auto;
|
213 | padding: 2rem 0;
|
214 | }
|
215 |
|
216 | @media (min-width: 576px) {
|
217 | body > header,
|
218 | body > main,
|
219 | body > footer {
|
220 | padding: 2.5rem 0;
|
221 | }
|
222 | }
|
223 |
|
224 | @media (min-width: 768px) {
|
225 | body > header,
|
226 | body > main,
|
227 | body > footer {
|
228 | padding: 3rem 0;
|
229 | }
|
230 | }
|
231 |
|
232 | @media (min-width: 992px) {
|
233 | body > header,
|
234 | body > main,
|
235 | body > footer {
|
236 | padding: 3.5rem 0;
|
237 | }
|
238 | }
|
239 |
|
240 | @media (min-width: 1200px) {
|
241 | body > header,
|
242 | body > main,
|
243 | body > footer {
|
244 | padding: 4rem 0;
|
245 | }
|
246 | }
|
247 |
|
248 |
|
249 |
|
250 |
|
251 | .container,
|
252 | .container-fluid {
|
253 | width: 100%;
|
254 | margin-right: auto;
|
255 | margin-left: auto;
|
256 | padding-right: 1rem;
|
257 | padding-left: 1rem;
|
258 | }
|
259 |
|
260 | @media (min-width: 576px) {
|
261 | .container {
|
262 | padding-right: 0;
|
263 | padding-left: 0;
|
264 | max-width: 510px;
|
265 | }
|
266 | }
|
267 |
|
268 | @media (min-width: 768px) {
|
269 | .container {
|
270 | max-width: 700px;
|
271 | }
|
272 | }
|
273 |
|
274 | @media (min-width: 992px) {
|
275 | .container {
|
276 | max-width: 920px;
|
277 | }
|
278 | }
|
279 |
|
280 | @media (min-width: 1200px) {
|
281 | .container {
|
282 | max-width: 1130px;
|
283 | }
|
284 | }
|
285 |
|
286 |
|
287 |
|
288 |
|
289 |
|
290 | section {
|
291 | margin-bottom: 4rem;
|
292 | }
|
293 |
|
294 | @media (min-width: 576px) {
|
295 | section {
|
296 | margin-bottom: 5rem;
|
297 | }
|
298 | }
|
299 |
|
300 | @media (min-width: 768px) {
|
301 | section {
|
302 | margin-bottom: 6rem;
|
303 | }
|
304 | }
|
305 |
|
306 | @media (min-width: 992px) {
|
307 | section {
|
308 | margin-bottom: 7rem;
|
309 | }
|
310 | }
|
311 |
|
312 | @media (min-width: 1200px) {
|
313 | section {
|
314 | margin-bottom: 8rem;
|
315 | }
|
316 | }
|
317 |
|
318 |
|
319 |
|
320 |
|
321 |
|
322 | .grid {
|
323 | grid-column-gap: 1rem;
|
324 | grid-row-gap: 1rem;
|
325 | display: grid;
|
326 | grid-template-columns: 1fr;
|
327 | margin: 0;
|
328 | }
|
329 |
|
330 | @media (min-width: 992px) {
|
331 | .grid {
|
332 | grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
|
333 | }
|
334 | }
|
335 |
|
336 | .grid > * {
|
337 | min-width: 0;
|
338 | }
|
339 |
|
340 |
|
341 |
|
342 |
|
343 | figure {
|
344 | display: block;
|
345 | margin: 0;
|
346 | padding: 0;
|
347 | overflow-x: auto;
|
348 | }
|
349 |
|
350 | figure figcaption {
|
351 | padding: 0.5rem 0;
|
352 | color: var(--muted-text);
|
353 | }
|
354 |
|
355 |
|
356 |
|
357 |
|
358 | b,
|
359 | strong {
|
360 | font-weight: bolder;
|
361 | }
|
362 |
|
363 | sub,
|
364 | sup {
|
365 | position: relative;
|
366 | font-size: .75rem;
|
367 | line-height: 0;
|
368 | vertical-align: baseline;
|
369 | }
|
370 |
|
371 | sub {
|
372 | bottom: -0.25rem;
|
373 | }
|
374 |
|
375 | sup {
|
376 | top: -0.5rem;
|
377 | }
|
378 |
|
379 | img {
|
380 | max-width: 100%;
|
381 | height: auto;
|
382 | border-style: none;
|
383 | }
|
384 |
|
385 | svg,
|
386 | img {
|
387 | vertical-align: text-bottom;
|
388 | }
|
389 |
|
390 | address,
|
391 | blockquote,
|
392 | dl,
|
393 | figure,
|
394 | form,
|
395 | ol,
|
396 | p,
|
397 | pre,
|
398 | table,
|
399 | ul {
|
400 | margin-top: 0;
|
401 | margin-bottom: 1.5rem;
|
402 | color: var(--text);
|
403 | font-size: 1rem;
|
404 | font-style: normal;
|
405 | }
|
406 |
|
407 | a {
|
408 | background-color: transparent;
|
409 | color: var(--primary);
|
410 | text-decoration: none;
|
411 | transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, text-decoration 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
412 | }
|
413 |
|
414 | a:hover, a:active, a:focus {
|
415 | color: var(--primary-hover);
|
416 | text-decoration: underline;
|
417 | }
|
418 |
|
419 | a:focus {
|
420 | outline: none;
|
421 | background-color: var(--primary-focus);
|
422 | }
|
423 |
|
424 | a.secondary {
|
425 | color: var(--secondary);
|
426 | }
|
427 |
|
428 | a.secondary:hover, a.secondary:active, a.secondary:focus {
|
429 | color: var(--secondary-hover);
|
430 | }
|
431 |
|
432 | a.secondary:focus {
|
433 | background-color: var(--secondary-focus);
|
434 | }
|
435 |
|
436 | a.contrast:not([role="button"]) {
|
437 | box-shadow: inset 0 -0.33rem 0 var(--contrast-border);
|
438 | color: var(--contrast);
|
439 | }
|
440 |
|
441 | a.contrast:not([role="button"]):hover, a.contrast:not([role="button"]):active, a.contrast:not([role="button"]):focus {
|
442 | box-shadow: inset 0 -0.33rem 0 var(--contrast-border-h);
|
443 | color: var(--contrast-hover);
|
444 | text-decoration: none;
|
445 | }
|
446 |
|
447 | a.contrast:not([role="button"]):focus {
|
448 | background-color: var(--contrast-focus);
|
449 | }
|
450 |
|
451 | h1,
|
452 | h2,
|
453 | h3,
|
454 | h4,
|
455 | h5,
|
456 | h6 {
|
457 | margin-top: 0;
|
458 | margin-bottom: 1.5rem;
|
459 | font-weight: 700;
|
460 | }
|
461 |
|
462 | h1 {
|
463 | margin-bottom: 3rem;
|
464 | color: var(--h1);
|
465 | font-size: 2rem;
|
466 | }
|
467 |
|
468 | h2 {
|
469 | margin-bottom: 2.625rem;
|
470 | color: var(--h2);
|
471 | font-size: 1.75rem;
|
472 | }
|
473 |
|
474 | h3 {
|
475 | margin-bottom: 2.25rem;
|
476 | color: var(--h3);
|
477 | font-size: 1.5rem;
|
478 | }
|
479 |
|
480 | h4 {
|
481 | margin-bottom: 1.875rem;
|
482 | color: var(--h4);
|
483 | font-size: 1.25rem;
|
484 | }
|
485 |
|
486 | h5 {
|
487 | margin-bottom: 1.6875rem;
|
488 | color: var(--h5);
|
489 | font-size: 1.125rem;
|
490 | }
|
491 |
|
492 | h6 {
|
493 | color: var(--h6);
|
494 | font-size: 1rem;
|
495 | }
|
496 |
|
497 | hgroup {
|
498 | margin-bottom: 1.5rem;
|
499 | }
|
500 |
|
501 | hgroup * {
|
502 | margin-bottom: 0;
|
503 | }
|
504 |
|
505 | hgroup > *:last-child {
|
506 | color: var(--muted-text);
|
507 | font-size: 1.125rem;
|
508 | font-weight: normal;
|
509 | }
|
510 |
|
511 | p {
|
512 | margin-bottom: 0.75rem;
|
513 | }
|
514 |
|
515 | small {
|
516 | font-size: 85%;
|
517 | }
|
518 |
|
519 | @media (min-width: 576px) {
|
520 | small {
|
521 | font-size: 83%;
|
522 | }
|
523 | }
|
524 |
|
525 | @media (min-width: 768px) {
|
526 | small {
|
527 | font-size: 81%;
|
528 | }
|
529 | }
|
530 |
|
531 | @media (min-width: 992px) {
|
532 | small {
|
533 | font-size: 79%;
|
534 | }
|
535 | }
|
536 |
|
537 | @media (min-width: 1200px) {
|
538 | small {
|
539 | font-size: 77%;
|
540 | }
|
541 | }
|
542 |
|
543 | ul,
|
544 | ol {
|
545 | padding-left: 1.5rem;
|
546 | }
|
547 |
|
548 | ul li,
|
549 | ol li {
|
550 | margin-bottom: 0.75rem;
|
551 | }
|
552 |
|
553 | ul li {
|
554 | list-style: square;
|
555 | }
|
556 |
|
557 | mark {
|
558 | padding: .125rem .25rem;
|
559 | background: var(--mark);
|
560 | color: var(--mark-text);
|
561 | vertical-align: middle;
|
562 | }
|
563 |
|
564 | blockquote {
|
565 | display: block;
|
566 | margin: 3rem 0;
|
567 | padding: 1rem;
|
568 | border-left: 0.25rem solid var(--muted-border);
|
569 | }
|
570 |
|
571 | blockquote footer {
|
572 | margin-top: 0.75rem;
|
573 | color: var(--muted-text);
|
574 | }
|
575 |
|
576 | abbr[title] {
|
577 | border-bottom: 1px dotted;
|
578 | text-decoration: none;
|
579 | cursor: help;
|
580 | }
|
581 |
|
582 | ins {
|
583 | color: var(--valid);
|
584 | text-decoration: none;
|
585 | }
|
586 |
|
587 | del {
|
588 | color: var(--invalid);
|
589 | }
|
590 |
|
591 | ::selection {
|
592 | background-color: var(--primary-focus);
|
593 | }
|
594 |
|
595 |
|
596 |
|
597 |
|
598 | input,
|
599 | optgroup,
|
600 | select,
|
601 | textarea {
|
602 | margin: 0;
|
603 | font-family: inherit;
|
604 | font-size: 1rem;
|
605 | line-height: 1.5;
|
606 | }
|
607 |
|
608 | input {
|
609 | overflow: visible;
|
610 | }
|
611 |
|
612 | select {
|
613 | text-transform: none;
|
614 | }
|
615 |
|
616 | legend {
|
617 | display: table;
|
618 | max-width: 100%;
|
619 | padding: 0;
|
620 | color: inherit;
|
621 | white-space: normal;
|
622 | }
|
623 |
|
624 | textarea {
|
625 | overflow: auto;
|
626 | }
|
627 |
|
628 | [type="checkbox"],
|
629 | [type="radio"] {
|
630 | padding: 0;
|
631 | }
|
632 |
|
633 | [type="number"]::-webkit-inner-spin-button {
|
634 | height: auto;
|
635 | }
|
636 |
|
637 | [type="search"] {
|
638 | -webkit-appearance: textfield;
|
639 | outline-offset: -2px;
|
640 | }
|
641 |
|
642 | [type="search"]::-webkit-search-decoration {
|
643 | -webkit-appearance: none;
|
644 | }
|
645 |
|
646 | ::-webkit-file-upload-button {
|
647 | -webkit-appearance: button;
|
648 | font: inherit;
|
649 | }
|
650 |
|
651 | fieldset {
|
652 | margin: 0;
|
653 | margin-bottom: 1.5rem;
|
654 | padding: 0;
|
655 | border: 0;
|
656 | }
|
657 |
|
658 | input:not([type="checkbox"]):not([type="radio"]),
|
659 | select,
|
660 | textarea,
|
661 | form small {
|
662 | display: block;
|
663 | width: 100%;
|
664 | }
|
665 |
|
666 | label,
|
667 | fieldset legend {
|
668 | display: block;
|
669 | margin-bottom: 0.125rem;
|
670 | vertical-align: middle;
|
671 | }
|
672 |
|
673 | input,
|
674 | select,
|
675 | textarea {
|
676 | -webkit-appearance: none;
|
677 | -moz-appearance: none;
|
678 | appearance: none;
|
679 | border: 1px solid var(--input-border);
|
680 | border-radius: 0.25rem;
|
681 | outline: none;
|
682 | background-color: var(--input-background);
|
683 | color: var(--text);
|
684 | font-weight: normal;
|
685 | vertical-align: middle;
|
686 | transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
687 | }
|
688 |
|
689 | input::placeholder,
|
690 | select::placeholder,
|
691 | textarea::placeholder {
|
692 | color: var(--muted-text);
|
693 | opacity: 1;
|
694 | }
|
695 |
|
696 | input:active, input:focus,
|
697 | select:active,
|
698 | select:focus,
|
699 | textarea:active,
|
700 | textarea:focus {
|
701 | border-color: var(--primary);
|
702 | }
|
703 |
|
704 | input:focus,
|
705 | select:focus,
|
706 | textarea:focus {
|
707 | box-shadow: 0 0 0 0.2rem var(--primary-focus);
|
708 | }
|
709 |
|
710 | input[readonly], input[disabled],
|
711 | select[readonly],
|
712 | select[disabled],
|
713 | textarea[readonly],
|
714 | textarea[disabled] {
|
715 | border-color: var(--muted-border);
|
716 | box-shadow: none;
|
717 | }
|
718 |
|
719 | input[readonly] ~ label, input[disabled] ~ label,
|
720 | select[readonly] ~ label,
|
721 | select[disabled] ~ label,
|
722 | textarea[readonly] ~ label,
|
723 | textarea[disabled] ~ label {
|
724 | color: var(--muted-text);
|
725 | }
|
726 |
|
727 | input[disabled],
|
728 | select[disabled],
|
729 | textarea[disabled] {
|
730 | background-color: var(--muted-background);
|
731 | opacity: .5;
|
732 | }
|
733 |
|
734 | input:not([type="checkbox"]):not([type="radio"]),
|
735 | select,
|
736 | textarea {
|
737 | margin-bottom: 1.5rem;
|
738 | padding: 0.75rem 1rem;
|
739 | }
|
740 |
|
741 | input:not([type="checkbox"]):not([type="radio"]).valid, input:not([type="checkbox"]):not([type="radio"]).invalid,
|
742 | select.valid,
|
743 | select.invalid,
|
744 | textarea.valid,
|
745 | textarea.invalid {
|
746 | padding-right: 2rem;
|
747 | background-position: center right .75rem;
|
748 | background-repeat: no-repeat;
|
749 | background-size: 1rem auto;
|
750 | }
|
751 |
|
752 | input:not([type="checkbox"]):not([type="radio"]).valid,
|
753 | select.valid,
|
754 | textarea.valid {
|
755 | border-bottom: 1px solid var(--valid);
|
756 | background-image: 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='%23288a6a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
|
757 | }
|
758 |
|
759 | input:not([type="checkbox"]):not([type="radio"]).invalid,
|
760 | select.invalid,
|
761 | textarea.invalid {
|
762 | border-bottom: 1px solid var(--invalid);
|
763 | background-image: 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='%23b94646' 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");
|
764 | }
|
765 |
|
766 | input[type="color"] {
|
767 | height: calc(3rem + 2px);
|
768 | }
|
769 |
|
770 | select::-ms-expand {
|
771 | border: 0;
|
772 | background-color: transparent;
|
773 | }
|
774 |
|
775 | select:not([multiple]) {
|
776 | background-image: 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='%23808080' 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");
|
777 | background-position: center right .75rem;
|
778 | background-repeat: no-repeat;
|
779 | background-size: 1rem auto;
|
780 | }
|
781 |
|
782 | form small {
|
783 | color: var(--muted-text);
|
784 | }
|
785 |
|
786 | input + small,
|
787 | select + small,
|
788 | textarea + small {
|
789 | margin-top: -1rem;
|
790 | margin-bottom: 1.5rem;
|
791 | }
|
792 |
|
793 | label > input:not([type="checkbox"]):not([type="radio"]),
|
794 | label > select,
|
795 | label > textarea {
|
796 | margin-top: 0.125rem;
|
797 | }
|
798 |
|
799 |
|
800 |
|
801 |
|
802 | [type="checkbox"],
|
803 | [type="radio"] {
|
804 | display: inline-block;
|
805 | width: 1em;
|
806 | height: 1em;
|
807 | margin-right: .375rem;
|
808 | margin-bottom: 0.125rem;
|
809 | border-width: 2px;
|
810 | font-size: 1.125rem;
|
811 | vertical-align: middle;
|
812 | cursor: pointer;
|
813 | transition: none;
|
814 | }
|
815 |
|
816 | [type="checkbox"]::-ms-check,
|
817 | [type="radio"]::-ms-check {
|
818 | display: none;
|
819 | }
|
820 |
|
821 | [type="checkbox"]:checked,
|
822 | [type="radio"]:checked {
|
823 | border-color: var(--primary);
|
824 | background-color: var(--primary);
|
825 | background-image: 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='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
|
826 | background-position: center;
|
827 | background-repeat: no-repeat;
|
828 | background-size: .66rem auto;
|
829 | }
|
830 |
|
831 | [type="checkbox"] ~ label,
|
832 | [type="radio"] ~ label {
|
833 | display: inline-block;
|
834 | margin-right: .375rem;
|
835 | margin-bottom: 0;
|
836 | cursor: pointer;
|
837 | }
|
838 |
|
839 | [type="radio"] {
|
840 | border-radius: 50%;
|
841 | }
|
842 |
|
843 | [type="radio"]:checked {
|
844 | border-width: .33rem;
|
845 | border-color: var(--primary);
|
846 | background-color: var(--primary-inverse);
|
847 | background-image: none;
|
848 | }
|
849 |
|
850 | [type="checkbox"][role="switch"] {
|
851 | width: 1.85em;
|
852 | height: 1em;
|
853 | border: 2px solid var(--input-border);
|
854 | border-radius: 1em;
|
855 | background-color: var(--input-border);
|
856 | line-height: 1em;
|
857 | }
|
858 |
|
859 | [type="checkbox"][role="switch"]:before {
|
860 | display: block;
|
861 | width: calc(1em - 4px);
|
862 | height: 100%;
|
863 | border-radius: 50%;
|
864 | background-color: var(--primary-inverse);
|
865 | content: '';
|
866 | transition: margin 0.1s ease-in-out;
|
867 | }
|
868 |
|
869 | [type="checkbox"][role="switch"]:checked {
|
870 | border-color: var(--primary);
|
871 | background-color: var(--primary);
|
872 | background-image: none;
|
873 | }
|
874 |
|
875 | [type="checkbox"][role="switch"]:checked::before {
|
876 | margin-right: 0;
|
877 | margin-left: calc(0.925em - 2px);
|
878 | }
|
879 |
|
880 |
|
881 |
|
882 |
|
883 | button {
|
884 | margin: 0;
|
885 | overflow: visible;
|
886 | font-family: inherit;
|
887 | text-transform: none;
|
888 | }
|
889 |
|
890 | button,
|
891 | [type="button"],
|
892 | [type="reset"],
|
893 | [type="submit"] {
|
894 | -webkit-appearance: button;
|
895 | }
|
896 |
|
897 | button::-moz-focus-inner,
|
898 | [type="button"]::-moz-focus-inner,
|
899 | [type="reset"]::-moz-focus-inner,
|
900 | [type="submit"]::-moz-focus-inner {
|
901 | padding: 0;
|
902 | border-style: none;
|
903 | }
|
904 |
|
905 | button {
|
906 | display: block;
|
907 | width: 100%;
|
908 | margin-bottom: 1.5rem;
|
909 | }
|
910 |
|
911 | a[role="button"] {
|
912 | display: inline-block;
|
913 | text-decoration: none;
|
914 | }
|
915 |
|
916 | button,
|
917 | input[type="submit"],
|
918 | a[role="button"] {
|
919 | border: 1px solid transparent;
|
920 | padding: 0.75rem 1rem;
|
921 | border-radius: 0.25rem;
|
922 | outline: none;
|
923 | background-color: var(--primary);
|
924 | color: var(--primary-inverse);
|
925 | font-size: 1rem;
|
926 | font-weight: normal;
|
927 | line-height: 1.5;
|
928 | text-align: center;
|
929 | cursor: pointer;
|
930 | transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
931 | }
|
932 |
|
933 | button:hover, button:active, button:focus,
|
934 | input[type="submit"]:hover,
|
935 | input[type="submit"]:active,
|
936 | input[type="submit"]:focus,
|
937 | a[role="button"]:hover,
|
938 | a[role="button"]:active,
|
939 | a[role="button"]:focus {
|
940 | background-color: var(--primary-hover);
|
941 | }
|
942 |
|
943 | button:focus,
|
944 | input[type="submit"]:focus,
|
945 | a[role="button"]:focus {
|
946 | box-shadow: 0 0 0 0.2rem var(--primary-focus);
|
947 | }
|
948 |
|
949 | input[type="reset"] {
|
950 | cursor: pointer;
|
951 | }
|
952 |
|
953 | button[disabled],
|
954 | input[type="submit"][disabled],
|
955 | input[type="reset"][disabled],
|
956 | a[role="button"][disabled] {
|
957 | opacity: .5;
|
958 | pointer-events: none;
|
959 | }
|
960 |
|
961 |
|
962 |
|
963 |
|
964 | button.secondary,
|
965 | input.secondary[type="submit"],
|
966 | input[type="reset"],
|
967 | a.secondary[role="button"] {
|
968 | background-color: var(--secondary);
|
969 | color: var(--secondary-inverse);
|
970 | }
|
971 |
|
972 | button.secondary:hover, button.secondary:active, button.secondary:focus,
|
973 | input.secondary[type="submit"]:hover,
|
974 | input.secondary[type="submit"]:active,
|
975 | input.secondary[type="submit"]:focus,
|
976 | input[type="reset"]:hover,
|
977 | input[type="reset"]:active,
|
978 | input[type="reset"]:focus,
|
979 | a.secondary[role="button"]:hover,
|
980 | a.secondary[role="button"]:active,
|
981 | a.secondary[role="button"]:focus {
|
982 | background-color: var(--secondary-hover);
|
983 | }
|
984 |
|
985 | button.secondary:focus,
|
986 | input.secondary[type="submit"]:focus,
|
987 | input[type="reset"]:focus,
|
988 | a.secondary[role="button"]:focus {
|
989 | box-shadow: 0 0 0 0.2rem var(--secondary-focus);
|
990 | }
|
991 |
|
992 | button.contrast,
|
993 | input.contrast[type="submit"],
|
994 | input.contrast[type="reset"],
|
995 | a.contrast[role="button"] {
|
996 | background-color: var(--contrast);
|
997 | color: var(--contrast-inverse);
|
998 | }
|
999 |
|
1000 | button.contrast:hover, button.contrast:active, button.contrast:focus,
|
1001 | input.contrast[type="submit"]:hover,
|
1002 | input.contrast[type="submit"]:active,
|
1003 | input.contrast[type="submit"]:focus,
|
1004 | input.contrast[type="reset"]:hover,
|
1005 | input.contrast[type="reset"]:active,
|
1006 | input.contrast[type="reset"]:focus,
|
1007 | a.contrast[role="button"]:hover,
|
1008 | a.contrast[role="button"]:active,
|
1009 | a.contrast[role="button"]:focus {
|
1010 | background-color: var(--contrast-hover);
|
1011 | }
|
1012 |
|
1013 | button.contrast:focus,
|
1014 | input.contrast[type="submit"]:focus,
|
1015 | input.contrast[type="reset"]:focus,
|
1016 | a.contrast[role="button"]:focus {
|
1017 | box-shadow: 0 0 0 0.2rem var(--contrast-focus);
|
1018 | }
|
1019 |
|
1020 | button.outline,
|
1021 | input.outline[type="submit"],
|
1022 | a.outline[role="button"] {
|
1023 | border: 1px solid var(--primary);
|
1024 | background-color: transparent;
|
1025 | color: var(--primary);
|
1026 | }
|
1027 |
|
1028 | button.outline:hover, button.outline:active, button.outline:focus,
|
1029 | input.outline[type="submit"]:hover,
|
1030 | input.outline[type="submit"]:active,
|
1031 | input.outline[type="submit"]:focus,
|
1032 | a.outline[role="button"]:hover,
|
1033 | a.outline[role="button"]:active,
|
1034 | a.outline[role="button"]:focus {
|
1035 | border: 1px solid var(--primary-hover);
|
1036 | color: var(--primary-hover);
|
1037 | }
|
1038 |
|
1039 | button.outline.secondary,
|
1040 | input.outline.secondary[type="submit"],
|
1041 | input.outline[type="reset"],
|
1042 | a.outline.secondary[role="button"] {
|
1043 | border: 1px solid var(--secondary);
|
1044 | background-color: transparent;
|
1045 | color: var(--secondary);
|
1046 | }
|
1047 |
|
1048 | button.outline.secondary:hover, button.outline.secondary:active, button.outline.secondary:focus,
|
1049 | input.outline.secondary[type="submit"]:hover,
|
1050 | input.outline.secondary[type="submit"]:active,
|
1051 | input.outline.secondary[type="submit"]:focus,
|
1052 | input.outline[type="reset"]:hover,
|
1053 | input.outline[type="reset"]:active,
|
1054 | input.outline[type="reset"]:focus,
|
1055 | a.outline.secondary[role="button"]:hover,
|
1056 | a.outline.secondary[role="button"]:active,
|
1057 | a.outline.secondary[role="button"]:focus {
|
1058 | border: 1px solid var(--secondary-hover);
|
1059 | color: var(--secondary-hover);
|
1060 | }
|
1061 |
|
1062 | button.outline.secondary:focus,
|
1063 | input.outline.secondary[type="submit"]:focus,
|
1064 | input.outline[type="reset"]:focus,
|
1065 | a.outline.secondary[role="button"]:focus {
|
1066 | box-shadow: 0 0 0 0.2rem var(--secondary-focus);
|
1067 | }
|
1068 |
|
1069 | button.outline.contrast,
|
1070 | input.outline.contrast[type="submit"],
|
1071 | input.outline.contrast[type="reset"],
|
1072 | a.outline.contrast[role="button"] {
|
1073 | border: 1px solid var(--contrast);
|
1074 | background-color: transparent;
|
1075 | color: var(--contrast);
|
1076 | }
|
1077 |
|
1078 | button.outline.contrast:hover, button.outline.contrast:active, button.outline.contrast:focus,
|
1079 | input.outline.contrast[type="submit"]:hover,
|
1080 | input.outline.contrast[type="submit"]:active,
|
1081 | input.outline.contrast[type="submit"]:focus,
|
1082 | input.outline.contrast[type="reset"]:hover,
|
1083 | input.outline.contrast[type="reset"]:active,
|
1084 | input.outline.contrast[type="reset"]:focus,
|
1085 | a.outline.contrast[role="button"]:hover,
|
1086 | a.outline.contrast[role="button"]:active,
|
1087 | a.outline.contrast[role="button"]:focus {
|
1088 | border: 1px solid var(--contrast-hover);
|
1089 | color: var(--contrast-hover);
|
1090 | }
|
1091 |
|
1092 | button.outline.contrast:focus,
|
1093 | input.outline.contrast[type="submit"]:focus,
|
1094 | input.outline.contrast[type="reset"]:focus,
|
1095 | a.outline.contrast[role="button"]:focus {
|
1096 | box-shadow: 0 0 0 0.2rem var(--contrast-focus);
|
1097 | }
|
1098 |
|
1099 |
|
1100 |
|
1101 |
|
1102 | table {
|
1103 | width: 100%;
|
1104 | border-spacing: 0;
|
1105 | }
|
1106 |
|
1107 | th,
|
1108 | td {
|
1109 | padding: 0.5rem 1rem;
|
1110 | border-bottom: 1px solid var(--table-border);
|
1111 | color: var(--muted-text);
|
1112 | font-weight: 400;
|
1113 | text-align: left;
|
1114 | font-size: 0.875rem;
|
1115 | }
|
1116 |
|
1117 | th,
|
1118 | thead td {
|
1119 | color: var(--text);
|
1120 | font-size: 1rem;
|
1121 | }
|
1122 |
|
1123 | thead th,
|
1124 | thead td {
|
1125 | border-bottom: 3px solid var(--table-border);
|
1126 | }
|
1127 |
|
1128 | tbody tr:nth-child(odd) {
|
1129 | background-color: var(--table-stripping);
|
1130 | }
|
1131 |
|
1132 |
|
1133 |
|
1134 |
|
1135 | pre,
|
1136 | code,
|
1137 | kbd,
|
1138 | samp {
|
1139 | font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
1140 | font-size: 1rem;
|
1141 | }
|
1142 |
|
1143 | pre,
|
1144 | code,
|
1145 | kbd {
|
1146 | background: var(--code-inlined);
|
1147 | color: var(--code-color-1);
|
1148 | font-size: 85%;
|
1149 | font-weight: 400;
|
1150 | line-height: 1;
|
1151 | }
|
1152 |
|
1153 | @media (min-width: 576px) {
|
1154 | pre,
|
1155 | code,
|
1156 | kbd {
|
1157 | font-size: 83%;
|
1158 | }
|
1159 | }
|
1160 |
|
1161 | @media (min-width: 768px) {
|
1162 | pre,
|
1163 | code,
|
1164 | kbd {
|
1165 | font-size: 81%;
|
1166 | }
|
1167 | }
|
1168 |
|
1169 | @media (min-width: 992px) {
|
1170 | pre,
|
1171 | code,
|
1172 | kbd {
|
1173 | font-size: 79%;
|
1174 | }
|
1175 | }
|
1176 |
|
1177 | @media (min-width: 1200px) {
|
1178 | pre,
|
1179 | code,
|
1180 | kbd {
|
1181 | font-size: 77%;
|
1182 | }
|
1183 | }
|
1184 |
|
1185 | code,
|
1186 | kbd {
|
1187 | display: inline-block;
|
1188 | padding: .375rem .5rem;
|
1189 | border-radius: 0.25rem;
|
1190 | }
|
1191 |
|
1192 | pre {
|
1193 | display: block;
|
1194 | margin-bottom: 2rem;
|
1195 | padding: 2rem 1rem;
|
1196 | overflow-x: auto;
|
1197 | background: var(--code-background);
|
1198 | }
|
1199 |
|
1200 | pre > code {
|
1201 | display: block;
|
1202 | padding: 0;
|
1203 | background: transparent;
|
1204 | font-size: 14px;
|
1205 | line-height: 1.5;
|
1206 | }
|
1207 |
|
1208 | code b {
|
1209 | color: var(--code-color-2);
|
1210 | font-weight: normal;
|
1211 | }
|
1212 |
|
1213 | code i {
|
1214 | color: var(--code-color-3);
|
1215 | font-style: normal;
|
1216 | }
|
1217 |
|
1218 | code u {
|
1219 | color: var(--code-color-4);
|
1220 | text-decoration: none;
|
1221 | }
|
1222 |
|
1223 | code em {
|
1224 | color: var(--code-color-5);
|
1225 | font-style: normal;
|
1226 | }
|
1227 |
|
1228 | kbd {
|
1229 | background-color: var(--secondary);
|
1230 | color: var(--secondary-inverse);
|
1231 | font-weight: bolder;
|
1232 | }
|
1233 |
|
1234 |
|
1235 |
|
1236 |
|
1237 | hr {
|
1238 | box-sizing: content-box;
|
1239 | height: 0;
|
1240 | overflow: visible;
|
1241 | border: none;
|
1242 | border-top: 1px solid var(--muted-border);
|
1243 | }
|
1244 |
|
1245 | progress {
|
1246 | vertical-align: baseline;
|
1247 | }
|
1248 |
|
1249 | [hidden],
|
1250 | template {
|
1251 | display: none;
|
1252 | }
|
1253 |
|
1254 |
|
1255 |
|
1256 |
|
1257 |
|
1258 | details {
|
1259 | display: block;
|
1260 | margin-bottom: 1.5rem;
|
1261 | padding-bottom: 0.75rem;
|
1262 | border-bottom: 1px solid var(--muted-border);
|
1263 | }
|
1264 |
|
1265 | details summary {
|
1266 | list-style-type: none;
|
1267 | cursor: pointer;
|
1268 | line-height: 1rem;
|
1269 | }
|
1270 |
|
1271 | details summary::-webkit-details-marker {
|
1272 | display: none;
|
1273 | }
|
1274 |
|
1275 | details summary::marker {
|
1276 | display: none;
|
1277 | }
|
1278 |
|
1279 | details summary::-moz-list-bullet {
|
1280 | list-style-type: none;
|
1281 | }
|
1282 |
|
1283 | details summary::after {
|
1284 | display: inline-block;
|
1285 | width: 1rem;
|
1286 | height: 1rem;
|
1287 | float: right;
|
1288 | transform: rotate(-90deg);
|
1289 | background-image: 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='%23808080' 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");
|
1290 | background-position: center;
|
1291 | background-repeat: no-repeat;
|
1292 | background-size: 1rem auto;
|
1293 | content: '';
|
1294 | }
|
1295 |
|
1296 | details summary:focus {
|
1297 | outline: none;
|
1298 | }
|
1299 |
|
1300 | details summary ~ * {
|
1301 | margin-top: 0.75rem;
|
1302 | }
|
1303 |
|
1304 | details summary ~ * ~ * {
|
1305 | margin-top: 0;
|
1306 | }
|
1307 |
|
1308 | details[open] summary {
|
1309 | margin-bottom: 0.375rem;
|
1310 | color: var(--muted-text);
|
1311 | }
|
1312 |
|
1313 | details[open] summary::after {
|
1314 | transform: rotate(0);
|
1315 | }
|
1316 |
|
1317 |
|
1318 |
|
1319 |
|
1320 | article {
|
1321 | margin: 2rem 0;
|
1322 | padding: 2rem 1rem;
|
1323 | overflow: hidden;
|
1324 | border-radius: 0.25rem;
|
1325 | background: var(--card-background);
|
1326 | box-shadow: var(--card-shadow);
|
1327 | }
|
1328 |
|
1329 | @media (min-width: 576px) {
|
1330 | article {
|
1331 | margin: 2.5rem 0;
|
1332 | padding: 2.5rem;
|
1333 | }
|
1334 | }
|
1335 |
|
1336 | @media (min-width: 768px) {
|
1337 | article {
|
1338 | margin: 3rem 0;
|
1339 | padding: 3rem;
|
1340 | }
|
1341 | }
|
1342 |
|
1343 | @media (min-width: 992px) {
|
1344 | article {
|
1345 | margin: 3.5rem 0;
|
1346 | padding: 3.5rem;
|
1347 | }
|
1348 | }
|
1349 |
|
1350 | @media (min-width: 1200px) {
|
1351 | article {
|
1352 | margin: 4rem 0;
|
1353 | padding: 4rem;
|
1354 | }
|
1355 | }
|
1356 |
|
1357 | article > *:not(header):not(footer):not(pre):last-child {
|
1358 | margin-bottom: 0;
|
1359 | }
|
1360 |
|
1361 |
|
1362 |
|
1363 |
|
1364 | article > header,
|
1365 | article > footer {
|
1366 | background-color: var(--card-sections);
|
1367 | }
|
1368 |
|
1369 | article > header,
|
1370 | article > footer,
|
1371 | article > pre {
|
1372 | margin: -1rem;
|
1373 | padding: 2rem 1rem;
|
1374 | }
|
1375 |
|
1376 | @media (min-width: 576px) {
|
1377 | article > header,
|
1378 | article > footer,
|
1379 | article > pre {
|
1380 | margin: -2.5rem;
|
1381 | padding: 2rem 2.5rem;
|
1382 | }
|
1383 | }
|
1384 |
|
1385 | @media (min-width: 768px) {
|
1386 | article > header,
|
1387 | article > footer,
|
1388 | article > pre {
|
1389 | margin: -3rem;
|
1390 | padding: 2rem 3rem;
|
1391 | }
|
1392 | }
|
1393 |
|
1394 | @media (min-width: 992px) {
|
1395 | article > header,
|
1396 | article > footer,
|
1397 | article > pre {
|
1398 | margin: -3.5rem;
|
1399 | padding: 2rem 3.5rem;
|
1400 | }
|
1401 | }
|
1402 |
|
1403 | @media (min-width: 1200px) {
|
1404 | article > header,
|
1405 | article > footer,
|
1406 | article > pre {
|
1407 | margin: -4rem;
|
1408 | padding: 2rem 4rem;
|
1409 | }
|
1410 | }
|
1411 |
|
1412 | article > header {
|
1413 | margin-top: -2rem;
|
1414 | margin-bottom: 2rem;
|
1415 | }
|
1416 |
|
1417 | @media (min-width: 576px) {
|
1418 | article > header {
|
1419 | margin-top: -2.5rem;
|
1420 | margin-bottom: 2.5rem;
|
1421 | }
|
1422 | }
|
1423 |
|
1424 | @media (min-width: 768px) {
|
1425 | article > header {
|
1426 | margin-top: -3rem;
|
1427 | margin-bottom: 3rem;
|
1428 | }
|
1429 | }
|
1430 |
|
1431 | @media (min-width: 992px) {
|
1432 | article > header {
|
1433 | margin-top: -3.5rem;
|
1434 | margin-bottom: 3.5rem;
|
1435 | }
|
1436 | }
|
1437 |
|
1438 | @media (min-width: 1200px) {
|
1439 | article > header {
|
1440 | margin-top: -4rem;
|
1441 | margin-bottom: 4rem;
|
1442 | }
|
1443 | }
|
1444 |
|
1445 | article > footer,
|
1446 | article > pre {
|
1447 | margin-top: 2rem;
|
1448 | margin-bottom: -2rem;
|
1449 | }
|
1450 |
|
1451 | @media (min-width: 576px) {
|
1452 | article > footer,
|
1453 | article > pre {
|
1454 | margin-top: 2.5rem;
|
1455 | margin-bottom: -2.5rem;
|
1456 | }
|
1457 | }
|
1458 |
|
1459 | @media (min-width: 768px) {
|
1460 | article > footer,
|
1461 | article > pre {
|
1462 | margin-top: 3rem;
|
1463 | margin-bottom: -3rem;
|
1464 | }
|
1465 | }
|
1466 |
|
1467 | @media (min-width: 992px) {
|
1468 | article > footer,
|
1469 | article > pre {
|
1470 | margin-top: 3.5rem;
|
1471 | margin-bottom: -3.5rem;
|
1472 | }
|
1473 | }
|
1474 |
|
1475 | @media (min-width: 1200px) {
|
1476 | article > footer,
|
1477 | article > pre {
|
1478 | margin-top: 4rem;
|
1479 | margin-bottom: -4rem;
|
1480 | }
|
1481 | }
|
1482 |
|
1483 |
|
1484 |
|
1485 |
|
1486 | nav,
|
1487 | nav ul {
|
1488 | display: flex;
|
1489 | }
|
1490 |
|
1491 | nav {
|
1492 | justify-content: space-between;
|
1493 | }
|
1494 |
|
1495 | nav ul {
|
1496 | align-items: center;
|
1497 | margin-bottom: 0;
|
1498 | padding: 0;
|
1499 | list-style: none;
|
1500 | }
|
1501 |
|
1502 | nav ul:first-of-type {
|
1503 | margin-left: -0.5rem;
|
1504 | }
|
1505 |
|
1506 | nav ul:last-of-type {
|
1507 | margin-right: -0.5rem;
|
1508 | }
|
1509 |
|
1510 | nav li {
|
1511 | display: inline-block;
|
1512 | margin: 0;
|
1513 | padding: 1rem 0.5rem;
|
1514 | }
|
1515 |
|
1516 | nav li > *,
|
1517 | nav li > input:not([type="checkbox"]):not([type="radio"]) {
|
1518 | margin-bottom: 0;
|
1519 | }
|
1520 |
|
1521 | nav a {
|
1522 | display: block;
|
1523 | margin: -1rem -0.5rem;
|
1524 | padding: 1rem 0.5rem;
|
1525 | border-radius: 0.25rem;
|
1526 | }
|
1527 |
|
1528 | nav a:hover, nav a:active, nav a:focus {
|
1529 | text-decoration: none;
|
1530 | }
|
1531 |
|
1532 | nav a.contrast:not([role="button"]) {
|
1533 | box-shadow: none;
|
1534 | }
|
1535 |
|
1536 | aside nav,
|
1537 | aside ul,
|
1538 | aside li {
|
1539 | display: block;
|
1540 | }
|
1541 |
|
1542 | aside li {
|
1543 | padding: 0.5rem;
|
1544 | }
|
1545 |
|
1546 | aside li a {
|
1547 | margin: -0.5rem;
|
1548 | padding: 0.5rem;
|
1549 | }
|
1550 |
|
1551 |
|
1552 |
|
1553 |
|
1554 | [data-tooltip] {
|
1555 | position: relative;
|
1556 | }
|
1557 |
|
1558 | [data-tooltip]:not(a):not(button):not(input) {
|
1559 | border-bottom: 1px dotted;
|
1560 | text-decoration: none;
|
1561 | cursor: help;
|
1562 | }
|
1563 |
|
1564 | [data-tooltip]::before, [data-tooltip]::after {
|
1565 | display: block;
|
1566 | z-index: 99;
|
1567 | position: absolute;
|
1568 | bottom: 100%;
|
1569 | left: 50%;
|
1570 | padding: .25rem .5rem;
|
1571 | overflow: hidden;
|
1572 | transform: translate(-50%, -0.25rem);
|
1573 | border-radius: 0.25rem;
|
1574 | background: var(--contrast);
|
1575 | color: var(--contrast-inverse);
|
1576 | font-size: .85rem;
|
1577 | font-style: normal;
|
1578 | font-weight: normal;
|
1579 | text-decoration: none;
|
1580 | text-overflow: ellipsis;
|
1581 | white-space: nowrap;
|
1582 | content: attr(data-tooltip);
|
1583 | opacity: 0;
|
1584 | pointer-events: none;
|
1585 | }
|
1586 |
|
1587 | [data-tooltip]::after {
|
1588 | padding: 0;
|
1589 | transform: translate(-50%, 0rem);
|
1590 | border-top: .3rem solid;
|
1591 | border-right: .3rem solid transparent;
|
1592 | border-left: .3rem solid transparent;
|
1593 | border-radius: 0;
|
1594 | background-color: transparent;
|
1595 | color: var(--contrast);
|
1596 | content: '';
|
1597 | }
|
1598 |
|
1599 | [data-tooltip]:focus::before, [data-tooltip]:focus::after, [data-tooltip]:hover::before, [data-tooltip]:hover::after {
|
1600 | opacity: 1;
|
1601 | }
|