body {
    font-family: tahoma, sans-serif;
    background-color: black;
    color: white;
    margin: 20px;
    line-height: 1.5em;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    max-width: 1024px;
}

body article {
    text-align: justify;
}

header, footer {
    font-weight: lighter;
    font-size: 1em;
}


header time {
    font-size: small;
    margin-bottom: 0;
    padding: 0;
}

h1 {
    font-size: 1em;
    font-weight: bold;
    margin: 0;
    text-align: left;
    padding-bottom: 1em;
    border-bottom: 2px solid white;
}

h2 {
    font-size: 1em;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: left;
}

article h2 {
    font-size: 1em;
    margin-bottom: 10px;
    padding: 10px 0 10px 0;
    text-align: left;
    border-bottom: 1px solid white;
    border-top: 1px solid white;
}

article h3 {
    font-size: 1em;
    margin: 0;
    margin-bottom: 10px;
    padding: 0em 0em 10px 0em;
    border-bottom: 1px dotted white;
}

article h4 {
    font-size: 1em;
    margin: 0;
    padding: : 10px 0 10px 0;
}

nav ol {
    display: block;
    margin: 0;
    margin-top: 10px;
    padding: 0;
}

nav ol li {
    list-style-type: none;
    padding: 0;
    display: block;
    width: 100%;
}

nav ol li a {
    display: inline-block;
    width: 100%;
}

nav ol li a:before {
    content: "« ";
}

#blurb {
    border-top: 2px solid white;
}

#blurb p:first-of-type {
    margin-top: 0;
}

#external-links header {
    display: none;
}

#external-links ul {
    list-style-type: none;
    padding: 0;
}

#blog-index article header h2 {
    font-size: 1em;
    border: none;
    margin-top: 0;
    padding-top: 0;
}

#blog-index article #description {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1em;
}

#blog-index article {
    border-bottom: 1px dotted;
    margin-bottom: 10px;
}

#blog-index article:last-of-type {
    border-bottom: none;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    color: black;
    background-color: white;
}

img {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

code {
    font-weight: bold;
}

pre > code {
    display: block;
    text-align: left;
    background-color: white;
    color: black;
    white-space: pre-wrap;
    font-weight: bold;
    padding: 20px;
}

blockquote {
    padding: 5px 30px 5px 30px;
    margin: 0;
    border: 1px solid white;
    border-radius: 20px;
}

blockquote a {
    color: gray;
    text-decoration: underline dashed;
}

div.embedded-video {
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
}

@media only screen and (min-width: 768px) {

    h1 {
        margin-left: 256px;
    }

    h2 {
        font-size: 1em;
        background: none;
        color: inherit;
        margin: 20px 0 20px 0;
    }

    body {
        margin: 20px;
        padding: 20px 0 20px 0;
        overflow: hidden;
        height: 90%;
    }

    section#blog-index {
        margin-left: 256px;
        padding-bottom: 20px;
        overflow: scroll;
        height: calc(100% - 50px);
    }

    article#content {
        margin-left: 256px;
        padding-bottom: 20px;
        overflow: scroll;
        height: 100%;
    }

    article#content header h1 {
        margin-left: 0;
        margin-top: 0;
    }

    article#content img {
        max-width: 640px;
        padding: 10px;
    }

    #blurb {
        position: fixed;
        float: left;
        bottom: 64px;
        left: 20px;
        max-width: 236px;
        text-align: left;
        border: 0;
    }

    footer {
        position: fixed;
        left: 20px;
        bottom: 40px;
    }

    nav {
        position: fixed;
        top: 20px;
        left: 20px;
        margin: 0;
        width: 236px;
    }

}