Explorar el Código

more idiomatic disiplay for variable lists, per Rene's suggestion

[SVN r32500]
Eric Niebler hace 20 años
padre
commit
a815ffee75
Se han modificado 1 ficheros con 10 adiciones y 8 borrados
  1. 10 8
      doc/html/boostbook.css

+ 10 - 8
doc/html/boostbook.css

@@ -163,20 +163,22 @@ div.variablelist p.title
     text-align: left;
 }
 
-/* tabularize parameter lists */
+/* Make the terms in definition lists bold */
 div.variablelist dl dt
 {
-    float: left;
-    clear: left;
-    display: block;
-    font-style: italic;
+    font-weight: bold;
 }
 
 div.variablelist dl dd
 {
-    display: block;
-    clear:   right;
-    padding-left: 8pc;
+    margin: 1em 0em 1em 2em;
+}
+
+/* In Doxygen-generaged parameter lists, the parameter descriptions
+   are wrapped in <p>...</p> for some reason. Ignore that. */
+div.variablelist dl dd p
+{
+    display: inline;
 }
 
 /* title of books and articles in bibliographies */

粤ICP备19079148号