body {
    max-width: 800px;
    padding-left: 30px;
    padding-right: 30px;
    margin-left: auto;
    margin-right: auto;
    font: 400 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

header {
    border-bottom: 1px solid #ccc;
    line-height: 4em;
}

header .logo {
    font-size: 1.5em;
    letter-spacing: -1px;
}

header .logo .light {
    color: #888;
}

header .logo .dark {
    color: #111;
}

header nav {
    font-size: 1.2em;
    float: right;
    margin-top: auto;
    margin-bottom: auto;
}

footer {
    border-top: 1px solid #ccc;
    padding-bottom: 3em;
}

footer ul {
    list-style: none;
    padding-left: 0;
    text-align: center;
}

footer ul li {
    display: inline-block;
    padding-left: 1em;
    padding-right: 1em;
}

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

a {
    color: #2a7ae2;
    text-decoration: none;
}

a:visited {
    color: darken(#2a7ae2, 15%);
}

a:hover {
    color: #000;
    text-decoration: underline;
}

ul.post-list {
    list-style: none;
    padding-left: 0;
}

ul.post-list li {
    margin-bottom: 1em;
}

ul.post-list li a {
    margin-left: 1em;
    font-size: 1.5em;
    vertical-align: middle;
}

date {
    color: #666;
}

pre code:not(.hljs) {
    display: block;
    overflow-x: auto;
    padding: 1em;
}

code {
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    font-size: .8em;
}

*:not(pre) > code {
    /* in-line code blocks */
    color: #2f3337;
    padding: 2px 4px;
    background-color: #f6f6f6;
    font-weight: 500;
}

table code {
    border: none;
    padding: inherit;
    background: none;
    color: inherit;
    font-size: 0.9em;
    font-weight: inherit;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

figure img {
    display: block;
    margin: auto;
}

figcaption {
    margin-top: 0.8em;
    text-align: center;
    color: #444;
    font-size: 14px;
}

table {
    border-collapse: collapse;
    min-width: 80%;
    margin: auto;
}

table tr:nth-child(2n) {
    background-color: #f6f6f6;
}

th {
    border-width: 1px 0px;
    border-style: solid;
    border-color: #e8e8e8;
    padding: 0.5em;
}

td {
    padding: 0.5em;
}
