[libvirt] [PATCH v2 07/15] docs: add styling for <tt> element

Daniel P. Berrangé berrange at redhat.com
Fri Nov 22 14:46:54 UTC 2019


Although <tt> is deprecated in HTML5, the rst2html command will still
emit it, in preference to <code> tags, so we must style it too.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 docs/generic.css | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/generic.css b/docs/generic.css
index a6b2354df0..c4092abc2b 100644
--- a/docs/generic.css
+++ b/docs/generic.css
@@ -72,11 +72,11 @@ h6 {
   font-size: 0.8em;
 }
 
-code, pre {
+code, pre, tt {
   font-family: LibvirtOverpassMono;
 }
 
-dd code, p code {
+dd code, p code, tt {
   background-color: #eeeeee;
 }
 
-- 
2.23.0




More information about the libvir-list mailing list