[PATCH 2/2] Documentation: html: make sidebar section titles bold
Antonin Godard <[email protected]> Mon, 03 Aug 2026 16:35:51 +0200
| Newsgroups | org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Now that section titles are displayed in the sidebar, make them bold to have them stand out compared to the subsection titles. Signed-off-by: Antonin Godard <[email protected]> --- Documentation/sphinx-static/custom.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/sphinx-static/custom.css b/Documentation/sphinx-static/custom.css index 0576d4fcb2a3..3938daf410c3 100644 --- a/Documentation/sphinx-static/custom.css +++ b/Documentation/sphinx-static/custom.css @@ -81,6 +81,11 @@ div.kerneltoc li.current ul { background-color: white; } */ section#the-linux-kernel-documentation p.caption { display: none; } +/* + * Make section titles bold in the sidebar. + */ +div.sphinxsidebar p.caption { font-weight: bold; } + /* * The CSS magic to toggle the contents on small screens. */ -- 2.55.0