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+.
104 background-color: transparent
; /* 1 */
105 -webkit-text-decoration-skip: objects
; /* 2 */
109 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
110 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
114 border-bottom: none
; /* 1 */
115 text-decoration: underline
; /* 2 */
116 text-decoration: underline dotted
; /* 2 */
120 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
125 font-weight: inherit
;
129 * Add the correct font weight in Chrome, Edge, and Safari.
138 * 1. Correct the inheritance and scaling of font size in all browsers.
139 * 2. Correct the odd `em` font sizing in all browsers.
145 font-family: monospace
, monospace
; /* 1 */
146 font-size: 1em; /* 2 */
150 * Add the correct font style in Android 4.3-.
158 * Add the correct background and color in IE 9-.
162 background-color: #ff0;
167 * Add the correct font size in all browsers.
175 * Prevent `sub` and `sup` elements from affecting the line height in
184 vertical-align: baseline
;
196 ========================================================================== */
199 * Add the correct display in IE 9-.
204 display: inline-block
;
208 * Add the correct display in iOS 4-7.
211 audio:not
([controls
]) {
217 * Remove the border on images inside links in IE 10-.
225 * Hide the overflow in IE.
233 ========================================================================== */
236 * 1. Change the font styles in all browsers (opinionated).
237 * 2. Remove the margin in Firefox and Safari.
245 font-family: sans-serif
; /* 1 */
246 font-size: 100%; /* 1 */
247 line-height: 1.15; /* 1 */
252 * Show the overflow in IE.
253 * 1. Show the overflow in Edge.
262 * Remove the inheritance of text transform in Edge, Firefox, and IE.
263 * 1. Remove the inheritance of text transform in Firefox.
268 text-transform: none
;
272 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
273 * controls in Android 4.
274 * 2. Correct the inability to style clickable types in iOS and Safari.
278 html
[type
="button"], /* 1 */
281 -webkit-appearance: button
; /* 2 */
285 * Remove the inner border and padding in Firefox.
288 button::-moz-focus-inner
,
289 [type
="button"]::-moz-focus-inner
,
290 [type
="reset"]::-moz-focus-inner
,
291 [type
="submit"]::-moz-focus-inner
{
297 * Restore the focus styles unset by the previous rule.
300 button:-moz-focusring
,
301 [type
="button"]:-moz-focusring
,
302 [type
="reset"]:-moz-focusring
,
303 [type
="submit"]:-moz-focusring
{
304 outline: 1px dotted ButtonText
;
308 * Correct the padding in Firefox.
312 padding: 0.35em 0.75em 0.625em;
316 * 1. Correct the text wrapping in Edge and IE.
317 * 2. Correct the color inheritance from `fieldset` elements in IE.
318 * 3. Remove the padding so developers are not caught out when they zero out
319 * `fieldset` elements in all browsers.
323 box-sizing: border-box
; /* 1 */
324 color: inherit
; /* 2 */
325 display: table
; /* 1 */
326 max-width: 100%; /* 1 */
328 white-space: normal
; /* 1 */
332 * 1. Add the correct display in IE 9-.
333 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
337 display: inline-block
; /* 1 */
338 vertical-align: baseline
; /* 2 */
342 * Remove the default vertical scrollbar in IE.
350 * 1. Add the correct box sizing in IE 10-.
351 * 2. Remove the padding in IE 10-.
356 box-sizing: border-box
; /* 1 */
361 * Correct the cursor style of increment and decrement buttons in Chrome.
364 [type
="number"]::-webkit-inner-spin-button
,
365 [type
="number"]::-webkit-outer-spin-button
{
370 * 1. Correct the odd appearance in Chrome and Safari.
371 * 2. Correct the outline style in Safari.
375 -webkit-appearance: textfield
; /* 1 */
376 outline-offset: -2px; /* 2 */
380 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
383 [type
="search"]::-webkit-search-cancel-button
,
384 [type
="search"]::-webkit-search-decoration
{
385 -webkit-appearance: none
;
389 * 1. Correct the inability to style clickable types in iOS and Safari.
390 * 2. Change font properties to `inherit` in Safari.
393 ::-webkit-file-upload-button
{
394 -webkit-appearance: button
; /* 1 */
395 font: inherit
; /* 2 */
399 ========================================================================== */
402 * Add the correct display in IE 9-.
403 * 1. Add the correct display in Edge, IE, and Firefox.
412 * Add the correct display in all browsers.
420 ========================================================================== */
423 * Add the correct display in IE 9-.
427 display: inline-block
;
431 * Add the correct display in IE.
439 ========================================================================== */
442 * Add the correct display in IE 10-.