:root {
    --body-bg-color: white;
    --link-visited: #41668b;
}

html {
    background-color: transparent;
}

body {
    line-height: 1.5;
}

#dark-mode-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    line-height: 1;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0px 8px 3px 8px;
    cursor: pointer;
}

.author {
    margin: 2rem 0;
}

.author a {
    font-variant-caps: initial;
}

body > hr {
    width: 5rem;
    margin: 3rem auto;
}

    .latex-dark > hr {
        background-color: var(--body-color);
    }

table {
    border: 0 !important;
}

dl {
    margin: 1rem 0;
    padding: 0 2rem;
}
    dl dd {
        text-align: left;
    }

    dl dt {
        margin-top: 1rem;
    }

    dl dt:first-child {
        margin-top: 0;
    }

.footnotes {
    border: 0;
}

.img-paper {
    margin: 2rem auto;
}

.footnote-ref {
    text-decoration: none;
}

.latex-dark blockquote {
    color: #909090;
}

.tippy-content p {
    text-align: left;
}

.tippy-content p:first-child {
    margin-top: 0;
}

.tippy-box[data-theme~='paper'] {
    background-color: var(--body-color);
    color: var(--body-bg-color);
}

    .tippy-box[data-theme~='paper'] a {
        color: hsl(196 80% 77%);
    }

    .latex-dark .tippy-box[data-theme~='paper'] a {
        color: #41668b;
    }

.dragon-fable-intro p {
    font-size: 80%;
    text-align: center;
}

.ornamental-rule {
    width: 80%;
    margin: 2rem auto;
}

.illuminated-o {
    width: 10%;
    float: left;
    margin-right: 3px;
}

.reduce-whitespace #title-block-header {
    margin-bottom: 0;
}

.reduce-whitespace .author {
    margin: 0 auto;
}

.reduce-whitespace .img-paper {
    margin: 0 auto;
}

.pdf-only {
    display: none;
}

figure {
    margin-top: 1rem;
}
