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>
This commit is contained in:
Nicolas Dechesne 2020-09-15 11:22:55 +02:00 committed by Richard Purdie
parent c526975d28
commit 0a85ac5708

View File

@ -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;