doc/sphinx-static/theme_overrides.css: switch to a fixed width documentation
PATCH 1/1 doc/sphinx-static/theme_overrides.css: switch to a fixed width documentation
Like yocto-docs[1], switch to fixed-width documentation for the HTML output.
[1]: https://git.yoctoproject.org/yocto-docs/commit/?id=98234c9d3a0846d719630914bea8599da9f51374
Signed-off-by Antonin Godard <[email protected]>
--- doc/sphinx-static/theme_overrides.css | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-)
doc/sphinx-static/theme_overrides.css +11 -6
@@ -99,14 +99,19 @@ em { [alt='Permalink'] { color: #eee; } [alt='Permalink']:hover { color: black; } +.literal-block { + background: #f8f8f8; +} + @media screen { - /* content column - * - * RTD theme's default is 800px as max width for the content, but we have - * tables with tons of columns, which need the full width of the view-port. - */ + .wy-nav-content { + max-width: 1000px; + background: #fcfcfc; + } - .wy-nav-content{max-width: none; } + .wy-nav-content-wrap { + background: #efefef; + } /* inline literal: drop the borderbox, padding and red color */ code, .rst-content tt, .rst-content code {
---
base-commit: b79667b6599494a0ed209d48bf8bbb7e8921d926
change-id: 20260429-fixed-width-html-9eb500e8823e