[data-md-color-scheme="ri"] {
    /* Primary color shades */
    --md-primary-fg-color: #185A7D;

    /* Accent color shades */
    --md-accent-fg-color: #E35205;

    --doc-symbol-parameter-fg-color: #df50af;
    --doc-symbol-attribute-fg-color: #0079ff;
    --doc-symbol-function-fg-color: #00dfa2;
    --doc-symbol-method-fg-color: #00dfa2;
    --doc-symbol-class-fg-color: #d1b619;
    --doc-symbol-module-fg-color: #ff0060;

    --doc-symbol-parameter-bg-color: #df50af1a;
    --doc-symbol-attribute-bg-color: #0079ff1a;
    --doc-symbol-function-bg-color: #00dfa21a;
    --doc-symbol-method-bg-color: #00dfa21a;
    --doc-symbol-class-bg-color: #d1b6191a;
    --doc-symbol-module-bg-color: #ff00601a;
}

[data-md-color-scheme="slate"] {
    --md-primary-fg-color: #00A1CA;
    --md-accent-fg-color: #E35205;
    --md-hue: 201;

    --doc-symbol-parameter-fg-color: #ffa8cc;
    --doc-symbol-attribute-fg-color: #963fb8;
    --doc-symbol-function-fg-color: #6d67e4;
    --doc-symbol-method-fg-color: #6d67e4;
    --doc-symbol-class-fg-color: #46c2cb;
    --doc-symbol-module-fg-color: #f2f7a1;

    --doc-symbol-parameter-bg-color: #ffa8cc1a;
    --doc-symbol-attribute-bg-color: #963fb81a;
    --doc-symbol-function-bg-color: #6d67e41a;
    --doc-symbol-method-bg-color: #6d67e41a;
    --doc-symbol-class-bg-color: #46c2cb1a;
    --doc-symbol-module-bg-color: #f2f7a11a;
}

.dataframe {
    display: block;
    max-width: -moz-fit-content;
    max-width: fit-content;
    margin: 0 auto;
    overflow-x: auto;
    white-space: nowrap;
}

/* Indentation. */
div.doc-contents:not(.first) {
    padding-left: 25px;
    border-left: .05rem solid var(--md-typeset-table-color);
}

/* Mark external links as such. */
a.external::after,
a.autorefs-external::after {
    /* https://primer.style/octicons/arrow-up-right-24 */
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.25 15.5a.75.75 0 00.75-.75v-9a.75.75 0 00-.75-.75h-9a.75.75 0 000 1.5h7.19L6.22 16.72a.75.75 0 101.06 1.06L17.5 7.56v7.19c0 .414.336.75.75.75z"></path></svg>');
    -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.25 15.5a.75.75 0 00.75-.75v-9a.75.75 0 00-.75-.75h-9a.75.75 0 000 1.5h7.19L6.22 16.72a.75.75 0 101.06 1.06L17.5 7.56v7.19c0 .414.336.75.75.75z"></path></svg>');
    content: ' ';

    display: inline-block;
    vertical-align: middle;
    position: relative;

    height: 1em;
    width: 1em;
    background-color: currentColor;
}

a.external:hover::after,
a.autorefs-external:hover::after {
    background-color: var(--md-accent-fg-color);
}

/* Fancier color for operators such as * and |. */
.doc-signature .o {
    color: var(--md-code-hl-special-color);
}

/* Fancier color for constants such as None, True, and False. */
.doc-signature .kc {
    color: var(--md-code-hl-constant-color);
}

/* Fancier color for built-in types (only useful when cross-references are used). */
.doc-signature .n > a[href^="https://docs.python.org/"][href*="/functions.html#"],
.doc-signature .n > a[href^="https://docs.python.org/"][href*="/stdtypes.html#"] {
    color: var(--md-code-hl-constant-color);
}
