[PATCH 01/32] docs: css: Make definition list 'code' entries bold when converted from rst

Peter Krempa pkrempa at redhat.com
Thu Jul 23 13:21:06 UTC 2020


Docutils doesn't generate <code> for inline literals (``blah``) in rst
but rather puts them in the '.literal' class. Add a selector for making
them bold as well.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 docs/generic.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/generic.css b/docs/generic.css
index c4092abc2b..d15d85e67a 100644
--- a/docs/generic.css
+++ b/docs/generic.css
@@ -25,7 +25,7 @@ dt {
   margin-right: 2em;
 }

-dt code {
+dt code, dt .literal {
   font-weight: bold;
 }

-- 
2.26.2




More information about the libvir-list mailing list