/* PLAIN.CSS -- FOR GARETHREES.ORG */
/* Gareth Rees, 2009-02-12 */


/* 1. GENERAL STYLE */

html {margin:1em 1em; font-family:Optima, Verdana, sans-serif; font-size: 14px; background-color:white}
code,kbd,pre,samp,tt {font-family:"Lucida Sans Typewriter", monospace}
img {border:none}
caption {margin-bottom:.5em}
table tr {vertical-align:top}
blockquote {margin-left:4em}
figure img {margin-bottom:.5em}
h1 {text-align:center}
h1 + nav {text-align:center}
nav p {text-align:center}

/* 2. SITE-SPECIFIC CLASSES */

table.ruled {border-collapse:collapse; border-width:1px; border-color:#cccccc}
table.ruled td {border-style:solid; border-width:1px; border-color:#cccccc; padding:0.25em}
table.ruled th {border-style:solid; border-width:1px; border-color:#cccccc; padding:0.25em}
table.striped tbody tr:nth-child(odd) {background-color:#eeeeee}
table.references td:first-child {white-space:nowrap}
table.history td:first-child {white-space:nowrap}

.byline {text-align:center}
.sidebar {clear:right; float:right; margin:0 0 .5em .5em}
.left-sidebar {clear:left; float:left; margin:0 .5em .5em 0}
.display {clear:both; display:block; margin:.5em auto .5em auto}
.box {border-style:solid; border-width:thin; border-color:black; padding:.5em .5em .5em .5em}
.centred {text-align:center}
.indent {margin-left:4em}
.display img {margin-top:.5em}
.jigsaw {display:inline-block; vertical-align: top; font-size:small; margin-right: 10px}

/* 3. EMACS FACES (FOR HTMLIZE OUTPUT) */

pre .builtin {color:#da70d6}
pre .comment {color:#b22222}
pre .comment-delimiter {color:#b22222}
pre .constant {color:#0000ff}
pre .doc {color:#2f4f4f}
pre .function-name {color:#0000ff}
pre .keyword {color:#a020f0}
pre .makefile-targets {color:#0000ff}
pre .preprocessor {color:#da70d6}
pre .regexp-grouping-backslash {font-weight:bold}
pre .regexp-grouping-construct {font-weight:bold}
pre .string {color:#2f4f4f}
pre .type {color:#228b22}
pre .variable-name {color:#b8860b}
pre .warning {color:#ff0000; font-weight:bold}


/* 4. INDEX */

.index-brief {width:50%; margin-left:auto; margin-right:auto}
.index-brief td:first-child {white-space:nowrap}
.index-brief td {padding:0.25em}
.index-brief th {text-align:left; padding:0.25em}
.index-brief tr:nth-child(even) {background-color:#eeeeee}
.index-detail td {width:50%}
.index-detail tr:nth-child(odd) td:nth-child(even) {background-color:#eeeeee}
.index-detail tr:nth-child(even) td:nth-child(odd) {background-color:#eeeeee}
.index-detail td.left {padding-right:1em}
.index-detail td.right {padding-left:1em}
.index-detail td.left p {padding-left:1em}
.index-detail td.right p {padding-right:1em}
.index-detail td.left img {float:left; margin:0 1em 1em 0}
.index-detail td.right img {float:right; margin:0 0 1em 1em}
.index-images {width:80%; text-align:center}
