From 20fafe768fcaa5aef96d5d77e1209f46e48228e0 Mon Sep 17 00:00:00 2001 Message-Id: <20fafe768fcaa5aef96d5d77e1209f46e48228e0@dist-git> From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Wed, 4 Mar 2020 12:42:32 +0100 Subject: [PATCH] docs: render class="literal" with monospace font MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é 
(cherry picked from commit 039787c71a2bee6e60ddf5cb0515c0cdb85dd20b)
Signed-off-by: Ján Tomko 
https://bugzilla.redhat.com/show_bug.cgi?id=1694166
Message-Id: <72f7f14e62e058c436303fdeed68986f435b9011.1583322090.git.jtomko@redhat.com>
Reviewed-by: Michal Privoznik 
---
 docs/libvirt.css | 5 +++++
 1 file changed, 5 insertions(+)

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;
+}
-- 
2.25.1