/* SPDX-License-Identifier: LGPL-3.0-only */
/* Copyright (C) 2026 <developer@mplx.eu> */

/*
 * Jennifer docs theme tweaks, layered over the built-in mdBook Ayu theme
 * via [output.html] additional-css in book.toml.
 *
 * Widen the content column. mdBook's default --content-max-width is 750px,
 * which line-wraps the library reference tables and leaves most of a wide
 * display empty. 1200px keeps prose at a readable measure while giving the
 * wide tables (cheatsheet, per-library surfaces) room to lay out. Tune the
 * one value below to taste.
 */
:root {
    --content-max-width: 1200px;
}

/*
 * Make tables fill the (widened) content column rather than shrinking to
 * their content. mdBook's default `table { width: auto; margin: 0 auto; }`
 * leaves a short-content table sitting tiny and centered in a wide column;
 * 100% gives every table the full width to lay its columns out. mdBook
 * already wraps tables in a `.table-wrapper` with `overflow-x: auto`, so a
 * table too wide to fit still scrolls on its own - we don't touch overflow.
 */
.content table {
    width: 100%;
}
