cookbook: Remove bold on emphasis inside programlisting
authorElliot Smith <elliot.smith@intel.com>
Thu, 9 Dec 2010 11:40:27 +0000 (11:40 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 9 Dec 2010 13:39:48 +0000 (13:39 +0000)
If an <emphasis> element is placed inside a <programlisting> in a cookbook
recipe, the result is bold italic text in the HTML output. This isn't
particularly readable.

Fix is to style emphasis elements inside programlistings
so the font weight is not bold but is still italicised.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2475

doc/common/style.css

index 06656b2..d2484da 100644 (file)
@@ -530,6 +530,9 @@ div.navfooter hr {
   font-weight: bold;
 }
 
+pre.programlisting .emphasis {
+  font-weight: normal !important;
+}
 
   /************* /
  / decorations  /