Skip to content

Commit 653793b

Browse files
pevikJonathan Corbet
authored andcommitted
Documentation: CSS: Improve man page font
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>
1 parent 9088a76 commit 653793b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Documentation/sphinx-static/custom.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ div.sphinxsidebar { font-size: inherit;
2020
overflow-y: auto; }
2121
/* Tweak document margins and don't force width */
2222
div.document {
23-
margin: 20px 10px 0 10px;
23+
margin: 20px 10px 0 10px;
2424
width: auto;
2525
}
2626

@@ -151,3 +151,9 @@ div.sphinxsidebar a:hover {
151151
text-decoration: underline;
152152
text-underline-offset: 0.3em;
153153
}
154+
155+
a.manpage {
156+
font-style: normal;
157+
font-weight: bold;
158+
font-family: "Courier New", Courier, monospace;
159+
}

0 commit comments

Comments
 (0)