mirror of
https://github.com/python/cpython.git
synced 2025-09-14 04:37:29 +00:00
avoid spurious vertical whitespace preceeding heading which are marked
with a \label
This commit is contained in:
parent
74530ff4f9
commit
f3552130e2
1 changed files with 8 additions and 0 deletions
|
@ -49,6 +49,14 @@ h1, h2, h3, h4, h5, h6 { font-family: avantgarde, sans-serif;
|
||||||
h1 { font-size: 180%; }
|
h1 { font-size: 180%; }
|
||||||
h2 { font-size: 150%; }
|
h2 { font-size: 150%; }
|
||||||
h3, h4 { font-size: 120%; }
|
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,
|
code, tt { font-family: "lucida typewriter", lucidatypewriter,
|
||||||
monospace; }
|
monospace; }
|
||||||
var { font-family: times, serif;
|
var { font-family: times, serif;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue