summaryrefslogtreecommitdiffstats
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-17 10:09:35 +0100
commit0a85ac5708b451f7a637f2c6241b50a2f0ba324c (patch)
treece21e713f3f9ed2b39c3d8eea4029ab19e8684e3
parentc526975d28102905d4eddc1cf3520a71f0971ea9 (diff)
downloadpoky-0a85ac5708b451f7a637f2c6241b50a2f0ba324c.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. (From yocto-docs rev: ecd748fb212abe64af1edbe4c44130425faf5688) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/sphinx-static/theme_overrides.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/documentation/sphinx-static/theme_overrides.css b/documentation/sphinx-static/theme_overrides.css
index 9685bca338..ffa91884a7 100644
--- a/documentation/sphinx-static/theme_overrides.css
+++ b/documentation/sphinx-static/theme_overrides.css
@@ -74,6 +74,11 @@ h6 {
74 font-weight: bold; 74 font-weight: bold;
75} 75}
76 76
77.pre {
78 font-size: medium;
79 font-family: Courier, monospace;
80}
81
77.wy-nav-content a { 82.wy-nav-content a {
78 text-decoration: underline; 83 text-decoration: underline;
79 color: #444; 84 color: #444;