UNPKG

7.64 kBCSSView Raw
1/* stylelint-disable */
2/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
3/* Document
4========================================================================== */
5/**
6* 1. Correct the line height in all browsers.
7* 2. Prevent adjustments of font size after orientation changes in
8* IE on Windows Phone and in iOS.
9*/
10html {
11 line-height: 1.15;
12 /* 1 */
13 -ms-text-size-adjust: 100%;
14 /* 2 */
15 -webkit-text-size-adjust: 100%;
16 /* 2 */ }
17
18/* Sections
19 ========================================================================== */
20/**
21* Remove the margin in all browsers (opinionated).
22*/
23body {
24 margin: 0; }
25
26/**
27* Add the correct display in IE 9-.
28*/
29article,
30aside,
31footer,
32header,
33nav,
34section {
35 display: block; }
36
37/**
38* Correct the font size and margin on `h1` elements within `section` and
39* `article` contexts in Chrome, Firefox, and Safari.
40*/
41h1 {
42 font-size: 2em;
43 margin: .67em 0; }
44
45/* Grouping content
46 ========================================================================== */
47/**
48* Add the correct display in IE 9-.
49* 1. Add the correct display in IE.
50*/
51figcaption,
52figure,
53main {
54 /* 1 */
55 display: block; }
56
57/**
58* Add the correct margin in IE 8.
59*/
60figure {
61 margin: 1em 40px; }
62
63/**
64* 1. Add the correct box sizing in Firefox.
65* 2. Show the overflow in Edge and IE.
66*/
67hr {
68 box-sizing: content-box;
69 /* 1 */
70 height: 0;
71 /* 1 */
72 overflow: visible;
73 /* 2 */ }
74
75/**
76* 1. Correct the inheritance and scaling of font size in all browsers.
77* 2. Correct the odd `em` font sizing in all browsers.
78*/
79pre {
80 font-family: monospace, monospace;
81 /* 1 */
82 font-size: 1em;
83 /* 2 */ }
84
85/* Text-level semantics
86 ========================================================================== */
87/**
88* 1. Remove the gray background on active links in IE 10.
89* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
90*/
91a {
92 background-color: transparent;
93 /* 1 */
94 -webkit-text-decoration-skip: objects;
95 /* 2 */ }
96
97/**
98* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
99* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
100*/
101abbr[title] {
102 border-bottom: none;
103 /* 1 */
104 text-decoration: underline;
105 /* 2 */
106 text-decoration: underline dotted;
107 /* 2 */ }
108
109/**
110* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
111*/
112b,
113strong {
114 font-weight: inherit; }
115
116/**
117* Add the correct font weight in Chrome, Edge, and Safari.
118*/
119b,
120strong {
121 font-weight: bolder; }
122
123/**
124* 1. Correct the inheritance and scaling of font size in all browsers.
125* 2. Correct the odd `em` font sizing in all browsers.
126*/
127code,
128kbd,
129samp {
130 font-family: monospace, monospace;
131 /* 1 */
132 font-size: 1em;
133 /* 2 */ }
134
135/**
136* Add the correct font style in Android 4.3-.
137*/
138dfn {
139 font-style: italic; }
140
141/**
142* Add the correct background and color in IE 9-.
143*/
144mark {
145 background-color: #FF0;
146 color: #000; }
147
148/**
149* Add the correct font size in all browsers.
150*/
151small {
152 font-size: 80%; }
153
154/**
155* Prevent `sub` and `sup` elements from affecting the line height in
156* all browsers.
157*/
158sub,
159sup {
160 font-size: 75%;
161 line-height: 0;
162 position: relative;
163 vertical-align: baseline; }
164
165sub {
166 bottom: -.25em; }
167
168sup {
169 top: -.5em; }
170
171/* Embedded content
172 ========================================================================== */
173/**
174* Add the correct display in IE 9-.
175*/
176audio,
177video {
178 display: inline-block; }
179
180/**
181* Add the correct display in iOS 4-7.
182*/
183audio:not([controls]) {
184 display: none;
185 height: 0; }
186
187/**
188* Remove the border on images inside links in IE 10-.
189*/
190img {
191 border-style: none; }
192
193/**
194* Hide the overflow in IE.
195*/
196svg:not(:root) {
197 overflow: hidden; }
198
199/* Forms
200 ========================================================================== */
201/**
202* 1. Change the font styles in all browsers (opinionated).
203* 2. Remove the margin in Firefox and Safari.
204*/
205button,
206input,
207optgroup,
208select,
209textarea {
210 font-family: sans-serif;
211 /* 1 */
212 font-size: 100%;
213 /* 1 */
214 line-height: 1.15;
215 /* 1 */
216 margin: 0;
217 /* 2 */ }
218
219/**
220* Show the overflow in IE.
221* 1. Show the overflow in Edge.
222*/
223button,
224input {
225 /* 1 */
226 overflow: visible; }
227
228/**
229* Remove the inheritance of text transform in Edge, Firefox, and IE.
230* 1. Remove the inheritance of text transform in Firefox.
231*/
232button,
233select {
234 /* 1 */
235 text-transform: none; }
236
237/**
238* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
239* controls in Android 4.
240* 2. Correct the inability to style clickable types in iOS and Safari.
241*/
242button,
243html [type="button"],
244[type="reset"],
245[type="submit"] {
246 -webkit-appearance: button;
247 /* 2 */ }
248
249/**
250* Remove the inner border and padding in Firefox.
251*/
252button::-moz-focus-inner,
253[type="button"]::-moz-focus-inner,
254[type="reset"]::-moz-focus-inner,
255[type="submit"]::-moz-focus-inner {
256 border-style: none;
257 padding: 0; }
258
259/**
260* Restore the focus styles unset by the previous rule.
261*/
262button:-moz-focusring,
263[type="button"]:-moz-focusring,
264[type="reset"]:-moz-focusring,
265[type="submit"]:-moz-focusring {
266 outline: 1px dotted ButtonText; }
267
268/**
269* Correct the padding in Firefox.
270*/
271fieldset {
272 padding: .35em .75em .625em; }
273
274/**
275* 1. Correct the text wrapping in Edge and IE.
276* 2. Correct the color inheritance from `fieldset` elements in IE.
277* 3. Remove the padding so developers are not caught out when they zero out
278* `fieldset` elements in all browsers.
279*/
280legend {
281 box-sizing: border-box;
282 /* 1 */
283 color: inherit;
284 /* 2 */
285 display: table;
286 /* 1 */
287 max-width: 100%;
288 /* 1 */
289 padding: 0;
290 /* 3 */
291 white-space: normal;
292 /* 1 */ }
293
294/**
295* 1. Add the correct display in IE 9-.
296* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
297*/
298progress {
299 display: inline-block;
300 /* 1 */
301 vertical-align: baseline;
302 /* 2 */ }
303
304/**
305* Remove the default vertical scrollbar in IE.
306*/
307textarea {
308 overflow: auto; }
309
310/**
311* 1. Add the correct box sizing in IE 10-.
312* 2. Remove the padding in IE 10-.
313*/
314[type="checkbox"],
315[type="radio"] {
316 box-sizing: border-box;
317 /* 1 */
318 padding: 0;
319 /* 2 */ }
320
321/**
322* Correct the cursor style of increment and decrement buttons in Chrome.
323*/
324[type="number"]::-webkit-inner-spin-button,
325[type="number"]::-webkit-outer-spin-button {
326 height: auto; }
327
328/**
329* 1. Correct the odd appearance in Chrome and Safari.
330* 2. Correct the outline style in Safari.
331*/
332[type="search"] {
333 -webkit-appearance: textfield;
334 /* 1 */
335 outline-offset: -2px;
336 /* 2 */ }
337
338/**
339* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
340*/
341[type="search"]::-webkit-search-cancel-button,
342[type="search"]::-webkit-search-decoration {
343 -webkit-appearance: none; }
344
345/**
346* 1. Correct the inability to style clickable types in iOS and Safari.
347* 2. Change font properties to `inherit` in Safari.
348*/
349::-webkit-file-upload-button {
350 -webkit-appearance: button;
351 /* 1 */
352 font: inherit;
353 /* 2 */ }
354
355/* Interactive
356 ========================================================================== */
357/*
358* Add the correct display in IE 9-.
359* 1. Add the correct display in Edge, IE, and Firefox.
360*/
361details,
362menu {
363 display: block; }
364
365/*
366* Add the correct display in all browsers.
367*/
368summary {
369 display: list-item; }
370
371/* Scripting
372 ========================================================================== */
373/**
374* Add the correct display in IE 9-.
375*/
376canvas {
377 display: inline-block; }
378
379/**
380* Add the correct display in IE.
381*/
382template {
383 display: none; }
384
385/* Hidden
386 ========================================================================== */
387/**
388* Add the correct display in IE 10-.
389*/
390[hidden] {
391 display: none; }