:root {
    color-scheme: light dark;
    --bg: #f6f5f1;
    --fg: #222;
    --muted: #aaa;
    --border: #ccc;
    --link: #1a5fb4;
    --link-visited: #6a3d9a;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1a1a1a;
        --fg: #ddd;
        --muted: #666;
        --border: #555;
        --link: #8ab4f8;
        --link-visited: #c58af9;
    }
}

html {
  overflow-y: scroll;
  background: var(--bg);
}

body {
    margin: 8px 15px;
    font-family: Monospace;
    font-size: 15px;
    line-height: 1.2;
    background: var(--bg);
    color: var(--fg);
}

.maincontent {
    max-width: 700px;
    margin: auto;
    border-left: 1px;
}

pre {
    font-family: inherit;
    font-size: inherit;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:visited {
    color: var(--link-visited);
}

hr {
    border: none;
    border-top: 1px solid var(--border);
}

a:hover {
    text-decoration: underline;
}

.clear {
    clear: both;
}

.photo {
    padding: 50px 0;
    border-bottom: 1px dotted var(--border);
    text-align: center;
}

.photo img {
    width: 650px;
    max-width: 100%;
    height: auto;
}

div.image table {
    margin: 0 auto;
}

div.image caption {
    font-size: 13px;
}

.penguin {
    float: left;
    width: 200px;
}

#spacer {
    float: left;
    width: 300px;
    max-width: 100%;
}

#post-penguin pre {
    color: var(--muted);
}

#terminal {
    padding-top: 60px;
}

#terminal pre {
    color: var(--muted);
}


@media (max-width: 600px), (pointer: coarse) {
    .links span {
        display: block;
    }

    .links a {
        display: inline-block;
        padding: 8px 0;
    }
}
