blob: 110296c38c4a54874547fa1f190de4849f3eae57 [file] [log] [blame]
/*
* Style sheet for the CSS2 specification
*/
body {
padding: 2em 1em 2em 70px;
margin: 0;
font-family: sans-serif;
color: black;
background: white;
background-position: top left;
background-attachment: fixed;
background-repeat: no-repeat;
}
pre{
font-family: sans-serif;
}
p {
margin-top: 0.6em;
margin-bottom: 0.6em;
margin-left: 2em;
}
h1, h2, h3, h4, h5, h6 { text-align: left }
h1, h2, h3 { color: #005A9C; background: white }
h1 { font: 170% sans-serif }
h2 { font: 140% sans-serif }
h3 { font: 120% sans-serif }
h4 { font: bold 100% sans-serif }
h5 { font: italic 100% sans-serif }
h6 { font: small-caps 100% sans-serif }
body{counter-reset: h1 h2 h3;}
h2:before {
content: counter(h2) " ";
counter-increment: h2;
}
h3:before {
content: counter(h2) "." counter(h3) " ";
counter-increment: h3;
}
h1 {
counter-reset: h2;
}
h2 {
counter-reset: h3;
}
h1.unnumbered, h2.unnumbered {
counter-reset: none;
}
h1.unnumbered:before,
h2.unnumbered:before,
h3.unnumbered:before{
content: none;
counter-increment: none;
}