Move font-family normalization from body to html. Close #62

Prevents the inability to override the font-family by setting it
on the `html` element later in the CSS.
This commit is contained in:
Nicolas Gallagher 2012-01-22 23:00:38 +00:00
parent 6ef5b9e78a
commit a336a75dd2

20
normalize.css vendored
View File

@ -1,4 +1,4 @@
/*! normalize.css 2012-01-22T22:44 UTC - http://github.com/necolas/normalize.css */ /*! normalize.css 2012-01-22T23:00 UTC - http://github.com/necolas/normalize.css */
/* ============================================================================= /* =============================================================================
HTML5 display definitions HTML5 display definitions
@ -68,19 +68,11 @@ html {
-ms-text-size-adjust: 100%; /* 2 */ -ms-text-size-adjust: 100%; /* 2 */
} }
/*
* Addresses margins handled incorrectly in IE6/7
*/
body {
margin: 0;
}
/* /*
* Addresses font-family inconsistency between 'textarea' and other form elements. * Addresses font-family inconsistency between 'textarea' and other form elements.
*/ */
body, html,
button, button,
input, input,
select, select,
@ -88,6 +80,14 @@ textarea {
font-family: sans-serif; font-family: sans-serif;
} }
/*
* Addresses margins handled incorrectly in IE6/7
*/
body {
margin: 0;
}
/* ============================================================================= /* =============================================================================
Links Links