Преглед изворни кода

add a rule that cuts down on margins for program listings that are inside of a table. This is particularly relevant to the date-time docs which use this form extensively.

[SVN r27353]
Jeff Garland пре 21 година
родитељ
комит
ff32c19cc6
1 измењених фајлова са 11 додато и 0 уклоњено
  1. 11 0
      doc/html/boostbook.css

+ 11 - 0
doc/html/boostbook.css

@@ -138,6 +138,17 @@ div.informaltable table tr th, div.table table tr th
     border: 1pt solid white;
     border: 1pt solid white;
 }
 }
 
 
+/* screen & programlisting, when used in a table cell, do not
+   need the extra padding and margin normally used */
+
+td .screen, td .programlisting
+{
+    display: block;
+    margin-left: 0%;
+    margin-right: 0%;
+    padding: 0.5pc 0.5pc 0.5pc 0.5pc;
+}
+
 /* inlined images */
 /* inlined images */
 .inlinemediaobject
 .inlinemediaobject
 {
 {

粤ICP备19079148号