Skip to content

Commit 99aa611

Browse files
donaldhJonathan Corbet
authored andcommitted
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>. Signed-off-by: Donald Hunter <donald.hunter@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20231212213137.98453-1-donald.hunter@gmail.com
1 parent 3a21a21 commit 99aa611

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Documentation/sphinx-static/custom.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
div.body h1 { font-size: 180%; }
88
div.body h2 { font-size: 150%; }
99
div.body h3 { font-size: 130%; }
10+
div.body h4 { font-size: 110%; }
1011

1112
/* toctree captions are styled like h2 */
1213
div.toctree-wrapper p.caption[role=heading] { font-size: 150%; }

0 commit comments

Comments
 (0)