Skip to content

Instantly share code, notes, and snippets.

@bkardell
Created December 16, 2011 19:21
Show Gist options
  • Save bkardell/1487510 to your computer and use it in GitHub Desktop.
Save bkardell/1487510 to your computer and use it in GitHub Desktop.
css for describe docs
body{
padding: 2em;
font-family: sans-serif;
}
h1, h2, h3, h4, h5, h6 {
text-align: left;
}
h1, h2, h3 {
background: none repeat scroll 0 0 white;
color: #005A9C;
}
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;
}
.sig{
font-family: monospace;
font-size: 110%;
}
.arg{
font-style: italic;
}
.example{
background-color: #DDEEFF;
padding: 1em;
margin: 1em;
}
.example p:nth-child(1){
font-weight: bold;
}
.example pre{
margin-left: 3em;
}
ol ol { list-style-type: lower-alpha; }
ol ol ol { list-style-type: lower-roman; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment