]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: render class="literal" with monospace font
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 6 Feb 2020 12:49:09 +0000 (12:49 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 7 Feb 2020 10:18:16 +0000 (10:18 +0000)
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.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
docs/libvirt.css

index d2e1842b6241c200519ad68f02c68d1b76f3cd3a..2fe123395c2c13bb15939b5646216336f50362ab 100644 (file)
@@ -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;
+}