/* the whole shebang */

html, body {
	background: gray;
	color: white;
}

body {
	margin: 5% 15% 25% 5%;
	font-size: 12px;
	font-family: 'Lucida Grande', Verdana, Lucida,
		Geneva, Helvetica, Arial, sans-serif;
}

/* headings et al. */

h1, h2, h3 {
	color: #333;
	clear: both;
	font-weight: normal;
	font-family: georgia, serif;
}

h1 { font-size: 1.8em;  margin: 2.2em 0 0 0; }
h2 { font-size: 1.6em;  margin: 2em 0 0 0; }
h3 { font-size: 1.2em;  margin: 2em 0 0 0; }

h2 + p, h3 + p { margin-top: 0.8em; }

/* the date */

p.date { margin: 0 0 0.5em 0; }

p.date em {
	color: #630;
	font-family: 'Lucida Grande', Verdana, Lucida,
		Geneva, Helvetica, Arial, sans-serif;
	font-style: normal;
}


/* the header et al. */

#header p {
	margin: 0.2em 0;
	line-height: 1.4em;
}

#delete:hover { border: 2px dotted black; }

#delete {
	float: left;
	border: 2px dotted black;
	margin: 0 1em 0 0;
}

#search {
	float: right;
	margin: 1em 0;
}

#search p {
	margin: 0;
	line-height: 1em;
}

#nav { display: inline; }

#header ul {
	margin: 0;
	padding: 0;
	display: inline;
} 

#header ul li {
	margin: 0;
	padding: 0;
	border-left: 1px solid white;
	list-style: none;
	display: inline;
}
		
#header ul li:first-child { border-left: none; }
#header ul li > * { padding: 0.2em 0.8em; }


/* linkage */

a                { color: #630; }
a:active         { color: #f00; }	
a:visited        { color: #633; }
a:hover          { color: #c00; }
a:visited:hover  { color: #c00; }
h1 a, h2 a, h3 a { color: inherit !important; text-decoration: none; }

h1 a:hover, h2 a:hover, h3 a:hover {
	text-decoration: underline;
}

/* page text */

p {
	line-height: 1.6em;
	margin: 1.6em 22% 1.6em 0;
}

p.excerpt { margin: 0.5em 22% 1.6em 0; }

abbr { font-style: normal; }
abbr[title] { border-bottom: 1px dotted gray; }

blockquote {
	margin: 0 1em;
	padding: 0 1em;
	color: #ccc;
	border-left: 1px dotted #ccc;
	font-style: normal;
}

img {
	border: 1px solid #333;
	float: left;
	margin: 0.2em 1.3em 1.3em 0;
}

table {
	margin: 1em;
	border-collapse: collapse;
	/*border: 1px solid gray;*/
}

caption {
	font-size: smaller;
	caption-side: bottom; 
}

td, th {
	padding: 0.2em 1em;
	text-align: left;
	border: 1px solid #bbb;
}

pre, code { font-family: monaco, monospace; }
