391 lines
8.1 KiB
CSS
391 lines
8.1 KiB
CSS
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
|
|
|
|
/* Document
|
|
========================================================================== */
|
|
|
|
/**
|
|
* 1. Correct the line height in all browsers.
|
|
* 2. Prevent adjustments of font size after orientation changes in
|
|
* IE on Windows Phone and in iOS.
|
|
*/
|
|
|
|
html {
|
|
line-height: 1.15; /* 1 */
|
|
-ms-text-size-adjust: 100%; /* 2 */
|
|
-webkit-text-size-adjust: 100%; /* 2 */
|
|
}
|
|
|
|
/* Sections
|
|
========================================================================== */
|
|
|
|
/**
|
|
* Remove the margin in all browsers (opinionated).
|
|
*/
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
/**
|
|
* Add the correct display in IE 9-.
|
|
*/
|
|
|
|
/**
|
|
* Correct the font size and margin on `h1` elements within `section` and
|
|
* `article` contexts in Chrome, Firefox, and Safari.
|
|
*/
|
|
|
|
h1 {
|
|
font-size: 2em;
|
|
margin: .67em 0;
|
|
}
|
|
|
|
/* Grouping content
|
|
========================================================================== */
|
|
|
|
/**
|
|
* Add the correct display in IE 9-.
|
|
* 1. Add the correct display in IE.
|
|
*/
|
|
|
|
/**
|
|
* Add the correct margin in IE 8.
|
|
*/
|
|
|
|
/**
|
|
* 1. Add the correct box sizing in Firefox.
|
|
* 2. Show the overflow in Edge and IE.
|
|
*/
|
|
|
|
/**
|
|
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
* 2. Correct the odd `em` font sizing in all browsers.
|
|
*/
|
|
|
|
/* Text-level semantics
|
|
========================================================================== */
|
|
|
|
/**
|
|
* 1. Remove the gray background on active links in IE 10.
|
|
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
|
|
*/
|
|
|
|
a {
|
|
background-color: transparent; /* 1 */
|
|
-webkit-text-decoration-skip: objects; /* 2 */
|
|
}
|
|
|
|
/**
|
|
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
|
|
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
*/
|
|
|
|
/**
|
|
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
|
|
*/
|
|
|
|
/**
|
|
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
*/
|
|
|
|
/**
|
|
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
* 2. Correct the odd `em` font sizing in all browsers.
|
|
*/
|
|
|
|
code {
|
|
font-family: monospace, monospace; /* 1 */
|
|
font-size: 1em; /* 2 */
|
|
}
|
|
|
|
/**
|
|
* Add the correct font style in Android 4.3-.
|
|
*/
|
|
|
|
/**
|
|
* Add the correct background and color in IE 9-.
|
|
*/
|
|
|
|
/**
|
|
* Add the correct font size in all browsers.
|
|
*/
|
|
|
|
/**
|
|
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
* all browsers.
|
|
*/
|
|
|
|
/* Embedded content
|
|
========================================================================== */
|
|
|
|
/**
|
|
* Add the correct display in IE 9-.
|
|
*/
|
|
|
|
/**
|
|
* Add the correct display in iOS 4-7.
|
|
*/
|
|
|
|
/**
|
|
* Remove the border on images inside links in IE 10-.
|
|
*/
|
|
|
|
/**
|
|
* Hide the overflow in IE.
|
|
*/
|
|
|
|
/* Forms
|
|
========================================================================== */
|
|
|
|
/**
|
|
* 1. Change the font styles in all browsers (opinionated).
|
|
* 2. Remove the margin in Firefox and Safari.
|
|
*/
|
|
|
|
/**
|
|
* Show the overflow in IE.
|
|
* 1. Show the overflow in Edge.
|
|
*/
|
|
|
|
/**
|
|
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
* 1. Remove the inheritance of text transform in Firefox.
|
|
*/
|
|
|
|
/**
|
|
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
|
* controls in Android 4.
|
|
* 2. Correct the inability to style clickable types in iOS and Safari.
|
|
*/
|
|
|
|
|
|
html [type="button"],
|
|
|
|
[type="reset"],
|
|
[type="submit"] {
|
|
-webkit-appearance: button; /* 2 */
|
|
}
|
|
|
|
/**
|
|
* Remove the inner border and padding in Firefox.
|
|
*/
|
|
|
|
|
|
[type="button"]::-moz-focus-inner,
|
|
[type="reset"]::-moz-focus-inner,
|
|
[type="submit"]::-moz-focus-inner {
|
|
border-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
/**
|
|
* Restore the focus styles unset by the previous rule.
|
|
*/
|
|
|
|
|
|
[type="button"]:-moz-focusring,
|
|
[type="reset"]:-moz-focusring,
|
|
[type="submit"]:-moz-focusring {
|
|
outline: 1px dotted ButtonText;
|
|
}
|
|
|
|
/**
|
|
* Correct the padding in Firefox.
|
|
*/
|
|
|
|
/**
|
|
* 1. Correct the text wrapping in Edge and IE.
|
|
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
* 3. Remove the padding so developers are not caught out when they zero out
|
|
* `fieldset` elements in all browsers.
|
|
*/
|
|
|
|
/**
|
|
* 1. Add the correct display in IE 9-.
|
|
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
*/
|
|
|
|
/**
|
|
* Remove the default vertical scrollbar in IE.
|
|
*/
|
|
|
|
/**
|
|
* 1. Add the correct box sizing in IE 10-.
|
|
* 2. Remove the padding in IE 10-.
|
|
*/
|
|
|
|
[type="checkbox"],
|
|
[type="radio"] {
|
|
box-sizing: border-box; /* 1 */
|
|
padding: 0; /* 2 */
|
|
}
|
|
|
|
/**
|
|
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
*/
|
|
|
|
[type="number"]::-webkit-inner-spin-button,
|
|
[type="number"]::-webkit-outer-spin-button {
|
|
height: auto;
|
|
}
|
|
|
|
/**
|
|
* 1. Correct the odd appearance in Chrome and Safari.
|
|
* 2. Correct the outline style in Safari.
|
|
*/
|
|
|
|
[type="search"] {
|
|
-webkit-appearance: textfield; /* 1 */
|
|
outline-offset: -2px; /* 2 */
|
|
}
|
|
|
|
/**
|
|
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
|
|
*/
|
|
|
|
[type="search"]::-webkit-search-cancel-button,
|
|
[type="search"]::-webkit-search-decoration {
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
/**
|
|
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
* 2. Change font properties to `inherit` in Safari.
|
|
*/
|
|
|
|
::-webkit-file-upload-button {
|
|
-webkit-appearance: button; /* 1 */
|
|
font: inherit; /* 2 */
|
|
}
|
|
|
|
/* Interactive
|
|
========================================================================== */
|
|
|
|
/*
|
|
* Add the correct display in IE 9-.
|
|
* 1. Add the correct display in Edge, IE, and Firefox.
|
|
*/
|
|
|
|
/*
|
|
* Add the correct display in all browsers.
|
|
*/
|
|
|
|
/* Scripting
|
|
========================================================================== */
|
|
|
|
/**
|
|
* Add the correct display in IE 9-.
|
|
*/
|
|
|
|
/**
|
|
* Add the correct display in IE.
|
|
*/
|
|
|
|
/* Hidden
|
|
========================================================================== */
|
|
|
|
/**
|
|
* Add the correct display in IE 10-.
|
|
*/
|
|
|
|
[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
/**
|
|
* Manually forked from SUIT CSS Base: https://github.com/suitcss/base
|
|
* A thin layer on top of normalize.css that provides a starting point more
|
|
* suitable for web applications.
|
|
*/
|
|
|
|
/**
|
|
* 1. Prevent padding and border from affecting element width
|
|
* https://goo.gl/pYtbK7
|
|
* 2. Change the default font family in all browsers (opinionated)
|
|
*/
|
|
|
|
html {
|
|
box-sizing: border-box; /* 1 */
|
|
font-family: sans-serif; /* 2 */
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
/**
|
|
* Removes the default spacing and border for appropriate elements.
|
|
*/
|
|
|
|
|
|
h1,
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
/**
|
|
* Work around a Firefox/IE bug where the transparent `button` background
|
|
* results in a loss of the default `button` focus styles.
|
|
*/
|
|
|
|
/**
|
|
* Tailwind custom reset styles
|
|
*/
|
|
|
|
/**
|
|
* Allow adding a border to an element by just adding a border-width.
|
|
*
|
|
* By default, the way the browser specifies that an element should have no
|
|
* border is by setting it's border-style to `none` in the user-agent
|
|
* stylesheet.
|
|
*
|
|
* In order to easily add borders to elements by just setting the `border-width`
|
|
* property, we change the default border-style for all elements to `solid`, and
|
|
* use border-width to hide them instead. This way our `border` utilities only
|
|
* need to set the `border-width` property instead of the entire `border`
|
|
* shorthand, making our border utilities much more straightforward to compose.
|
|
*
|
|
* https://github.com/tailwindcss/tailwindcss/pull/116
|
|
*/
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
border-width: 0;
|
|
border-style: solid;
|
|
border-color: #dae1e7;
|
|
}
|
|
|
|
/**
|
|
* Undo the `border-style: none` reset that Normalize applies to images so that
|
|
* our `border-{width}` utilities have the expected effect.
|
|
*
|
|
* The Normalize reset is unnecessary for us since we default the border-width
|
|
* to 0 on all elements.
|
|
*
|
|
* https://github.com/tailwindcss/tailwindcss/issues/362
|
|
*/
|
|
|
|
/**
|
|
* Temporary reset for a change introduced in Chrome 62 but now reverted.
|
|
*
|
|
* We can remove this when the reversion is in a normal Chrome release.
|
|
*/
|
|
|
|
|
|
[type="button"],
|
|
[type="reset"],
|
|
[type="submit"] {
|
|
border-radius: 0;
|
|
}
|
|
|
|
[role=button] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.font-sans {
|
|
font-family: system-ui, BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
|
}
|