diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2020-09-15 11:22:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-16 18:14:08 +0100 |
commit | 4369b5986eddf9444a27b2a9e99ef70226b7f202 (patch) | |
tree | cb58020b6fa8adb7c97d9ad48d5425d96fed012c /bitbake | |
parent | c6225653e021db156e5b6aa2ea6859b736908509 (diff) | |
download | poky-4369b5986eddf9444a27b2a9e99ef70226b7f202.tar.gz |
bitbake: 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.
(Bitbake rev: cbc5ca48c7e79c47f055a47f8f9aa480490dd00f)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/doc/sphinx-static/theme_overrides.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/doc/sphinx-static/theme_overrides.css b/bitbake/doc/sphinx-static/theme_overrides.css index 9685bca338..ffa91884a7 100644 --- a/bitbake/doc/sphinx-static/theme_overrides.css +++ b/bitbake/doc/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; |