1
- /*! normalize.css v6 .0.0 | MIT License | github.com/necolas/normalize.css */
1
+ /*! normalize.css v8 .0.1 | MIT License | github.com/necolas/normalize.css */
2
2
3
3
/* Document
4
4
========================================================================== */
5
5
6
6
/**
7
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.
8
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
10
9
*/
11
10
12
11
html {
13
12
line-height : 1.15 ; /* 1 */
14
- -ms-text-size-adjust : 100% ; /* 2 */
15
13
-webkit-text-size-adjust : 100% ; /* 2 */
16
14
}
17
15
18
16
/* Sections
19
17
========================================================================== */
20
18
21
19
/**
22
- * Add the correct display in IE 9- .
20
+ * Remove the margin in all browsers .
23
21
*/
24
22
25
- article ,
26
- aside ,
27
- footer ,
28
- header ,
29
- nav ,
30
- section {
23
+ body {
24
+ margin : 0 ;
25
+ }
26
+
27
+ /**
28
+ * Render the `main` element consistently in IE.
29
+ */
30
+
31
+ main {
31
32
display : block;
32
33
}
33
34
44
45
/* Grouping content
45
46
========================================================================== */
46
47
47
- /**
48
- * Add the correct display in IE 9-.
49
- * 1. Add the correct display in IE.
50
- */
51
-
52
- figcaption ,
53
- figure ,
54
- main { /* 1 */
55
- display : block;
56
- }
57
-
58
- /**
59
- * Add the correct margin in IE 8.
60
- */
61
-
62
- figure {
63
- margin : 1em 40px ;
64
- }
65
-
66
48
/**
67
49
* 1. Add the correct box sizing in Firefox.
68
50
* 2. Show the overflow in Edge and IE.
@@ -88,17 +70,15 @@ pre {
88
70
========================================================================== */
89
71
90
72
/**
91
- * 1. Remove the gray background on active links in IE 10.
92
- * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
73
+ * Remove the gray background on active links in IE 10.
93
74
*/
94
75
95
76
a {
96
- background-color : transparent; /* 1 */
97
- -webkit-text-decoration-skip : objects; /* 2 */
77
+ background-color : transparent;
98
78
}
99
79
100
80
/**
101
- * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
81
+ * 1. Remove the bottom border in Chrome 57-
102
82
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
103
83
*/
104
84
@@ -108,15 +88,6 @@ abbr[title] {
108
88
text-decoration : underline dotted; /* 2 */
109
89
}
110
90
111
- /**
112
- * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
113
- */
114
-
115
- b ,
116
- strong {
117
- font-weight : inherit;
118
- }
119
-
120
91
/**
121
92
* Add the correct font weight in Chrome, Edge, and Safari.
122
93
*/
@@ -138,23 +109,6 @@ samp {
138
109
font-size : 1em ; /* 2 */
139
110
}
140
111
141
- /**
142
- * Add the correct font style in Android 4.3-.
143
- */
144
-
145
- dfn {
146
- font-style : italic;
147
- }
148
-
149
- /**
150
- * Add the correct background and color in IE 9-.
151
- */
152
-
153
- mark {
154
- background-color : # ff0 ;
155
- color : # 000 ;
156
- }
157
-
158
112
/**
159
113
* Add the correct font size in all browsers.
160
114
*/
@@ -188,52 +142,30 @@ sup {
188
142
========================================================================== */
189
143
190
144
/**
191
- * Add the correct display in IE 9-.
192
- */
193
-
194
- audio ,
195
- video {
196
- display : inline-block;
197
- }
198
-
199
- /**
200
- * Add the correct display in iOS 4-7.
201
- */
202
-
203
- audio : not ([controls ]) {
204
- display : none;
205
- height : 0 ;
206
- }
207
-
208
- /**
209
- * Remove the border on images inside links in IE 10-.
145
+ * Remove the border on images inside links in IE 10.
210
146
*/
211
147
212
148
img {
213
149
border-style : none;
214
150
}
215
151
216
- /**
217
- * Hide the overflow in IE.
218
- */
219
-
220
- svg : not (: root ) {
221
- overflow : hidden;
222
- }
223
-
224
152
/* Forms
225
153
========================================================================== */
226
154
227
155
/**
228
- * Remove the margin in Firefox and Safari.
156
+ * 1. Change the font styles in all browsers.
157
+ * 2. Remove the margin in Firefox and Safari.
229
158
*/
230
159
231
160
button ,
232
161
input ,
233
162
optgroup ,
234
163
select ,
235
164
textarea {
236
- margin : 0 ;
165
+ font-family : inherit; /* 1 */
166
+ font-size : 100% ; /* 1 */
167
+ line-height : 1.15 ; /* 1 */
168
+ margin : 0 ; /* 2 */
237
169
}
238
170
239
171
/**
@@ -257,16 +189,14 @@ select { /* 1 */
257
189
}
258
190
259
191
/**
260
- * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
261
- * controls in Android 4.
262
- * 2. Correct the inability to style clickable types in iOS and Safari.
192
+ * Correct the inability to style clickable types in iOS and Safari.
263
193
*/
264
194
265
195
button ,
266
- html [type = "button" ], /* 1 */
196
+ [type = "button" ],
267
197
[type = "reset" ],
268
198
[type = "submit" ] {
269
- -webkit-appearance : button; /* 2 */
199
+ -webkit-appearance : button;
270
200
}
271
201
272
202
/**
@@ -292,6 +222,14 @@ button:-moz-focusring,
292
222
outline : 1px dotted ButtonText;
293
223
}
294
224
225
+ /**
226
+ * Correct the padding in Firefox.
227
+ */
228
+
229
+ fieldset {
230
+ padding : 0.35em 0.75em 0.625em ;
231
+ }
232
+
295
233
/**
296
234
* 1. Correct the text wrapping in Edge and IE.
297
235
* 2. Correct the color inheritance from `fieldset` elements in IE.
@@ -309,26 +247,24 @@ legend {
309
247
}
310
248
311
249
/**
312
- * 1. Add the correct display in IE 9-.
313
- * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
250
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
314
251
*/
315
252
316
253
progress {
317
- display : inline-block; /* 1 */
318
- vertical-align : baseline; /* 2 */
254
+ vertical-align : baseline;
319
255
}
320
256
321
257
/**
322
- * Remove the default vertical scrollbar in IE.
258
+ * Remove the default vertical scrollbar in IE 10+ .
323
259
*/
324
260
325
261
textarea {
326
262
overflow : auto;
327
263
}
328
264
329
265
/**
330
- * 1. Add the correct box sizing in IE 10- .
331
- * 2. Remove the padding in IE 10- .
266
+ * 1. Add the correct box sizing in IE 10.
267
+ * 2. Remove the padding in IE 10.
332
268
*/
333
269
334
270
[type = "checkbox" ],
@@ -357,10 +293,9 @@ textarea {
357
293
}
358
294
359
295
/**
360
- * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
296
+ * Remove the inner padding in Chrome and Safari on macOS.
361
297
*/
362
298
363
- [type = "search" ]::-webkit-search-cancel-button ,
364
299
[type = "search" ]::-webkit-search-decoration {
365
300
-webkit-appearance : none;
366
301
}
@@ -379,12 +314,10 @@ textarea {
379
314
========================================================================== */
380
315
381
316
/*
382
- * Add the correct display in IE 9-.
383
- * 1. Add the correct display in Edge, IE, and Firefox.
317
+ * Add the correct display in Edge, IE 10+, and Firefox.
384
318
*/
385
319
386
- details , /* 1 */
387
- menu {
320
+ details {
388
321
display : block;
389
322
}
390
323
@@ -396,30 +329,19 @@ summary {
396
329
display : list-item;
397
330
}
398
331
399
- /* Scripting
332
+ /* Misc
400
333
========================================================================== */
401
334
402
335
/**
403
- * Add the correct display in IE 9-.
404
- */
405
-
406
- canvas {
407
- display : inline-block;
408
- }
409
-
410
- /**
411
- * Add the correct display in IE.
336
+ * Add the correct display in IE 10+.
412
337
*/
413
338
414
339
template {
415
340
display : none;
416
341
}
417
342
418
- /* Hidden
419
- ========================================================================== */
420
-
421
343
/**
422
- * Add the correct display in IE 10- .
344
+ * Add the correct display in IE 10.
423
345
*/
424
346
425
347
[hidden ] {
0 commit comments