@media (prefers-color-scheme: light) {
    span.nc {
        text-decoration: none !important;
    }
}

.admonition-manim-example {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.admonition-manim-example p.admonition-title {
    margin: 0;
}

.admonition-manim-example .highlight-python {
    margin: 0;
}

.admonition-manim-example .highlight {
    border-radius: 0;
}

.admonition-manim-example .highlight pre {
    font-size: 15px;
}

.manim-video {
    width: 100%;
    padding: 8px 0;
    outline: 0;
}

.admonition-manim-example .manim-video {
    padding: 0;
}

.admonition-manim-example img {
    margin-bottom: 0;
}

.admonition-manim-example p:last-child {
    margin-top: 0;
    padding-left: 0.5rem;
    padding-bottom: 0.15rem;
    font-size: 15px;
}

.admonition-manim-example .copybtn {
    margin-right: 6px;
    font-size: 18px;
}

.admonition-manim-example .copybtn:hover {
    cursor: pointer;
}


/* yikes-ish attempt at bugfix for navbar on some browsers */
.sidebar-tree a.internal.reference {
    display: table-cell;
}


p {
    font-size: 1.25em;
}

div > .MathJax {
    font-size: 2em !important;
}

span > .MathJax {
    color: rgb(255, 237, 132) !important;
}

span.pre {
    color: skyblue;
}

summary {
    cursor: pointer;
}

:root {
    --admonition-title-font-size: 1rem;
    --color-admonition-title: #000000;
    --color-admonition-title-text: #d76666;
    --color-admonition-title-background: #099999;
    --color-link: #054c1f;
    --color-link--hover: #ff00f2;
    --icon-admonition-default: none;
}


img {
    margin: 0 auto;
}

p img {
    display: flex;
}