[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    docs: Change <h4> style to use smaller font size than <h3>
From:       Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date:       2024-01-12 3:57:57
Message-ID: git-mailbomb-linux-master-99aa6117a34eef02c135a7199c709541d4445677 () kernel ! org
[Download RAW message or body]

Commit:     99aa6117a34eef02c135a7199c709541d4445677
Parent:     3a21a218a7b6cc92588e6c7a11bfa9b723020094
Refname:    refs/heads/master
Web:        https://git.kernel.org/torvalds/c/99aa6117a34eef02c135a7199c709541d4445677
Author:     Donald Hunter <donald.hunter@gmail.com>
AuthorDate: Tue Dec 12 21:31:37 2023 +0000
Committer:  Jonathan Corbet <corbet@lwn.net>
CommitDate: Fri Dec 15 09:03:43 2023 -0700

    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
---
 Documentation/sphinx-static/custom.css | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/sphinx-static/custom.css b/Documentation/sphinx-static/custom.css
index c992b1946edcc..a88ef12428fa5 100644
--- a/Documentation/sphinx-static/custom.css
+++ b/Documentation/sphinx-static/custom.css
@@ -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%; }
 
 /* toctree captions are styled like h2 */
 div.toctree-wrapper p.caption[role=heading] { font-size: 150%; }

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic