[libvirt] [PATCH v2] docs: Add bold style for <dt><code> elements

John Ferlan jferlan at redhat.com
Fri Apr 22 12:18:40 UTC 2016


Add bolding for <dt><code> elements to make them "stick out" on the
page rather that just a stream of text where the elements only differ
by slightly different font style.

Signed-off-by: John Ferlan <jferlan at redhat.com>
---

Based on Andrea's feedback to my v1 patch:

http://www.redhat.com/archives/libvir-list/2016-April/msg01450.html

Also considered adding "color: rgb(256,0,0);" to really make them
pop out, but then thought that could lead down the treacherous path
of customized color on pages (besides, for those red colorblind folks
it's a no win)

 docs/generic.css | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs/generic.css b/docs/generic.css
index 208e31e..ac39f32 100644
--- a/docs/generic.css
+++ b/docs/generic.css
@@ -27,6 +27,10 @@ dt {
   margin-right: 2em;
 }
 
+dt code {
+  font-weight: bold;
+}
+
 dl dd {
   margin-left: 2em;
   margin-right: 2em;
-- 
2.5.5




More information about the libvir-list mailing list