Explorar el Código

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 hace 21 años
padre
commit
ff32c19cc6
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  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;
 }
 
+/* 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 */
 .inlinemediaobject
 {

粤ICP备19079148号