/* locust's manual: a few adjustments to sphinx_book_theme.
 *
 * Screenshots of a 1280-pixel-wide tracker are wide; give them the
 * content's full width, a border so a white page against a white
 * background still has an edge, and a caption that reads as a caption.
 */

img.screenshot,
figure img {
    width: 100%;
    height: auto;
    border: 1px solid var(--pst-color-border, #ccc);
    border-radius: 2px;
}

figcaption {
    font-size: 0.9em;
    font-style: italic;
}

/* Option and page-name tables: the first column is a literal and should
 * not wrap in the middle of an option name. */
table.option-table td:first-child,
table.option-table th:first-child {
    white-space: nowrap;
}
