|
4 | 4 | ========================================================================== */ |
5 | 5 |
|
6 | 6 | /** |
7 | | - * 1. Change the default font family in all browsers (opinionated). |
8 | | - * 2. Correct the line height in all browsers. |
9 | | - * 3. Prevent adjustments of font size after orientation changes in |
| 7 | + * 1. Correct the line height in all browsers. |
| 8 | + * 2. Prevent adjustments of font size after orientation changes in |
10 | 9 | * IE on Windows Phone and in iOS. |
11 | 10 | */ |
12 | 11 |
|
13 | 12 | html { |
14 | | - font-family: sans-serif; /* 1 */ |
15 | | - line-height: 1.15; /* 2 */ |
16 | | - -ms-text-size-adjust: 100%; /* 3 */ |
17 | | - -webkit-text-size-adjust: 100%; /* 3 */ |
| 13 | + line-height: 1.15; /* 1 */ |
| 14 | + -ms-text-size-adjust: 100%; /* 2 */ |
| 15 | + -webkit-text-size-adjust: 100%; /* 2 */ |
18 | 16 | } |
19 | 17 |
|
20 | 18 | /* Sections |
21 | 19 | ========================================================================== */ |
22 | 20 |
|
23 | | -/** |
24 | | - * Remove the margin in all browsers (opinionated). |
25 | | - */ |
26 | | - |
27 | | -body { |
28 | | - margin: 0; |
29 | | -} |
30 | | - |
31 | 21 | /** |
32 | 22 | * Add the correct display in IE 9-. |
33 | 23 | */ |
|
107 | 97 | -webkit-text-decoration-skip: objects; /* 2 */ |
108 | 98 | } |
109 | 99 |
|
110 | | -/** |
111 | | - * Remove the outline on focused links when they are also active or hovered |
112 | | - * in all browsers (opinionated). |
113 | | - */ |
114 | | - |
115 | | -a:active, |
116 | | -a:hover { |
117 | | - outline-width: 0; |
118 | | -} |
119 | | - |
120 | 100 | /** |
121 | 101 | * 1. Remove the bottom border in Firefox 39-. |
122 | 102 | * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. |
@@ -245,19 +225,15 @@ svg:not(:root) { |
245 | 225 | ========================================================================== */ |
246 | 226 |
|
247 | 227 | /** |
248 | | - * 1. Change the font styles in all browsers (opinionated). |
249 | | - * 2. Remove the margin in Firefox and Safari. |
| 228 | + * Remove the margin in Firefox and Safari. |
250 | 229 | */ |
251 | 230 |
|
252 | 231 | button, |
253 | 232 | input, |
254 | 233 | optgroup, |
255 | 234 | select, |
256 | 235 | textarea { |
257 | | - font-family: sans-serif; /* 1 */ |
258 | | - font-size: 100%; /* 1 */ |
259 | | - line-height: 1.15; /* 1 */ |
260 | | - margin: 0; /* 2 */ |
| 236 | + margin: 0; |
261 | 237 | } |
262 | 238 |
|
263 | 239 | /** |
@@ -316,16 +292,6 @@ button:-moz-focusring, |
316 | 292 | outline: 1px dotted ButtonText; |
317 | 293 | } |
318 | 294 |
|
319 | | -/** |
320 | | - * Change the border, margin, and padding in all browsers (opinionated). |
321 | | - */ |
322 | | - |
323 | | -fieldset { |
324 | | - border: 1px solid #c0c0c0; |
325 | | - margin: 0 2px; |
326 | | - padding: 0.35em 0.625em 0.75em; |
327 | | -} |
328 | | - |
329 | 295 | /** |
330 | 296 | * 1. Correct the text wrapping in Edge and IE. |
331 | 297 | * 2. Correct the color inheritance from `fieldset` elements in IE. |
|
0 commit comments