normalize.css/normalize.metrics.css

133 lines
1.1 KiB
CSS
Raw Normal View History

/*
* Metrics
* Normalized and personalized sizing and spacing
*/
body,
button
input,
select,
textarea {
2011-05-03 21:44:55 +00:00
font: 12px/1.5 sans-serif;
}
/*
* Sectioning content
*/
article,
aside,
section {
margin: 2em 0;
}
/*
* Flow content
*/
dl,
figure,
menu,
nav,
ol,
p,
pre,
ul {
margin: 1em 0;
}
blockquote {
margin: 1em 40px;
}
/*
* Heading content
*/
2011-05-04 17:08:39 +00:00
h1 {
font-size: 2em;
margin: 0.67em 0;
}
h2 {
font-size: 1.5em;
margin: 0.83em 0;
}
h3 {
font-size: 1.17em;
margin: 1em 0;
}
2011-05-04 17:08:39 +00:00
h4 {
font-size: 1em;
margin: 1.33em 0;
}
2011-05-04 17:08:39 +00:00
h5 {
font-size: 0.83em;
margin: 1.67em 0;
}
h6 {
font-size: 0.67em;
margin: 2.33em 0;
}
/*
* List content
*/
details,
menu,
ol,
ul {
padding: 0 0 0 40px;
}
dd {
margin: 0 0 0 40px;
}
nav ul {
list-style: none;
}
/*
* Table content
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
caption {
padding: 0 0 1em;
}
th,
td {
padding: 1px;
text-align: left;
}
/*
* Breaks
*/
hr {
background: #CCC;
border: 0;
height: 1px;
margin: -1px 0 1em;
}
/*
* Forms
*/
fieldset {
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}