html {
    background: #333333;
    color: #eeeeee;
    font-family: 'Century Gothic', 'Didact Gothic', 'Futura', sans-serif;
    font-size: 12pt;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Jura', 'Consolas', 'Courier New', monospace;
    color: khaki;
}

h1 {
    font-size: xx-large;
}

h2 {
    font-size: x-large;
}

h3 {
    font-size: large;
}

h4 {
    font-size: large;
}

h5 {
    font-size: medium;
}

h6 {
    font-size: small;
}

.date {
    color: indianred;
}

.title {
    color: darkkhaki;
}

.comment {
    color: skyblue;
}

#header {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 1024px) {
    #header {
        flex-flow: row;
    }
}

@media (max-width: 1023px) {
    #header {
        flex-flow: column;
    }

    .nav a {
        font-size: medium;
    }

    img {
        max-width: 100%;
    }
}

a:link {
    color: lightblue;
}

a:visited {
    color: navajowhite;
}

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

.nav a {
    font-family: 'Jura', 'Consolas', 'Courier New', monospace;
    font-size: large;
    color: palegreen;
}

.nav a:hover {
    color: black;
}

.logo a {
    color: inherit;
    background-color: inherit;
    text-decoration: inherit;
}

#container {
    width: 95%;
    max-width: 960px;
    margin: 0 auto;
}

/* TODO: scoot this dude down the bottom */
#footer {
    width: 100%;
    margin: 2em 0 0 0;
    padding: 0;
    background-color: #c2bfa5;
    color: black;
}

#footer h5, h6 {
    margin: 0;
    padding: 10px 1em;
    color: black;
}

div.linkcerpt-header {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 0;
}

div.linkcerpt-header h3 {
    padding-bottom: 0;
    margin-bottom: 0;
}

div.linkcerpt-header h4 {
    padding-bottom: 0;
    margin-bottom: 0;
}

div.linkcerpt p:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

blockquote {
    color: skyblue;
}

blockquote.code-output {
    background-color: black;
    color: white;
    padding: 5px 0 5px 25px;
    margin: 0 auto;
    min-width: calc(100% - 25px - 1em);
    border-radius: 5px;
    overflow-x: auto;
}

img.centered {
    margin: 25px auto;
    display: block;
}

.gist-data {
    max-height: 250px;
    overflow: visible;
}

#modeswitch {
    float: right;
}

#modeswitch:hover {
    cursor: pointer;
}

/* all below from pandoc, with tweaks */
a.sourceLine {
    display: inline-block;
    min-height: 1.25em;
    pointer-events: none;
    color: inherit;
    text-decoration: inherit;
}

pre {
    overflow-x: auto;
    word-wrap: anywhere;
}

pre.sourceCode {
    border: 2px solid #c2bfa5;
    padding: 1em;
}

code.sourceCode {
    font-family: 'Lucida Console', 'Consolas', 'Courier New', monospace;
    color: white; /* make code stand out from text */
    white-space: pre;
}

code span.kw { color: darkkhaki; font-weight: bold; } /* Keyword */
code span.dt { color: palegreen; } /* DataType */
code span.dv { color: #ffa0a0; } /* DecVal */
code span.bn { color: #ffa0a0; } /* BaseN */
code span.fl { color: #ffa0a0; } /* Float */
code span.ch { color: #ffa0a0; } /* Char */
code span.st { color: #ffa0a0; } /* String */
code span.co { color: skyblue; font-style: italic; } /* Comment */
code span.ot { color: khaki; } /* Other */
code span.fu { color: palegreen; } /* Function */
code span.cn { color: #ffa0a0; } /* Constant */
code span.sc { color: #ffa0a0; } /* SpecialChar */
code span.vs { color: #ffa0a0; } /* VerbatimString */
code span.ss { color: #ffa0a0; } /* SpecialString */
code span.im { } /* Import */
code span.va { color: #eeeeee; } /* Variable */
code span.cf { color: khaki; font-weight: bold; } /* ControlFlow */
code span.op { color: khaki; } /* Operator */
code span.bu { } /* BuiltIn */
code span.ex { } /* Extension */
code span.pp { color: indianred; } /* Preprocessor */
code span.at { color: indianred; } /* Attribute */
code span.do { color: skyblue; font-style: italic; } /* Documentation */
code span.an { color: skyblue; font-weight: bold; font-style: italic; } /* Annotation */
code span.cv { color: skyblue; font-weight: bold; font-style: italic; } /* CommentVar */
code span.in { color: skyblue; font-weight: bold; font-style: italic; } /* Information */
