normalize.css/normalize.metrics.css

138 lines
1.1 KiB
CSS

/*
* Metrics
* Normalized and personalized sizing and spacing
*/
html {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body,
button
input,
select,
textarea {
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
*/
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;
}
h4 {
font-size: 1em;
margin: 1.33em 0;
}
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;
}