1 /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
4 ========================================================================== */
7 * 1. Correct the line height in all browsers.
8 * 2. Prevent adjustments of font size after orientation changes in
9 * IE on Windows Phone and in iOS.
13 line-height: 1.15; /* 1 */
14 -ms-text-size-adjust: 100%; /* 2 */
15 -webkit-text-size-adjust: 100%; /* 2 */
19 ========================================================================== */
22 * Remove the margin in all browsers (opinionated).
30 * Add the correct display in IE 9-.
43 * Correct the font size and margin on `h1` elements within `section` and
44 * `article` contexts in Chrome, Firefox, and Safari.
53 ========================================================================== */
56 * Add the correct display in IE 9-.
57 * 1. Add the correct display in IE.
67 * Add the correct margin in IE 8.
75 * 1. Add the correct box sizing in Firefox.
76 * 2. Show the overflow in Edge and IE.
80 box-sizing: content-box; /* 1 */
82 overflow: visible; /* 2 */
86 * 1. Correct the inheritance and scaling of font size in all browsers.
87 * 2. Correct the odd `em` font sizing in all browsers.
91 font-family: monospace, monospace; /* 1 */
92 font-size: 1em; /* 2 */
95 /* Text-level semantics
96 ========================================================================== */
99 * 1. Remove the gray background on active links in IE 10.
100 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
105 text-decoration: none;
106 background-color: transparent; /* 1 */
107 -webkit-text-decoration-skip: objects; /* 2 */
108 transition: color $ease-out 350ms, border-bottom-color $ease-out 350ms;
110 border-bottom-color: transparent;
111 color: $color-primary;
116 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
117 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
121 border-bottom: none; /* 1 */
122 text-decoration: underline; /* 2 */
123 text-decoration: underline dotted; /* 2 */
127 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
132 font-weight: inherit;
136 * Add the correct font weight in Chrome, Edge, and Safari.
145 * 1. Correct the inheritance and scaling of font size in all browsers.
146 * 2. Correct the odd `em` font sizing in all browsers.
152 font-family: monospace, monospace; /* 1 */
153 font-size: 1em; /* 2 */
157 * Add the correct font style in Android 4.3-.
165 * Add the correct background and color in IE 9-.
169 background-color: #ff0;
174 * Add the correct font size in all browsers.
182 * Prevent `sub` and `sup` elements from affecting the line height in
191 vertical-align: baseline;
203 ========================================================================== */
206 * Add the correct display in IE 9-.
211 display: inline-block;
215 * Add the correct display in iOS 4-7.
218 audio:not([controls]) {
224 * Remove the border on images inside links in IE 10-.
232 * Hide the overflow in IE.
240 ========================================================================== */
243 * 1. Change the font styles in all browsers (opinionated).
244 * 2. Remove the margin in Firefox and Safari.
252 font-family: sans-serif; /* 1 */
253 font-size: 100%; /* 1 */
254 line-height: 1.15; /* 1 */
259 * Show the overflow in IE.
260 * 1. Show the overflow in Edge.
269 * Remove the inheritance of text transform in Edge, Firefox, and IE.
270 * 1. Remove the inheritance of text transform in Firefox.
275 text-transform: none;
279 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
280 * controls in Android 4.
281 * 2. Correct the inability to style clickable types in iOS and Safari.
285 html [type="button"], /* 1 */
288 -webkit-appearance: button; /* 2 */
292 * Remove the inner border and padding in Firefox.
295 button::-moz-focus-inner,
296 [type="button"]::-moz-focus-inner,
297 [type="reset"]::-moz-focus-inner,
298 [type="submit"]::-moz-focus-inner {
304 * Restore the focus styles unset by the previous rule.
307 button:-moz-focusring,
308 [type="button"]:-moz-focusring,
309 [type="reset"]:-moz-focusring,
310 [type="submit"]:-moz-focusring {
311 outline: 1px dotted ButtonText;
315 * Correct the padding in Firefox.
319 padding: 0.35em 0.75em 0.625em;
323 * 1. Correct the text wrapping in Edge and IE.
324 * 2. Correct the color inheritance from `fieldset` elements in IE.
325 * 3. Remove the padding so developers are not caught out when they zero out
326 * `fieldset` elements in all browsers.
330 box-sizing: border-box; /* 1 */
331 color: inherit; /* 2 */
332 display: table; /* 1 */
333 max-width: 100%; /* 1 */
335 white-space: normal; /* 1 */
339 * 1. Add the correct display in IE 9-.
340 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
344 display: inline-block; /* 1 */
345 vertical-align: baseline; /* 2 */
349 * Remove the default vertical scrollbar in IE.
357 * 1. Add the correct box sizing in IE 10-.
358 * 2. Remove the padding in IE 10-.
363 box-sizing: border-box; /* 1 */
368 * Correct the cursor style of increment and decrement buttons in Chrome.
371 [type="number"]::-webkit-inner-spin-button,
372 [type="number"]::-webkit-outer-spin-button {
377 * 1. Correct the odd appearance in Chrome and Safari.
378 * 2. Correct the outline style in Safari.
382 -webkit-appearance: textfield; /* 1 */
383 outline-offset: -2px; /* 2 */
387 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
390 [type="search"]::-webkit-search-cancel-button,
391 [type="search"]::-webkit-search-decoration {
392 -webkit-appearance: none;
396 * 1. Correct the inability to style clickable types in iOS and Safari.
397 * 2. Change font properties to `inherit` in Safari.
400 ::-webkit-file-upload-button {
401 -webkit-appearance: button; /* 1 */
402 font: inherit; /* 2 */
406 ========================================================================== */
409 * Add the correct display in IE 9-.
410 * 1. Add the correct display in Edge, IE, and Firefox.
419 * Add the correct display in all browsers.
427 ========================================================================== */
430 * Add the correct display in IE 9-.
434 display: inline-block;
438 * Add the correct display in IE.
446 ========================================================================== */
449 * Add the correct display in IE 10-.