Skip to content

Instantly share code, notes, and snippets.

@sanand0
Created May 12, 2011 12:08
Show Gist options
  • Save sanand0/968378 to your computer and use it in GitHub Desktop.
Save sanand0/968378 to your computer and use it in GitHub Desktop.
R help .css inspired by tornadoweb.org. Place in R/doc/html/R.css
body {
background: white;
color: #444;
font-family: Georgia, serif;
font-size: 11pt;
margin: 15px auto;
max-width: 850px;
line-height: 1.5;
}
em, strong { color: black; }
h1, h2, h3, h4, h5, h6, th {
font-family: Calibri, sans-serif;
margin: 0;
color: #4d8cbf;
margin-bottom: 2pt;
margin-top: 17pt;
}
h2 {
font-size: 19pt;
}
h3 {
font-size: 15pt;
}
img {
border: 0;
}
pre,
code {
color: #060;
}
pre {
line-height: 14pt;
margin: 17pt;
padding-left: 1em;
border-left: 1px solid #ccc;
}
a,
a code {
color: #216093;
}
table {
border-collapse: collapse;
border: 0;
border-bottom: 1px solid #ccc;
}
th {
text-align: left;
border-bottom: 1px solid #ccc;
}
td {
border: 0;
padding: 0.2em 0.5em 0.2em 0;
}
tr:nth-child(even) {
background-color: #f3f3ff;
}
p, li {
line-height: 16pt;
}
p {
margin: 0;
margin-bottom: 1em;
}
img.toplogo {
vertical-align: middle;
}
img.arrow{
width: 30px;
height: 30px;
border: 0;
}
span.env {
font-style: italic;
}
span.pkg {
font-weight: bold;
}
div.vignettes a:hover {
background: rgb(85%, 85%, 85%);
}
code, pre, dt {
background-color: #F7F7F7;
}
pre {
font-size: 12px;
padding: .5em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment