Add blockquote and list normalization (previously in normalize.metrics.css)

This commit is contained in:
Nicolas Gallagher 2011-05-17 08:51:24 -07:00
parent 11d60fe7ba
commit 4cf8cf3e6e

35
normalize.css vendored
View File

@ -122,6 +122,10 @@ strong {
font-weight: bold; font-weight: bold;
} }
blockquote {
margin: 1em 40px;
}
/* /*
* Add italic font style to <dfn> element * Add italic font style to <dfn> element
* Fixes styling not present in C10 S5 * Fixes styling not present in C10 S5
@ -220,6 +224,23 @@ sub {
bottom: -0.25em; bottom: -0.25em;
} }
/* ............................................................................................................. Lists */
ul,
ol {
margin: 1em 0;
padding: 0 0 0 40px;
}
dd {
margin: 0 0 0 40px;
}
nav ul,
nav ol {
list-style: none;
}
/* ............................................................................................................. Form elements */ /* ............................................................................................................. Form elements */
/* /*
@ -315,19 +336,19 @@ textarea {
* Addresses box sizing not supported in IE6/7 * Addresses box sizing not supported in IE6/7
*/ */
input[type='button'], input[type="checkbox"],
input[type='checkbox'], input[type="button"],
input[type='radio'], input[type="radio"],
input[type='reset'], input[type="reset"],
input[type='submit'], input[type="submit"],
select { select {
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
} }
input[type='text'], input[type="text"],
input[type='password'], input[type="password"],
textarea { textarea {
-webkit-appearance: textfield; -webkit-appearance: textfield;
-moz-box-sizing: content-box; -moz-box-sizing: content-box;