From cbc5ca48c7e79c47f055a47f8f9aa480490dd00f Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Tue, 15 Sep 2020 11:22:55 +0200 Subject: sphinx: theme_override: properly set font for verbatim text The 'verbatim' text was rendered with Courier font in DocBook (e.g. when using the tag). With DocBook we are using the ``FOO`` notation which ends up in a
 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 
Signed-off-by: Richard Purdie 
---
 doc/sphinx-static/theme_overrides.css | 5 +++++
 1 file changed, 5 insertions(+)

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;
-- 
cgit 1.2.3-korg