/* Reset some basic elements */
@import url(http://fonts.googleapis.com/css?family=Merriweather);
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0; }

html {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; }

/* Basic styling */
body {
  font-family: "Avenir Next", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  color: #555;
  background-color: #fcfcfc;
  -webkit-text-size-adjust: 100%; }

/* Set `margin-bottom` to maintain vertical rhythm */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px; }

img {
  vertical-align: middle;
  text-align: center;
  background-color: #fcfcfc;
  max-width: 100%; }

figure > img {
  display: block;
  max-width: 90%;
  margin: 0.5em auto; }

figcaption {
  font-size: 14.875px;
  text-align: center;
  margin-bottom: 2em; }

ul, ol {
  margin-left: 30px; }
  ul > li, ol > li {
    margin-bottom: 0.4em; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-weight: 500; }

a {
  color: #689;
  text-decoration: none; }
  a:visited {
    color: #526d7a; }
  a:hover {
    color: #555;
    text-decoration: none; }
  a > code {
    color: inherit; }

aside {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  padding-left: 15px;
  font-weight: 400;
  font-size: 0.9em; }
  aside > h1 {
    font-size: 0.9em;
    font-weight: 600; }
  aside > :last-child {
    margin-bottom: 0; }

blockquote {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  padding-left: 15px;
  font-weight: 400;
  font-size: 0.9em; }
  blockquote > :last-child {
    margin-bottom: 0; }

pre, code {
  font-family: source-code-pro, Menlo, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; }

code {
  font-size: 15px;
  font-style: normal;
  color: #111; }

pre {
  padding: 8px 12px;
  overflow-x: scroll;
  border: 1px solid #efefef;
  border-radius: 3px;
  background-color: #f9f9f9; }
  pre > code {
    font-size: 12.5px;
    line-height: 1em;
    color: #555; }

hr {
  margin: 40px 5px;
  height: 0;
  border: 0;
  border-top: 1px solid #e8e8e8; }

#content:after {
  content: "";
  display: table;
  clear: both; }

.post-excerpt > h1 {
  font-size: 1.4em;
  margin: 1.8em 0 0 0; }
.post-excerpt > p.datetime {
  color: #999;
  font-size: 0.7em;
  margin: -2px 0 5px 0;
  text-transform: uppercase;
  letter-spacing: 1px; }

.trim {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis; }

.link-section {
  margin: 15px auto;
  line-height: 1.7em;
  text-align: center; }

.link-section > ul {
  list-style-type: none;
  margin: 0; }
  .link-section > ul > li {
    margin-bottom: 0; }

.category {
  color: #966; }

/* Sections */
#content {
  margin: 5em auto;
  max-width: -webkit-calc(650px - (30px * 2));
  max-width: calc(650px - (30px * 2));
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px; }
  @media screen and (max-width: 650px) {
    #content {
      max-width: -webkit-calc(650px - (30px));
      max-width: calc(650px - (30px));
      padding-right: 15px;
      padding-left: 15px; } }
  #content > article > header {
    margin-bottom: 2em; }
    #content > article > header > h1 {
      font-size: 2em;
      margin: 0 0 0 0;
      letter-spacing: 1px; }
    #content > article > header > p {
      color: #999;
      font-size: 0.8em;
      margin: -2px 0 3px 0;
      text-transform: uppercase; }
  #content > article > p {
    margin-bottom: 1.5em; }
  #content > article > h1, #content > article h2, #content > article h3, #content > article h4, #content > article h5, #content > article h6 {
    letter-spacing: 1px; }
  #content > article > h2 {
    margin-top: 2em;
    font-size: 1.5em; }
  #content > article > h3 {
    margin-top: 1.8em;
    font-size: 1.2em; }
  #content > article > p > strong {
    font-weight: 600; }

#blog-nav-links {
  margin-top: 3em;
  text-align: center;
  text-transform: lowercase;
  font-size: 0.8em; }

#footer {
  text-align: center;
  font-size: 0.9em;
  margin: 3em; }

/* home */
#avatar {
  text-align: center;
  margin-bottom: 1em;
  padding-bottom: 2.5em; }
  #avatar > img {
    width: 192px;
    border-radius: 128px; }
  #avatar > h1 {
    font-size: 2em;
    font-weight: 600;
    line-height: 1.2em;
    margin: 0.8em; }
  #avatar > h2 {
    font-size: 1.1em;
    font-weight: 400;
    color: #777;
    margin: 1.2em; }
  #avatar > h3 {
    font-weight: 300;
    font-size: 0.9em;
    color: #999;
    margin: 0.5em; }
  #avatar > h4 {
    font-weight: 300;
    font-size: 0.8em;
    color: #999;
    margin: 0.5em; }

/* Syntax highlighting styles */
.highlight {
  background: #fff; }
  .highlight .c {
    color: #998;
    font-style: italic; }
  .highlight .err {
    color: #a61717;
    background-color: #e3d2d2; }
  .highlight .k {
    font-weight: bold; }
  .highlight .o {
    font-weight: bold; }
  .highlight .cm {
    color: #998;
    font-style: italic; }
  .highlight .cp {
    color: #999;
    font-weight: bold; }
  .highlight .c1 {
    color: #998;
    font-style: italic; }
  .highlight .cs {
    color: #999;
    font-weight: bold;
    font-style: italic; }
  .highlight .gd {
    color: #000;
    background-color: #fdd; }
  .highlight .gd .x {
    color: #000;
    background-color: #faa; }
  .highlight .ge {
    font-style: italic; }
  .highlight .gr {
    color: #a00; }
  .highlight .gh {
    color: #999; }
  .highlight .gi {
    color: #000;
    background-color: #dfd; }
  .highlight .gi .x {
    color: #000;
    background-color: #afa; }
  .highlight .go {
    color: #888; }
  .highlight .gp {
    color: #555; }
  .highlight .gs {
    font-weight: bold; }
  .highlight .gu {
    color: #aaa; }
  .highlight .gt {
    color: #a00; }
  .highlight .kc {
    font-weight: bold; }
  .highlight .kd {
    font-weight: bold; }
  .highlight .kp {
    font-weight: bold; }
  .highlight .kr {
    font-weight: bold; }
  .highlight .kt {
    color: #458;
    font-weight: bold; }
  .highlight .m {
    color: #099; }
  .highlight .s {
    color: #d14; }
  .highlight .na {
    color: #008080; }
  .highlight .nb {
    color: #0086B3; }
  .highlight .nc {
    color: #458;
    font-weight: bold; }
  .highlight .no {
    color: #008080; }
  .highlight .ni {
    color: #800080; }
  .highlight .ne {
    color: #900;
    font-weight: bold; }
  .highlight .nf {
    color: #900;
    font-weight: bold; }
  .highlight .nn {
    color: #555; }
  .highlight .nt {
    color: #000080; }
  .highlight .nv {
    color: #008080; }
  .highlight .ow {
    font-weight: bold; }
  .highlight .w {
    color: #bbb; }
  .highlight .mf {
    color: #099; }
  .highlight .mh {
    color: #099; }
  .highlight .mi {
    color: #099; }
  .highlight .mo {
    color: #099; }
  .highlight .sb {
    color: #d14; }
  .highlight .sc {
    color: #d14; }
  .highlight .sd {
    color: #d14; }
  .highlight .s2 {
    color: #d14; }
  .highlight .se {
    color: #d14; }
  .highlight .sh {
    color: #d14; }
  .highlight .si {
    color: #d14; }
  .highlight .sx {
    color: #d14; }
  .highlight .sr {
    color: #009926; }
  .highlight .s1 {
    color: #d14; }
  .highlight .ss {
    color: #990073; }
  .highlight .bp {
    color: #999; }
  .highlight .vc {
    color: #008080; }
  .highlight .vg {
    color: #008080; }
  .highlight .vi {
    color: #008080; }
  .highlight .il {
    color: #099; }
