/* Scale plot SVGs to fill the content width */
img[src$=".svg"] {
    width: 100%;
    max-width: 750px;
    height: auto;
    display: block;
    margin: 1.5em auto;
}

/* KaTeX: match inline math to the surrounding body size (the default 1.21em and
   KaTeX's larger-x-height serif font otherwise read oversized in prose). Display
   equations get a touch more size plus breathing room and overflow scroll. */
.katex {
    font-size: 1em;
}
.katex-display > .katex {
    font-size: 1.1em;
}
.katex-display {
    margin: 1em 0;
    overflow-x: auto;
    overflow-y: hidden;
}
