
/*****************************************************************************/
/*
/* Common
/*
/*****************************************************************************/

/*/* Global Reset */
* {
  margin: 0;
  padding: 0;
}

html, body { height: 100%; }

body {
  background-color: #FFF;
  font-family: 'Open Sans', sans-serif;
}

a         { color: #2972BF; text-decoration: none; }
a:link    { color: #2972BF; }
a:hover   { color: #2972BF; text-decoration: underline; }

.footnotes {
  margin-top: 2em;
  font-size: 0.85em;
  border-top: 1px solid #EEE;
}

time {
  color: #575657;
}

table {
  margin-top: 0.5em;
  border-collapse: collapse;
}

th, td {
  padding: 10px;
}

table, th, td {
  border: 1px solid #DDD;
}

code {
  font-family: 'Roboto Mono', monospace;
}

/*! Typebase.less v0.1.0 | MIT License */
/* Setup */
html {
  /* Change default typefaces here */
  font-size: 100%;
  font-family: 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* Copy & Lists */
p {
  line-height: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
}
ul,
ol {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
ul li,
ol li {
  line-height: 1.5rem;
}
ul ul,
ol ul,
ul ol,
ol ol {
  margin-top: 0;
  margin-bottom: 0;
}
blockquote {
  line-height: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  /* Change heading typefaces here */
  font-family: 'Open Sans', sans-serif;
  margin-top: 1.5rem;
  margin-bottom: 0;
  line-height: 1.5rem;
}
h1 {
  font-size: 2rem;
  line-height: 2.5rem;
  margin-top: 3rem;
}
h2 {
  font-size: 1.6rem;
  line-height: 2.2rem;
  margin-top: 2.5rem;
}
h3 {
  font-size: 1.414rem;
}
h4 {
  font-size: 1rem;
}
h5 {
  font-size: 0.4713333333333333rem;
}
h6 {
  font-size: 0.3535rem;
}
/* Tables */
table {
  margin-top: 1.5rem;
  border-spacing: 0px;
  border-collapse: collapse;
}
table td,
table th {
  padding: 0;
  line-height: 33px;
}
/* Code blocks */
code {
  vertical-align: bottom;
}
/* Leading paragraph text */
.lead {
  font-size: 1.414rem;
}
/* Hug the block above you */
.hug {
  margin-top: 0;
}
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #0099FF; font-style: italic } /* Comment */
.highlight .err { color: #AA0000; background-color: #FFAAAA } /* Error */
.highlight .k { color: #006699; font-weight: bold } /* Keyword */
.highlight .o { color: #555555 } /* Operator */
.highlight .cm { color: #0099FF; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #009999 } /* Comment.Preproc */
.highlight .c1 { color: #0099FF; font-style: italic } /* Comment.Single */
.highlight .cs { color: #0099FF; font-weight: bold; font-style: italic } /* Comment.Special */
.highlight .gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #FF0000 } /* Generic.Error */
.highlight .gh { color: #003300; font-weight: bold } /* Generic.Heading */
.highlight .gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
.highlight .go { color: #AAAAAA } /* Generic.Output */
.highlight .gp { color: #000099; font-weight: bold } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #003300; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #99CC66 } /* Generic.Traceback */
.highlight .kc { color: #006699; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #006699; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #006699; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #006699 } /* Keyword.Pseudo */
.highlight .kr { color: #006699; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #007788; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #FF6600 } /* Literal.Number */
.highlight .s { color: #CC3300 } /* Literal.String */
.highlight .na { color: #330099 } /* Name.Attribute */
.highlight .nb { color: #336666 } /* Name.Builtin */
.highlight .nc { color: #00AA88; font-weight: bold } /* Name.Class */
.highlight .no { color: #336600 } /* Name.Constant */
.highlight .nd { color: #9999FF } /* Name.Decorator */
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
.highlight .ne { color: #CC0000; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #a300cc } /* Name.Function */
.highlight .nl { color: #9999FF } /* Name.Label */
.highlight .nn { color: #00CCFF; font-weight: bold } /* Name.Namespace */
.highlight .nt { color: #330099; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #003333 } /* Name.Variable */
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mf { color: #cc5200 } /* Literal.Number.Float */
.highlight .mh { color: #cc5200 } /* Literal.Number.Hex */
.highlight .mi { color: #cc5200 } /* Literal.Number.Integer */
.highlight .mo { color: #cc5200 } /* Literal.Number.Oct */
.highlight .sb { color: #CC3300 } /* Literal.String.Backtick */
.highlight .sc { color: #CC3300 } /* Literal.String.Char */
.highlight .sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
.highlight .s2 { color: #CC3300 } /* Literal.String.Double */
.highlight .se { color: #CC3300; font-weight: bold } /* Literal.String.Escape */
.highlight .sh { color: #CC3300 } /* Literal.String.Heredoc */
.highlight .si { color: #AA0000 } /* Literal.String.Interpol */
.highlight .sx { color: #CC3300 } /* Literal.String.Other */
.highlight .sr { color: #33AAAA } /* Literal.String.Regex */
.highlight .s1 { color: #CC3300 } /* Literal.String.Single */
.highlight .ss { color: #c59d25 } /* Literal.String.Symbol */
.highlight .bp { color: #336666 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #003333 } /* Name.Variable.Class */
.highlight .vg { color: #003333 } /* Name.Variable.Global */
.highlight .vi { color: #003333 } /* Name.Variable.Instance */
.highlight .il { color: #FF6600 } /* Literal.Number.Integer.Long */


/*****************************************************************************/
/*
/* Home
/*
/*****************************************************************************/

.about {
  padding-left: 140px;
  margin-top: 2em;
  height: 120px;
  position: relative;
}

.about p {
  padding-top: 40px;
}

.content-block {
  display: block;
  margin: 0 auto;
  width: 640px;
}

.about img {
  position: absolute;
  left: 0px;
  top: 0px;
  border-radius: 60px;
  border: 1px solid rgba(0,0,0,.1);
}

.posts {
  list-style-type: none;
  margin-bottom: 2em;
  margin-top: 1em;
}

.posts li {
  margin-bottom: 0.56em;
  padding-left: 95px;
}

.posts li time {
  position: absolute;
  margin-left: -95px;
}

.posts.projects li time {
  position: absolute;
  margin-left: -48px;
}
.posts.projects li {
  padding-left: 48px;
}

.posts .subtitle {
  display: block;
  font-size: 13px;
  line-height: 1.2em;
}

h1.title {
  font-size: 1.5rem;
  margin-top: 0;
  line-height: 2rem
}

.header {
  background-color: #DE5501;
  padding: 1em 0 1em;
}

.header h1,
.header {
  color: white;
}

.header a {
  font-weight: bold;
  text-decoration: none;
}

.footer {
  font-size: 0.85em;
  border-top: 1em solid #97CC04;
  margin-top: 4em;
  padding-bottom: 2em;
  overflow: hidden;
}

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

.footer .column {
  float: left;
  width: 30%;
  margin-right: 5%;
}

.footer .content-block> :last-child {
  margin-right: 0;
}

@media (max-width: 43em) {
  .content-block {
    width: 92%;
    margin: 0 4%;
  }

  .footer .column {
    float: none;
    width: 100%;
    margin: 0;
  }

  .post img {
    width: 100%;
  }
}

.meta {
  margin-top: 1.5em;
  display: block;
}

/*****************************************************************************/
/*
/* Posts
/*
/*****************************************************************************/

/* standard */
.post pre {
  background-color: #F6F6F6;
  border-radius: 4px;
  padding: 10px 15px 10px 15px;
  border: 1px solid #F2F2F2;
  margin-top: 1.2em;
  overflow-x: auto;
  font-size: 0.92em;
}

.post ul, .post ol {
  margin-left: 1.35em;
  margin-top: 0.3em;
}

.post li {
  margin-top: 1em;
}

.post code {
  font-family: 'Droid Sans Mono', monospace;
  vertical-align: inherit;
}

.post .highlight code {
  background-color: none
}


.post figure img {
  display:block;
  margin: 0 auto;
  width: 100%;
}

.post figure .text {
  background-color: #F6F6F6;
  padding: 0 20px 20px 20px;
  font-size: 0.9em;
}

.post figure {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.post figure.zoomable a img {
  cursor: -moz-zoom-in;
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
}

.post figure.center-smaller img {
  width: auto;
  max-width: 100%;
}


.post figcaption {
  font-size: 0.9rem;
  padding: 12px;
}

.post pre code {
  border: none;
}

/* terminal */
.post pre.terminal {
  border: 1px solid #000;
  background-color: #333;
  color: #FFF;
}

.post pre.terminal code {
  background-color: #333;
}

.divider {
  padding-top: 2em;
  text-align: center;
}

.read-more {
  display: inline-block;
  padding-top: 2em;
}

cite {
  display: block;
  margin-top: 1em;
  text-align: right;
}

cite::before {
  content: "— ";
}

blockquote {
  margin-left: 1em;
  margin-top: 1.5em;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  padding-left: 1em;
  border-left: 1em solid #97CC04;
}

blockquote > p {
  padding-top: 0;
}


.footnote, .footnotes > ol > li:before {
  border-radius: 50%;
  margin-left: 3px;
  font-size: 0.9em;
  vertical-align: bottom;
  font-weight: bold;
  background-color: rgba(222, 85, 1, 0.2);
  color: #000;
  padding-left: 5px;
  padding-right: 5px;
}

.footnotes > ol {
  list-style: none;
  counter-reset: item;
}
.footnotes > ol > li {
  counter-increment: item;
  margin-bottom: 5px;
}
.footnotes > ol > li:before {
  content: counter(item);
  display: inline-block;
  position: absolute;
  margin-left: -20px;
  font-size: 1em;
  min-width: 15px;
  text-align: center;
}

.footnotes > ol > li > p {
  margin: 0;
  margin-left: 15px;
  padding: 0;
}