[PATCH] doc/sphinx-static/theme_overrides.css: switch to a fixed width documentation
Antonin Godard <[email protected]>
| Newsgroups | org.openembedded.lists.bitbake-devel,org.yoctoproject.lists.docs |
|---|---|
| Message-ID | <[email protected]> |
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(-) diff --git a/doc/sphinx-static/theme_overrides.css b/doc/sphinx-static/theme_overrides.css index e362677a7f9..3a303c8e1ce 100644 --- a/doc/sphinx-static/theme_overrides.css +++ b/doc/sphinx-static/theme_overrides.css @@ -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