[PATCH] docs: render <span class="literal"> with monospace font

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When using ``....`` in RST, this results in <span class="literal">...</span>
instead of <code>...</code>. 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 <pre> blocks.

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 docs/libvirt.css | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/libvirt.css b/docs/libvirt.css
index d2e1842b62..50cf02e348 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;
 }
+
+span.literal, code {
+    font-family: monospace;
+    background: #eeeeee;
+}
-- 
2.24.1





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux