summaryrefslogtreecommitdiffstats
path: root/Doc/html
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-09-06 01:10:14 (GMT)
committerFred Drake <fdrake@acm.org>2003-09-06 01:10:14 (GMT)
commitf3552130e225dbdc4073ace1c05f45a41f94d484 (patch)
tree3474c88726a2581c31942056cb4348eb441d5de9 /Doc/html
parent74530ff4f9d9405d4aaf639ab1b6cb103892aca7 (diff)
downloadcpython-f3552130e225dbdc4073ace1c05f45a41f94d484.zip
cpython-f3552130e225dbdc4073ace1c05f45a41f94d484.tar.gz
cpython-f3552130e225dbdc4073ace1c05f45a41f94d484.tar.bz2
avoid spurious vertical whitespace preceeding heading which are marked
with a \label
Diffstat (limited to 'Doc/html')
-rw-r--r--Doc/html/style.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/html/style.css b/Doc/html/style.css
index e69eac1..7cc4947 100644
--- a/Doc/html/style.css
+++ b/Doc/html/style.css
@@ -49,6 +49,14 @@ h1, h2, h3, h4, h5, h6 { font-family: avantgarde, sans-serif;
h1 { font-size: 180%; }
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; }
var { font-family: times, serif;