/* copy python sig object styles */
:is(.config-property, .config-table)>h2,
h3 {
    display: table;
    margin: 6px 0;
    color: var(--sig-color) !important;
    padding: 6px;
    position: relative;
    background: var(--sig-background) !important;
}

section.config-property>h2,
h3 {
    border-left-color: var(--sig-border-left-color);
    border: none;
    border-left: 3px solid var(--sig-border-left);
    font-size: var(--pst-font-size-h5);
}

section.config-table>h2 {
    border-top: 3px solid var(--sig-border-top);
    font-size: var(--pst-font-size-h4);
}

/* indent properties relative to their tables by a small amount to make them
stand out better */
section.config-table>.config-property {
    margin-left: 25px;
}

/* copied from python API reference */
html[data-theme="dark"] {
    --sig-color: ##fff;
    --sig-border-top: #4e5b64;
    --sig-background: #29313d;
    --sig-border-left-color: #3e4446;
    --sig-border-left: #666;
}

html[data-theme="light"] {
    --sig-color: #19527b;
    --sig-border-top: #93bad4;
    --sig-background: #e7f2fa;
    --sig-border-left-color: #3e4446;
    --sig-border-left: #ccc;
}