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
- * Remove the margin in all browsers (opinionated) .
20
+ * Remove the margin in all browsers.
23
21
*/
24
22
25
23
body {
26
24
margin : 0 ;
27
25
}
28
26
29
- /**
30
- * Add the correct display in IE 9-.
31
- */
32
-
33
- article ,
34
- aside ,
35
- footer ,
36
- header ,
37
- nav ,
38
- section {
39
- display : block;
40
- }
41
-
42
27
/**
43
28
* Correct the font size and margin on `h1` elements within `section` and
44
29
* `article` contexts in Chrome, Firefox, and Safari.
52
37
/* Grouping content
53
38
========================================================================== */
54
39
55
- /**
56
- * Add the correct display in IE 9-.
57
- * 1. Add the correct display in IE.
58
- */
59
-
60
- figcaption ,
61
- figure ,
62
- main { /* 1 */
63
- display : block;
64
- }
65
-
66
- /**
67
- * Add the correct margin in IE 8.
68
- */
69
-
70
- figure {
71
- margin : 1em 40px ;
72
- }
73
-
74
40
/**
75
41
* 1. Add the correct box sizing in Firefox.
76
42
* 2. Show the overflow in Edge and IE.
104
70
}
105
71
106
72
/**
107
- * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
73
+ * 1. Remove the bottom border in Chrome 57-
108
74
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
109
75
*/
110
76
@@ -114,15 +80,6 @@ abbr[title] {
114
80
text-decoration : underline dotted; /* 2 */
115
81
}
116
82
117
- /**
118
- * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
119
- */
120
-
121
- b ,
122
- strong {
123
- font-weight : inherit;
124
- }
125
-
126
83
/**
127
84
* Add the correct font weight in Chrome, Edge, and Safari.
128
85
*/
@@ -144,23 +101,6 @@ samp {
144
101
font-size : 1em ; /* 2 */
145
102
}
146
103
147
- /**
148
- * Add the correct font style in Android 4.3-.
149
- */
150
-
151
- dfn {
152
- font-style : italic;
153
- }
154
-
155
- /**
156
- * Add the correct background and color in IE 9-.
157
- */
158
-
159
- mark {
160
- background-color : # ff0 ;
161
- color : # 000 ;
162
- }
163
-
164
104
/**
165
105
* Add the correct font size in all browsers.
166
106
*/
@@ -194,44 +134,18 @@ sup {
194
134
========================================================================== */
195
135
196
136
/**
197
- * Add the correct display in IE 9-.
198
- */
199
-
200
- audio ,
201
- video {
202
- display : inline-block;
203
- }
204
-
205
- /**
206
- * Add the correct display in iOS 4-7.
207
- */
208
-
209
- audio : not ([controls ]) {
210
- display : none;
211
- height : 0 ;
212
- }
213
-
214
- /**
215
- * Remove the border on images inside links in IE 10-.
137
+ * Remove the border on images inside links in IE 10.
216
138
*/
217
139
218
140
img {
219
141
border-style : none;
220
142
}
221
143
222
- /**
223
- * Hide the overflow in IE.
224
- */
225
-
226
- svg : not (: root ) {
227
- overflow : hidden;
228
- }
229
-
230
144
/* Forms
231
145
========================================================================== */
232
146
233
147
/**
234
- * 1. Change the font styles in all browsers (opinionated) .
148
+ * 1. Change the font styles in all browsers.
235
149
* 2. Remove the margin in Firefox and Safari.
236
150
*/
237
151
@@ -267,16 +181,14 @@ select { /* 1 */
267
181
}
268
182
269
183
/**
270
- * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
271
- * controls in Android 4.
272
- * 2. Correct the inability to style clickable types in iOS and Safari.
184
+ * Correct the inability to style clickable types in iOS and Safari.
273
185
*/
274
186
275
187
button ,
276
- html [type = "button" ], /* 1 */
188
+ [type = "button" ],
277
189
[type = "reset" ],
278
190
[type = "submit" ] {
279
- -webkit-appearance : button; /* 2 */
191
+ -webkit-appearance : button;
280
192
}
281
193
282
194
/**
@@ -327,26 +239,24 @@ legend {
327
239
}
328
240
329
241
/**
330
- * 1. Add the correct display in IE 9-.
331
- * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
242
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
332
243
*/
333
244
334
245
progress {
335
- display : inline-block; /* 1 */
336
- vertical-align : baseline; /* 2 */
246
+ vertical-align : baseline;
337
247
}
338
248
339
249
/**
340
- * Remove the default vertical scrollbar in IE.
250
+ * Remove the default vertical scrollbar in IE 10+ .
341
251
*/
342
252
343
253
textarea {
344
254
overflow : auto;
345
255
}
346
256
347
257
/**
348
- * 1. Add the correct box sizing in IE 10- .
349
- * 2. Remove the padding in IE 10- .
258
+ * 1. Add the correct box sizing in IE 10.
259
+ * 2. Remove the padding in IE 10.
350
260
*/
351
261
352
262
[type = "checkbox" ],
@@ -397,12 +307,10 @@ textarea {
397
307
========================================================================== */
398
308
399
309
/*
400
- * Add the correct display in IE 9-.
401
- * 1. Add the correct display in Edge, IE, and Firefox.
310
+ * Add the correct display in Edge, IE 10+, and Firefox.
402
311
*/
403
312
404
- details , /* 1 */
405
- menu {
313
+ details {
406
314
display : block;
407
315
}
408
316
@@ -414,30 +322,19 @@ summary {
414
322
display : list-item;
415
323
}
416
324
417
- /* Scripting
325
+ /* Misc
418
326
========================================================================== */
419
327
420
328
/**
421
- * Add the correct display in IE 9-.
422
- */
423
-
424
- canvas {
425
- display : inline-block;
426
- }
427
-
428
- /**
429
- * Add the correct display in IE.
329
+ * Add the correct display in IE 10+.
430
330
*/
431
331
432
332
template {
433
333
display : none;
434
334
}
435
335
436
- /* Hidden
437
- ========================================================================== */
438
-
439
336
/**
440
- * Add the correct display in IE 10- .
337
+ * Add the correct display in IE 10.
441
338
*/
442
339
443
340
[hidden ] {
0 commit comments