mirror of https://gitee.com/openkylin/libvirt.git
docs: render class="literal" with monospace font
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>
This commit is contained in:
parent
c6ff3d1535
commit
039787c71a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue