From 039787c71a2bee6e60ddf5cb0515c0cdb85dd20b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Thu, 6 Feb 2020 12:49:09 +0000 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é 
---
 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;
+}