/* Summary box at the top of each encyclopedia entry. */
.entry-summary {
    border: 1px solid var(--quote-border);
    border-left: 4px solid var(--links);
    background: var(--quote-bg);
    border-radius: 6px;
    padding: 0.2em 1em;
    margin: 1.2em 0 1.8em 0;
}
.entry-summary table {
    margin: 0.4em 0;
    width: 100%;
}
.entry-summary table thead {
    display: none;
}
.entry-summary td:first-child {
    white-space: nowrap;
    width: 1%;
    padding-right: 1.2em;
    vertical-align: top;
}
/* Figures generated by the library: centred, never wider than the text. */
main img {
    display: block;
    max-width: 100%;
    margin: 1em auto;
    border-radius: 6px;
}
/* Theorem statements written as block quotes. */
main blockquote {
    font-style: normal;
}
/* The catalogue of algorithms: long item lists flow into columns on wide screens. */
.catalogue ul {
    columns: 2 18em;
    column-gap: 2.5em;
}
.catalogue li {
    break-inside: avoid;
}
/* A row of figures side by side, laid out with a header-less table. */
.figure-row table {
    width: 100%;
}
.figure-row thead {
    display: none;
}
.figure-row td {
    padding: 0.2em;
    border: none;
    background: none;
}

/* Numbered captions for figures (below) and tables (above). */
p.caption {
    text-align: center;
    font-size: 0.9em;
    margin: -0.4em auto 1.2em auto;
    max-width: 90%;
}
