@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    --pst-font-size-base: 14px;
    --pst-font-family-base: 'Open Sans', var(--pst-font-family-base-system);
    --pst-font-family-heading: 'Open Sans', var(--pst-font-family-base-system);
    --pst-font-family-monospace: 'IBM Plex Mono', var(--pst-font-family-monospace-system);
    --pst-color-inline-code: 23, 23, 23;
}

/* Justify text */
p {
    text-align: justify !important;
}

code {
    font-size: 87.5%;
}

/* signature formatting:
- change fonts to plex mono
- adapt the font weight
- add formatting to the signatures, light background and
  highlighting line at the start of the box.
*/
.sig {
    font-family: 'IBM Plex Mono', monospace;
    font-style: normal;
    color: var(--pst-color-primary);
}

.sig-name {
    color: var(--pst-color-primary);
}

dt {
    font-weight: 600;
    font-size: 87.5%;
    color: var(--pst-color-primary);
}

em.sig-param {
    font-family: 'IBM Plex Mono', monospace;
    font-style: normal;
    color: rgb(23, 23, 23);
}

dt.sig.sig-object.py {
    background-color: rgb(243, 243, 243);
    padding: 5px 5px 5px 10px;
    border-radius: 4px;
    border-left: solid 3px rgba(var(--pst-color-primary))
}

/* Info boxes:
- remove highlighting border line for note boxes etc.
*/
.admonition {
    border-left: none;
    box-shadow: none;
}

.admonition .admonition-title {
    background-color: transparent;
}

.admonition.note .admonition-title {
    background-color: transparent;
}

/* Code boxes:
- remove horizontal lines between the "example" heading and the box
- remove box shadows and lines
*/

p.rubric {
    border-bottom: none;
    margin-top: 10px;
}

pre {
    border: none;
    box-shadow: none;
    border-radius: 4px;
}

/* Center the first heading */
.heading-center h1 {
    text-align: center;
}


.sphx-glr-thumbcontainer {
    background: transparent;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    box-shadow: 0 0 10px #6c757d40;
    box-sizing: border-box;
    border: 1px solid transparent;
    padding-top: 5px;
    margin: 5px;
    min-height: 230px;
}

.sphx-glr-thumbcontainer .figure {
    margin: 5px;
}

.sphx-glr-thumbcontainer a.reference.internal {
    text-align: center;
}

.default-value-section {
    font-weight: bold;
    word-break: break-word;
    padding-left: 0.5em;
    padding-right: 5px;
}

.default-value-section .default-value-label {
    font-weight: 600;
    font-size: 87.5%;
    color: var(--pst-color-primary);
}
