diff options
author | Vegard Nossum <vegard.nossum@oracle.com> | 2023-10-27 11:18:20 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2023-11-17 23:05:26 +0300 |
commit | eed94315555a441028238a4d05c6f86997d9e68e (patch) | |
tree | f0c902313073d9b3344f2e3d87b81e880ba51d86 /Documentation/sphinx-static | |
parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff) | |
download | linux-eed94315555a441028238a4d05c6f86997d9e68e.tar.xz |
docs: style toctree captions as headings
The rtd theme already styles toctree captions as headings, but the
alabaster theme doesn't. Add this in.
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20231027081830.195056-2-vegard.nossum@oracle.com
Diffstat (limited to 'Documentation/sphinx-static')
-rw-r--r-- | Documentation/sphinx-static/custom.css | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/sphinx-static/custom.css b/Documentation/sphinx-static/custom.css index 084a884f6fb7..c7439349dda6 100644 --- a/Documentation/sphinx-static/custom.css +++ b/Documentation/sphinx-static/custom.css @@ -8,6 +8,9 @@ div.body h1 { font-size: 180%; } div.body h2 { font-size: 150%; } div.body h3 { font-size: 130%; } +/* toctree captions are styled like h2 */ +div.toctree-wrapper p.caption[role=heading] { font-size: 150%; } + /* Tighten up the layout slightly */ div.body { padding: 0 15px 0 10px; } div.sphinxsidebarwrapper { padding: 1em 0.4em; } |