1 | /*! tailwindcss v2.2.19 | MIT License | https://tailwindcss.com */
|
2 |
|
3 | /*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
|
4 |
|
5 | /*
|
6 | Document
|
7 | ========
|
8 | */
|
9 |
|
10 | /**
|
11 | Use a better box model (opinionated).
|
12 | */
|
13 |
|
14 | *,
|
15 | ::before,
|
16 | ::after {
|
17 | box-sizing: border-box;
|
18 | }
|
19 |
|
20 | /**
|
21 | Use a more readable tab size (opinionated).
|
22 | */
|
23 |
|
24 | html {
|
25 | -moz-tab-size: 4;
|
26 | tab-size: 4;
|
27 | }
|
28 |
|
29 | /**
|
30 | 1. Correct the line height in all browsers.
|
31 | 2. Prevent adjustments of font size after orientation changes in iOS.
|
32 | */
|
33 |
|
34 | html {
|
35 | line-height: 1.15; /* 1 */
|
36 | -webkit-text-size-adjust: 100%; /* 2 */
|
37 | }
|
38 |
|
39 | /*
|
40 | Sections
|
41 | ========
|
42 | */
|
43 |
|
44 | /**
|
45 | Remove the margin in all browsers.
|
46 | */
|
47 |
|
48 | body {
|
49 | margin: 0;
|
50 | }
|
51 |
|
52 | /**
|
53 | Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
|
54 | */
|
55 |
|
56 | body {
|
57 | font-family:
|
58 | system-ui,
|
59 | -apple-system, /* Firefox supports this but not yet `system-ui` */
|
60 | 'Segoe UI',
|
61 | Roboto,
|
62 | Helvetica,
|
63 | Arial,
|
64 | sans-serif,
|
65 | 'Apple Color Emoji',
|
66 | 'Segoe UI Emoji';
|
67 | }
|
68 |
|
69 | /*
|
70 | Grouping content
|
71 | ================
|
72 | */
|
73 |
|
74 | /**
|
75 | 1. Add the correct height in Firefox.
|
76 | 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
77 | */
|
78 |
|
79 | hr {
|
80 | height: 0; /* 1 */
|
81 | color: inherit; /* 2 */
|
82 | }
|
83 |
|
84 | /*
|
85 | Text-level semantics
|
86 | ====================
|
87 | */
|
88 |
|
89 | /**
|
90 | Add the correct text decoration in Chrome, Edge, and Safari.
|
91 | */
|
92 |
|
93 | abbr[title] {
|
94 | -webkit-text-decoration: underline dotted;
|
95 | text-decoration: underline dotted;
|
96 | }
|
97 |
|
98 | /**
|
99 | Add the correct font weight in Edge and Safari.
|
100 | */
|
101 |
|
102 | b,
|
103 | strong {
|
104 | font-weight: bolder;
|
105 | }
|
106 |
|
107 | /**
|
108 | 1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
|
109 | 2. Correct the odd 'em' font sizing in all browsers.
|
110 | */
|
111 |
|
112 | code,
|
113 | kbd,
|
114 | samp,
|
115 | pre {
|
116 | font-family:
|
117 | ui-monospace,
|
118 | SFMono-Regular,
|
119 | Consolas,
|
120 | 'Liberation Mono',
|
121 | Menlo,
|
122 | monospace; /* 1 */
|
123 | font-size: 1em; /* 2 */
|
124 | }
|
125 |
|
126 | /**
|
127 | Add the correct font size in all browsers.
|
128 | */
|
129 |
|
130 | small {
|
131 | font-size: 80%;
|
132 | }
|
133 |
|
134 | /**
|
135 | Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
|
136 | */
|
137 |
|
138 | sub,
|
139 | sup {
|
140 | font-size: 75%;
|
141 | line-height: 0;
|
142 | position: relative;
|
143 | vertical-align: baseline;
|
144 | }
|
145 |
|
146 | sub {
|
147 | bottom: -0.25em;
|
148 | }
|
149 |
|
150 | sup {
|
151 | top: -0.5em;
|
152 | }
|
153 |
|
154 | /*
|
155 | Tabular data
|
156 | ============
|
157 | */
|
158 |
|
159 | /**
|
160 | 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
161 | 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
162 | */
|
163 |
|
164 | table {
|
165 | text-indent: 0; /* 1 */
|
166 | border-color: inherit; /* 2 */
|
167 | }
|
168 |
|
169 | /*
|
170 | Forms
|
171 | =====
|
172 | */
|
173 |
|
174 | /**
|
175 | 1. Change the font styles in all browsers.
|
176 | 2. Remove the margin in Firefox and Safari.
|
177 | */
|
178 |
|
179 | button,
|
180 | input,
|
181 | optgroup,
|
182 | select,
|
183 | textarea {
|
184 | font-family: inherit; /* 1 */
|
185 | font-size: 100%; /* 1 */
|
186 | line-height: 1.15; /* 1 */
|
187 | margin: 0; /* 2 */
|
188 | }
|
189 |
|
190 | /**
|
191 | Remove the inheritance of text transform in Edge and Firefox.
|
192 | 1. Remove the inheritance of text transform in Firefox.
|
193 | */
|
194 |
|
195 | button,
|
196 | select { /* 1 */
|
197 | text-transform: none;
|
198 | }
|
199 |
|
200 | /**
|
201 | Correct the inability to style clickable types in iOS and Safari.
|
202 | */
|
203 |
|
204 | button,
|
205 | [type='button'],
|
206 | [type='reset'],
|
207 | [type='submit'] {
|
208 | -webkit-appearance: button;
|
209 | }
|
210 |
|
211 | /**
|
212 | Remove the inner border and padding in Firefox.
|
213 | */
|
214 |
|
215 | ::-moz-focus-inner {
|
216 | border-style: none;
|
217 | padding: 0;
|
218 | }
|
219 |
|
220 | /**
|
221 | Restore the focus styles unset by the previous rule.
|
222 | */
|
223 |
|
224 | :-moz-focusring {
|
225 | outline: 1px dotted ButtonText;
|
226 | }
|
227 |
|
228 | /**
|
229 | Remove the additional ':invalid' styles in Firefox.
|
230 | See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
|
231 | */
|
232 |
|
233 | :-moz-ui-invalid {
|
234 | box-shadow: none;
|
235 | }
|
236 |
|
237 | /**
|
238 | Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
|
239 | */
|
240 |
|
241 | legend {
|
242 | padding: 0;
|
243 | }
|
244 |
|
245 | /**
|
246 | Add the correct vertical alignment in Chrome and Firefox.
|
247 | */
|
248 |
|
249 | progress {
|
250 | vertical-align: baseline;
|
251 | }
|
252 |
|
253 | /**
|
254 | Correct the cursor style of increment and decrement buttons in Safari.
|
255 | */
|
256 |
|
257 | ::-webkit-inner-spin-button,
|
258 | ::-webkit-outer-spin-button {
|
259 | height: auto;
|
260 | }
|
261 |
|
262 | /**
|
263 | 1. Correct the odd appearance in Chrome and Safari.
|
264 | 2. Correct the outline style in Safari.
|
265 | */
|
266 |
|
267 | [type='search'] {
|
268 | -webkit-appearance: textfield; /* 1 */
|
269 | outline-offset: -2px; /* 2 */
|
270 | }
|
271 |
|
272 | /**
|
273 | Remove the inner padding in Chrome and Safari on macOS.
|
274 | */
|
275 |
|
276 | ::-webkit-search-decoration {
|
277 | -webkit-appearance: none;
|
278 | }
|
279 |
|
280 | /**
|
281 | 1. Correct the inability to style clickable types in iOS and Safari.
|
282 | 2. Change font properties to 'inherit' in Safari.
|
283 | */
|
284 |
|
285 | ::-webkit-file-upload-button {
|
286 | -webkit-appearance: button; /* 1 */
|
287 | font: inherit; /* 2 */
|
288 | }
|
289 |
|
290 | /*
|
291 | Interactive
|
292 | ===========
|
293 | */
|
294 |
|
295 | /*
|
296 | Add the correct display in Chrome and Safari.
|
297 | */
|
298 |
|
299 | summary {
|
300 | display: list-item;
|
301 | }
|
302 |
|
303 | /**
|
304 | * Manually forked from SUIT CSS Base: https://github.com/suitcss/base
|
305 | * A thin layer on top of normalize.css that provides a starting point more
|
306 | * suitable for web applications.
|
307 | */
|
308 |
|
309 | /**
|
310 | * Removes the default spacing and border for appropriate elements.
|
311 | */
|
312 |
|
313 | blockquote,
|
314 | dl,
|
315 | dd,
|
316 | h1,
|
317 | h2,
|
318 | h3,
|
319 | h4,
|
320 | h5,
|
321 | h6,
|
322 | hr,
|
323 | figure,
|
324 | p,
|
325 | pre {
|
326 | margin: 0;
|
327 | }
|
328 |
|
329 | button {
|
330 | background-color: transparent;
|
331 | background-image: none;
|
332 | }
|
333 |
|
334 | fieldset {
|
335 | margin: 0;
|
336 | padding: 0;
|
337 | }
|
338 |
|
339 | ol,
|
340 | ul {
|
341 | list-style: none;
|
342 | margin: 0;
|
343 | padding: 0;
|
344 | }
|
345 |
|
346 | /**
|
347 | * Tailwind custom reset styles
|
348 | */
|
349 |
|
350 | /**
|
351 | * 1. Use the user's configured `sans` font-family (with Tailwind's default
|
352 | * sans-serif font stack as a fallback) as a sane default.
|
353 | * 2. Use Tailwind's default "normal" line-height so the user isn't forced
|
354 | * to override it to ensure consistency even when using the default theme.
|
355 | */
|
356 |
|
357 | html {
|
358 | font-family: ui-sans-serif, system-ui, -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"; /* 1 */
|
359 | line-height: 1.5; /* 2 */
|
360 | }
|
361 |
|
362 | /**
|
363 | * Inherit font-family and line-height from `html` so users can set them as
|
364 | * a class directly on the `html` element.
|
365 | */
|
366 |
|
367 | body {
|
368 | font-family: inherit;
|
369 | line-height: inherit;
|
370 | }
|
371 |
|
372 | /**
|
373 | * 1. Prevent padding and border from affecting element width.
|
374 | *
|
375 | * We used to set this in the html element and inherit from
|
376 | * the parent element for everything else. This caused issues
|
377 | * in shadow-dom-enhanced elements like <details> where the content
|
378 | * is wrapped by a div with box-sizing set to `content-box`.
|
379 | *
|
380 | * https://github.com/mozdevs/cssremedy/issues/4
|
381 | *
|
382 | *
|
383 | * 2. Allow adding a border to an element by just adding a border-width.
|
384 | *
|
385 | * By default, the way the browser specifies that an element should have no
|
386 | * border is by setting it's border-style to `none` in the user-agent
|
387 | * stylesheet.
|
388 | *
|
389 | * In order to easily add borders to elements by just setting the `border-width`
|
390 | * property, we change the default border-style for all elements to `solid`, and
|
391 | * use border-width to hide them instead. This way our `border` utilities only
|
392 | * need to set the `border-width` property instead of the entire `border`
|
393 | * shorthand, making our border utilities much more straightforward to compose.
|
394 | *
|
395 | * https://github.com/tailwindcss/tailwindcss/pull/116
|
396 | */
|
397 |
|
398 | *,
|
399 | ::before,
|
400 | ::after {
|
401 | box-sizing: border-box; /* 1 */
|
402 | border-width: 0; /* 2 */
|
403 | border-style: solid; /* 2 */
|
404 | border-color: currentColor; /* 2 */
|
405 | }
|
406 |
|
407 | /*
|
408 | * Ensure horizontal rules are visible by default
|
409 | */
|
410 |
|
411 | hr {
|
412 | border-top-width: 1px;
|
413 | }
|
414 |
|
415 | /**
|
416 | * Undo the `border-style: none` reset that Normalize applies to images so that
|
417 | * our `border-{width}` utilities have the expected effect.
|
418 | *
|
419 | * The Normalize reset is unnecessary for us since we default the border-width
|
420 | * to 0 on all elements.
|
421 | *
|
422 | * https://github.com/tailwindcss/tailwindcss/issues/362
|
423 | */
|
424 |
|
425 | img {
|
426 | border-style: solid;
|
427 | }
|
428 |
|
429 | textarea {
|
430 | resize: vertical;
|
431 | }
|
432 |
|
433 | input::placeholder,
|
434 | textarea::placeholder {
|
435 | opacity: 1;
|
436 | color: #9ca3af;
|
437 | }
|
438 |
|
439 | button,
|
440 | [role="button"] {
|
441 | cursor: pointer;
|
442 | }
|
443 |
|
444 | /**
|
445 | * Override legacy focus reset from Normalize with modern Firefox focus styles.
|
446 | *
|
447 | * This is actually an improvement over the new defaults in Firefox in our testing,
|
448 | * as it triggers the better focus styles even for links, which still use a dotted
|
449 | * outline in Firefox by default.
|
450 | */
|
451 |
|
452 | :-moz-focusring {
|
453 | outline: auto;
|
454 | }
|
455 |
|
456 | table {
|
457 | border-collapse: collapse;
|
458 | }
|
459 |
|
460 | h1,
|
461 | h2,
|
462 | h3,
|
463 | h4,
|
464 | h5,
|
465 | h6 {
|
466 | font-size: inherit;
|
467 | font-weight: inherit;
|
468 | }
|
469 |
|
470 | /**
|
471 | * Reset links to optimize for opt-in styling instead of
|
472 | * opt-out.
|
473 | */
|
474 |
|
475 | a {
|
476 | color: inherit;
|
477 | text-decoration: inherit;
|
478 | }
|
479 |
|
480 | /**
|
481 | * Reset form element properties that are easy to forget to
|
482 | * style explicitly so you don't inadvertently introduce
|
483 | * styles that deviate from your design system. These styles
|
484 | * supplement a partial reset that is already applied by
|
485 | * normalize.css.
|
486 | */
|
487 |
|
488 | button,
|
489 | input,
|
490 | optgroup,
|
491 | select,
|
492 | textarea {
|
493 | padding: 0;
|
494 | line-height: inherit;
|
495 | color: inherit;
|
496 | }
|
497 |
|
498 | /**
|
499 | * Use the configured 'mono' font family for elements that
|
500 | * are expected to be rendered with a monospace font, falling
|
501 | * back to the system monospace stack if there is no configured
|
502 | * 'mono' font family.
|
503 | */
|
504 |
|
505 | pre,
|
506 | code,
|
507 | kbd,
|
508 | samp {
|
509 | font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
510 | }
|
511 |
|
512 | /**
|
513 | * 1. Make replaced elements `display: block` by default as that's
|
514 | * the behavior you want almost all of the time. Inspired by
|
515 | * CSS Remedy, with `svg` added as well.
|
516 | *
|
517 | * https://github.com/mozdevs/cssremedy/issues/14
|
518 | *
|
519 | * 2. Add `vertical-align: middle` to align replaced elements more
|
520 | * sensibly by default when overriding `display` by adding a
|
521 | * utility like `inline`.
|
522 | *
|
523 | * This can trigger a poorly considered linting error in some
|
524 | * tools but is included by design.
|
525 | *
|
526 | * https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210
|
527 | */
|
528 |
|
529 | img,
|
530 | svg,
|
531 | video,
|
532 | canvas,
|
533 | audio,
|
534 | iframe,
|
535 | embed,
|
536 | object {
|
537 | display: block; /* 1 */
|
538 | vertical-align: middle; /* 2 */
|
539 | }
|
540 |
|
541 | /**
|
542 | * Constrain images and videos to the parent width and preserve
|
543 | * their intrinsic aspect ratio.
|
544 | *
|
545 | * https://github.com/mozdevs/cssremedy/issues/14
|
546 | */
|
547 |
|
548 | img,
|
549 | video {
|
550 | max-width: 100%;
|
551 | height: auto;
|
552 | }
|
553 |
|
554 | /**
|
555 | * Ensure the default browser behavior of the `hidden` attribute.
|
556 | */
|
557 |
|
558 | [hidden] {
|
559 | display: none;
|
560 | }
|
561 |
|
562 | *, ::before, ::after {
|
563 | --tw-border-opacity: 1;
|
564 | border-color: rgba(229, 231, 235, var(--tw-border-opacity));
|
565 | }
|