|
1 | | -/*! normalize.css 2012-01-22T23:00 UTC - http://github.com/necolas/normalize.css */ |
| 1 | +/*! normalize.css 2012-01-31T16:06 UTC - http://github.com/necolas/normalize.css */ |
2 | 2 |
|
3 | 3 | /* ============================================================================= |
4 | 4 | HTML5 display definitions |
@@ -118,10 +118,37 @@ a:active { |
118 | 118 |
|
119 | 119 | /* |
120 | 120 | * Neutralise smaller font-size in 'section' and 'article' in FF4+, Chrome, S5 |
| 121 | + * Fix IE6/7 heading font-size not being relative to the root font-size |
121 | 122 | */ |
122 | 123 |
|
123 | 124 | h1 { |
124 | 125 | font-size: 2em; |
| 126 | + margin: 0.67em 0; |
| 127 | +} |
| 128 | + |
| 129 | +h2 { |
| 130 | + font-size: 1.5em; |
| 131 | + margin: 0.83em 0; |
| 132 | +} |
| 133 | + |
| 134 | +h3 { |
| 135 | + font-size: 1.17em; |
| 136 | + margin: 1em 0; |
| 137 | +} |
| 138 | + |
| 139 | +h4 { |
| 140 | + font-size: 1em; |
| 141 | + margin: 1.33em 0; |
| 142 | +} |
| 143 | + |
| 144 | +h5 { |
| 145 | + font-size: 0.83em; |
| 146 | + margin: 1.67em 0; |
| 147 | +} |
| 148 | + |
| 149 | +h6 { |
| 150 | + font-size: 0.75em; |
| 151 | + margin: 2.33em 0; |
125 | 152 | } |
126 | 153 |
|
127 | 154 | /* |
@@ -365,6 +392,15 @@ input[type="submit"] { |
365 | 392 | *overflow: visible; /* 3 */ |
366 | 393 | } |
367 | 394 |
|
| 395 | +/* |
| 396 | + * Re-set default cursor for disabled elements |
| 397 | + */ |
| 398 | + |
| 399 | +button[disabled], |
| 400 | +input[disabled] { |
| 401 | + cursor: default; |
| 402 | +} |
| 403 | + |
368 | 404 | /* |
369 | 405 | * 1. Addresses box sizing set to content-box in IE8/9 |
370 | 406 | * 2. Removes excess padding in IE8/9 |
@@ -393,17 +429,10 @@ input[type="search"] { |
393 | 429 | } |
394 | 430 |
|
395 | 431 | /* |
396 | | - * Removes inner padding that is displayed in S5, Chrome on OS X |
397 | | - */ |
398 | | - |
399 | | -input[type="search"]::-webkit-search-decoration { |
400 | | - -webkit-appearance: none; |
401 | | -} |
402 | | - |
403 | | -/* |
404 | | - * Removes search cancel button in S5, Chrome on OS X |
| 432 | + * Removes inner padding and search cancel button in S5, Chrome on OS X |
405 | 433 | */ |
406 | 434 |
|
| 435 | +input[type="search"]::-webkit-search-decoration, |
407 | 436 | input[type="search"]::-webkit-search-cancel-button { |
408 | 437 | -webkit-appearance: none; |
409 | 438 | } |
|
0 commit comments