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

26
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
@ -68,6 +68,18 @@ html {
-ms-text-size-adjust: 100%; /* 2 */
}
/*
* Addresses font-family inconsistency between 'textarea' and other form elements.
*/
html,
button,
input,
select,
textarea {
font-family: sans-serif;
}
/*
* Addresses margins handled incorrectly in IE6/7
*/
@ -76,18 +88,6 @@ body {
margin: 0;
}
/*
* Addresses font-family inconsistency between 'textarea' and other form elements.
*/
body,
button,
input,
select,
textarea {
font-family: sans-serif;
}
/* =============================================================================
Links