d76c62
From 20fafe768fcaa5aef96d5d77e1209f46e48228e0 Mon Sep 17 00:00:00 2001
d76c62
Message-Id: <20fafe768fcaa5aef96d5d77e1209f46e48228e0@dist-git>
d76c62
From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
d76c62
Date: Wed, 4 Mar 2020 12:42:32 +0100
d76c62
Subject: [PATCH] docs: render class="literal" with monospace font
d76c62
MIME-Version: 1.0
d76c62
Content-Type: text/plain; charset=UTF-8
d76c62
Content-Transfer-Encoding: 8bit
d76c62
d76c62
When using ``....`` in RST, this results in ...
d76c62
instead of .... We thus need an extra rule to render it
d76c62
with a monospace font. Colouring a light gray also helps the text
d76c62
stand out a little more and matches background of 
 blocks.
d76c62
d76c62
Reviewed-by: Ján Tomko <jtomko@redhat.com>
d76c62
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
d76c62
(cherry picked from commit 039787c71a2bee6e60ddf5cb0515c0cdb85dd20b)
d76c62
Signed-off-by: Ján Tomko <jtomko@redhat.com>
d76c62
https://bugzilla.redhat.com/show_bug.cgi?id=1694166
d76c62
Message-Id: <72f7f14e62e058c436303fdeed68986f435b9011.1583322090.git.jtomko@redhat.com>
d76c62
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
d76c62
---
d76c62
 docs/libvirt.css | 5 +++++
d76c62
 1 file changed, 5 insertions(+)
d76c62
d76c62
diff --git a/docs/libvirt.css b/docs/libvirt.css
d76c62
index d2e1842b62..2fe123395c 100644
d76c62
--- a/docs/libvirt.css
d76c62
+++ b/docs/libvirt.css
d76c62
@@ -574,3 +574,8 @@ ul.news-section-content li dl dd {
d76c62
     margin-top: 0.5em;
d76c62
     margin-bottom: 0.5em;
d76c62
 }
d76c62
+
d76c62
+.literal, code {
d76c62
+    font-family: monospace;
d76c62
+    background: #eeeeee;
d76c62
+}
d76c62
-- 
d76c62
2.25.1
d76c62