[Python-checkins] python/dist/src/Doc/html style.css,1.31,1.32
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Fri Sep 5 19:10:16 EDT 2003
Update of /cvsroot/python/python/dist/src/Doc/html
In directory sc8-pr-cvs1:/tmp/cvs-serv10084
Modified Files:
style.css
Log Message:
avoid spurious vertical whitespace preceeding heading which are marked
with a \label
Index: style.css
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/html/style.css,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** style.css 5 Sep 2003 13:58:26 -0000 1.31
--- style.css 6 Sep 2003 01:10:14 -0000 1.32
***************
*** 50,53 ****
--- 50,61 ----
h2 { font-size: 150%; }
h3, h4 { font-size: 120%; }
+
+ /* LaTeX2HTML insists on inserting <br> elements into headers which
+ * are marked with \label. This little bit of CSS magic ensures that
+ * these elements don't cause spurious whitespace to be added.
+ */
+ h1>br, h2>br, h3>br,
+ h4>br, h5>br, h6>br { display: none; }
+
code, tt { font-family: "lucida typewriter", lucidatypewriter,
monospace; }
More information about the Python-checkins
mailing list