docs: Change <h4> style to use smaller font size than <h3>
PATCH 1/1 docs: Change <h4> style to use smaller font size than <h3>
The docs currently have <h3> and <h4> set to the same font size which makes headings hard to distinguish. <h1> to <h3> already have entries in sphinx-static/custom.css to shrink their size a bit from the alabaster theme.
Add <h4> to custom.css and set it to be smaller than <h3>.
--- Documentation/sphinx-static/custom.css | 1 + 1 file changed, 1 insertion(+)
Documentation/sphinx-static/custom.css +1 -0
@@ -7,6 +7,7 @@ div.body h1 { font-size: 180%; } div.body h2 { font-size: 150%; } div.body h3 { font-size: 130%; } +div.body h4 { font-size: 110%; } /* Tighten up the layout slightly */ div.body { padding: 0 15px 0 10px; }
Signature · 1 line
2.42.0
Jonathan Corbet
maintainerQuoted 17 lines · Donald Hunter
The docs currently have <h3> and <h4> set to the same font size which makes headings hard to distinguish. <h1> to <h3> already have entries in sphinx-static/custom.css to shrink their size a bit from the alabaster theme.
Add <h4> to custom.css and set it to be smaller than <h3>.
Signed-off-by Donald Hunter <[email protected]>--- Documentation/sphinx-static/custom.css | 1 + 1 file changed, 1 insertion(+)Documentation/sphinx-static/custom.css +0
-0
Documentation/sphinx-static/custom.css line 10
Quoted 4 lines
Documentation/sphinx-static/custom.css +1
-0@@ -7,6 +7,7 @@ div.body h1 { font-size: 180%; } div.body h2 { font-size: 150%; } div.body h3 { font-size: 130%; } +div.body h4 { font-size: 110%; }
This didn't apply to docs-next; it looks like you built it against something like 6.6?
I've done the merge and applied the patch, but it would make life easier if future patches were done against the docs tree.
Thanks,
jon