[RFC PATCH 1/5] docs: css: Make definition list 'code' entries bold when converted from rst

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

 



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@xxxxxxxxxx>
---
 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




[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