@charset "UTF-8";

body,html {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  background: #eee;
  color: #222;
}

a {
  color: #bb0000;
}

h1, h2, h3, h4, h5 {
  font-weight: normal;
}

h1 a, h2 a, h3 a, h4 a, h5 a {
  color: inherit;
  text-decoration: none;
}

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

h1 { font-size: 197%; }
h2 { font-size: 184%; }
h3 { font-size: 170%; }
h4 { font-size: 157%; }
h5 { font-size: 144%; }

pre {
  font-family: monospace;
  padding: 10px;
  background: #111;
  color: #eee;
  line-height: 1.3em;
  white-space: pre;
  overflow: scroll;
}

ul.simple {
  list-style-type: none;
}

li p {
  margin: 0;
  padding: 0;
}

#sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 20%;
  background: #333;
  color: #eee;
}

#sidebar #sidebar-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin-left: 8px;
  margin-right: 8px;
}

#sidebar-top ul {
  font-size: 90%;
  padding-left: 8px;
}

#sidebar #sidebar-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-left: 8px;
  margin-right: 8px;
}

#sidebar .name {
  font-family: serif;
  font-size: 320%;
}

#sidebar .name a {
  text-decoration: none;
  color: inherit;
  margin-bottom: 40px;
}

#sidebar .bio {
  font-size: 95%;
  padding-top: 10px;
  padding-bottom: 10px;
}

#sidebar .copyright {
  margin-top: 80px;
  margin-bottom: 8px;
  font-size: x-small;
  color: #444;
}

.content {
  font-size: 140%;
  line-height: 1.5em;
  margin-left: 20%;
  padding: 8px 10% 8px 10%;
  text-align: justify;
}

.content .post {
  background: #ddd;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 32px;
}

.content .post h1 {
  margin-top: 0;
  margin-bottom: 8px;
}

.content .byline {
  font-size: 90%;
  color: #666;
  margin-left: 24px;
}

.content .post-body {
  margin-left: 24px;
  margin-right: 24px;
}

.pagination {
  font-size: 100%;
  text-align: center;
  margin-top: 24px;
  margin-bottom: 12px;
}

.boxed {
  border: 1px solid;
  border-radius: 4px;
  padding: 16px;
  margin: 0;
}

.info {
  border: #bce8f1;
  background: #d9edf7;
  color: #31708f;
}

.warn {
  border-color: #faebcc;
  background: #fcf8e3;
  color: #8a6d3b;
}

.err {
  border-color: #ebccd1;
  background: #f2dede;
  color: #a94442;
}

.icon {
  width: 32px;
  height: 32px;
  display: block;
  background-repeat: no-repeat;
  background-size: 32px 64px;
  background-position: 1px -31px;
}

.icon:hover {
  background-position: 1px 1px;
}

.icon-twitter {
  background-image: url('/images/twitter.png');
}
.icon-github {
  background-image: url('/images/github.png');
}
.icon-rss {
  background-image: url('/images/rss.png');
}
.icon-email {
  background-image: url('/images/email.png');
}
