* {
  margin: 0;
  padding: 0;
}

html {
  width: 90%;
  margin: auto;
  background: #333;
  color: #fff;
  font-family: 'Tinos', serif;
  font-size: 1em;
  line-height: 1.5em;
}

a {
  text-decoration: none;
  color: #66f;
}

p {
  width: 40em;
  margin-bottom: 1em;
}

header {
  width: 100%;
  min-width: 41em;
  border-bottom: 1px solid #333;
}

header h1 a {
  background: #111;
  padding: 1em 0.5em 1em 0.5em;
  border-bottom: 1px solid #333;
  display: block;
}

header a {
  color: #888;
}

header a:hover {
  background: #191919;
  color: #bbb;
}

header nav {
  background: #1a1a1a;
}

header nav ul {
  list-style: none;
}

header nav li {
  display: inline;
}

header nav a {
  padding: 1em;
  line-height: 3em;
}

#main {
  background: #222;
  width: 100%;
}

#content {
  width: 75%;
  min-width: 41em;
  min-height: 20em;
  float: left;
}

article {
  padding: 1em;
  background: #303030;
  padding-bottom: 3em;
}

article h2 {
  color: #aaa;
  background: url(/img/bgh1.gif) repeat-x left bottom;
  margin-bottom: 1em;
  font-weight: 100;
}

article h2 a {
  text-decoration: none;
}

article a {
  color: #999;
  text-decoration: underline;
}

article ul, article ol {
  margin-left: 2em;
  margin-bottom: 1em;
  width: 38em;
}

article li {
  margin-top: 0.5em;
}

article table {
  width: 100%;
  text-align: center;
  margin: 1em 0em;
}

article pre {
  margin-bottom: 1em;
  padding-left: 1em;
  width: 49em;
  background: #222;
  overflow: auto;
}

.highlight, code {
  font-family: 'Droid Sans Mono', monospace;
  font-size: 12px;
}

.highlight {
  background: #222;
  padding: 1em;
  margin: 1em 0em 1em 0em;
  overflow: auto;
}

#archive ul {
  list-style: none;
}

#archive a {
  color: #888;
  display: block;
}

#sidebar {
  background: #222;
  padding: 1em 0em;
}

#sidebar h2, #sidebar h3 {
  text-align: center;
}

#sidebar ul {
  list-style: none;
  margin: 1em;
}

#sidebar li {
  margin-top: 1em;
}

#sidebar a {
  color: #888;
}

#projects li {
  text-align: center;
}

footer {
  clear: both;
  text-align: center;
  background: #191919;
  border-top: 1px solid #444;
  color: #999;
  padding: 1em;
}

.clear {
  clear: both;
}
