aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2020-09-15 11:22:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-16 18:13:44 +0100
commitcbc5ca48c7e79c47f055a47f8f9aa480490dd00f (patch)
treee556377a03c521016541debf86ab2d63e20cba93
parent08b1ae2350694e22883e07605a28a10c05f62cda (diff)
downloadbitbake-cbc5ca48c7e79c47f055a47f8f9aa480490dd00f.tar.gz
sphinx: theme_override: properly set font for verbatim text
The 'verbatim' text was rendered with Courier font in DocBook (e.g. when using the <filename> tag). With DocBook we are using the ``FOO`` notation which ends up in a <pre> class in the HTML output. Configure the theme CSS to use Courier, to preserve the look and feel of the original docs. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--doc/sphinx-static/theme_overrides.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/sphinx-static/theme_overrides.css b/doc/sphinx-static/theme_overrides.css
index 9685bca33..ffa91884a 100644
--- a/doc/sphinx-static/theme_overrides.css
+++ b/doc/sphinx-static/theme_overrides.css
@@ -74,6 +74,11 @@ h6 {
font-weight: bold;
}
+.pre {
+ font-size: medium;
+ font-family: Courier, monospace;
+}
+
.wy-nav-content a {
text-decoration: underline;
color: #444;