]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Documentation: CSS: Improve man page font
authorPetr Vorel <pvorel@suse.cz>
Tue, 13 Jan 2026 11:36:10 +0000 (12:36 +0100)
committerJonathan Corbet <corbet@lwn.net>
Fri, 16 Jan 2026 18:19:06 +0000 (11:19 -0700)
Define man page font as monospace and bold, i.e. the same as what is
used for .code and <pre>.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260113113612.315748-4-pvorel@suse.cz>

Documentation/sphinx-static/custom.css

index 06cedbae095c2cd0ede2448d7d729cd0ccf5f719..e7ddf3eae7ede8699d0da52891ab5da72b860f2a 100644 (file)
@@ -20,7 +20,7 @@ div.sphinxsidebar { font-size: inherit;
                    overflow-y: auto; }
 /* Tweak document margins and don't force width */
 div.document {
-    margin: 20px 10px 0 10px; 
+    margin: 20px 10px 0 10px;
     width: auto;
 }
 
@@ -151,3 +151,9 @@ div.sphinxsidebar a:hover {
     text-decoration: underline;
     text-underline-offset: 0.3em;
 }
+
+a.manpage {
+       font-style: normal;
+       font-weight: bold;
+       font-family: "Courier New", Courier, monospace;
+}