body {
    margin: 40px auto;
    max-width: 650px;
    line-height: 1.6;
    font-size: 20px;
    color: #444;
    padding: 0 10px;
    background-color: #EEEEEE;
    height: 100%;
}

html {
    height: 95%;
}

header {
    text-align: center;
}

footer {
    position: sticky;
    top: 100vh;
    width: 100%;
    left: 0;
    bottom: 2em;
    text-align: center;
}

h1,
h2,
h3 {
    line-height: 1.2
}

.lastmodified {
    color: #aaaaaa;
}


@media (prefers-color-scheme: dark) {
    body {
        color: #ddd;
        background-color: #222;
    }

    a:link {
        color: lightskyblue;
    }

    a:visited {
        color: #6d4b8d;
    }

    a:hover {
        color: #ffffff;
    }

    a:active {
        color: #ff4040;
        text-decoration: none;
        font-weight: normal;
    }

    .lastmodified {
        color: #7c7c7c;
    }
}

/* Allow inline styled codeblocks */
pre code.hljs {
    display: block;
}

code.hljs {
    font-size: 14px;
    display: inline;
}