*
{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#toc
{
    width: fit-content;
}

.quote
{
    margin-left: 20px;
    border-left: 4px solid gray;
    padding-left: 5px;
    font-style: italic;
}

.screenshot
{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.centered-text
{
    text-align: center;
}

a:hover
{
    text-decoration: none;
}

.monospace
{
    font-family: 'Cascadia Code', 'Cascadia Mono', 'Consolas', monospace;
}

table td, th
{
    border: 1px solid black;
    padding: 5px;
}

table
{
    border-collapse: separate;
}

h1, h2
{
    width: 80%;
    border-bottom: 1px solid darkgray;
}

h1, h2, h3, h4, h5, h6
{
    margin-left: 0.5em;
}

abbr
{
    cursor: help;
}

.up-button
{
    text-decoration: none;
    font-weight: normal;
    font-size: 0.8em;
}

.up-button:visited
{
    color: lime;
}

#revhist
{
    font-size: small;
}

.unfinished-entry
{
    display: flex;
    border: 3px solid yellow;
    background-color: yellowgreen;
    width: 50%;
    margin: 0 auto;
    align-items: center;
}

.unfinished-entry-text
{
    color: black;
    margin: 0 auto;
}

/* Dark Mode */

@media (prefers-color-scheme: dark)
{
    body, p, h1, h2, h3, h4, h5, h6, ul, ol, li
    {
        color: white;
    }

    body
    {
        background-color: black;
    }

    a
    {
        color: lime;
    }

    a:visited
    {
        color: olive;
    }

    .screenshot
    {
        box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.3);
    }

    table td, th
    {
        border: 1px solid white;
    }

    h1, h2
    {
        border-bottom: 1px solid lightgray;
    }
}

.comically-small-text {
    font-size: 8px;
}
