From: Daniel P. Berrangé Date: Thu, 6 Feb 2020 12:49:09 +0000 (+0000) Subject: docs: render class="literal" with monospace font X-Git-Tag: v6.1.0-rc1~207 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=039787c71a2bee6e60ddf5cb0515c0cdb85dd20b;p=thirdparty%2Flibvirt.git docs: render class="literal" with monospace font When using ``....`` in RST, this results in ... instead of .... We thus need an extra rule to render it with a monospace font. Colouring a light gray also helps the text stand out a little more and matches background of
 blocks.

Reviewed-by: Ján Tomko 
Signed-off-by: Daniel P. Berrangé 
---

diff --git a/docs/libvirt.css b/docs/libvirt.css
index d2e1842b62..2fe123395c 100644
--- a/docs/libvirt.css
+++ b/docs/libvirt.css
@@ -574,3 +574,8 @@ ul.news-section-content li dl dd {
     margin-top: 0.5em;
     margin-bottom: 0.5em;
 }
+
+.literal, code {
+    font-family: monospace;
+    background: #eeeeee;
+}