Mercurial > cpython-lru_cache-weakref
annotate Doc/html/style.css @ 25838:8540887bcec6 2.2
Backport of 2.183:
Fix memory leak in add_subclass() found by NealN with valgrind.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 18 Oct 2002 13:42:21 +0000 |
| parents | d45691a6987f |
| children | 3af8ab1b05fc |
| rev | line source |
|---|---|
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
1 /* |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
2 * The first part of this is the standard CSS generated by LaTeX2HTML, |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
3 * with the "empty" declarations removed. |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
4 */ |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
5 |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
6 /* Century Schoolbook font is very similar to Computer Modern Math: cmmi */ |
| 14916 | 7 .math { font-family: "Century Schoolbook", serif; } |
| 8 .math i { font-family: "Century Schoolbook", serif; | |
| 9 font-weight: bold } | |
| 10 .boldmath { font-family: "Century Schoolbook", serif; | |
| 11 font-weight: bold } | |
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
12 |
|
18425
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
13 /* |
|
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
14 * Implement both fixed-size and relative sizes. |
|
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
15 * |
|
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
16 * I think these can be safely removed, as it doesn't appear that |
|
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
17 * LaTeX2HTML ever generates these, even though these are carried |
|
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
18 * over from the LaTeX2HTML stylesheet. |
|
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
19 */ |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
20 small.xtiny { font-size : xx-small; } |
|
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
21 small.tiny { font-size : x-small; } |
|
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
22 small.scriptsize { font-size : smaller; } |
|
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
23 small.footnotesize { font-size : small; } |
|
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
24 big.xlarge { font-size : large; } |
|
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
25 big.xxlarge { font-size : x-large; } |
|
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
26 big.huge { font-size : larger; } |
|
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
27 big.xhuge { font-size : xx-large; } |
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
28 |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
29 /* |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
30 * Document-specific styles come next; |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
31 * these are added for the Python documentation. |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
32 * |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
33 * Note that the size specifications for the H* elements are because |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
34 * Netscape on Solaris otherwise doesn't get it right; they all end up |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
35 * the normal text size. |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
36 */ |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
37 |
| 14916 | 38 body { color: #000000; |
|
14644
6637c091ff44
Push more of the display control into the style sheet.
Fred Drake <fdrake@acm.org>
parents:
14289
diff
changeset
|
39 background-color: #ffffff; } |
|
6637c091ff44
Push more of the display control into the style sheet.
Fred Drake <fdrake@acm.org>
parents:
14289
diff
changeset
|
40 |
| 14916 | 41 a:active { color: #ff0000; } |
| 42 a:visited { color: #551a8b; } | |
| 43 a:link { color: #0000bb; } | |
|
14644
6637c091ff44
Push more of the display control into the style sheet.
Fred Drake <fdrake@acm.org>
parents:
14289
diff
changeset
|
44 |
| 14916 | 45 h1, h2, h3, h4, h5, h6 { font-family: avantgarde, sans-serif; |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
46 font-weight: bold; } |
|
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
47 h1 { font-size: 180%; } |
|
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
48 h2 { font-size: 150%; } |
|
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
49 h3, h4 { font-size: 120%; } |
|
20977
95e3584abe45
Finally commit the font changes that have been live on the development site
Fred Drake <fdrake@acm.org>
parents:
20113
diff
changeset
|
50 code, tt { font-family: lucida typewriter, lucidatypewriter, |
|
95e3584abe45
Finally commit the font changes that have been live on the development site
Fred Drake <fdrake@acm.org>
parents:
20113
diff
changeset
|
51 monospace; } |
|
17011
db55604353b3
Add more font flavors for <var> elements; the previous incarnation caused
Fred Drake <fdrake@acm.org>
parents:
15348
diff
changeset
|
52 var { font-family: times, serif; |
|
12113
2f2f2b1ce568
Changes from 1.5.2p2, plus fix a couple of errors noted by Hernan
Fred Drake <fdrake@acm.org>
parents:
10475
diff
changeset
|
53 font-style: italic; |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
54 font-weight: normal; } |
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
55 |
|
21055
d45691a6987f
Typo, spotted by Fredrik Lundh.
Fred Drake <fdrake@acm.org>
parents:
20977
diff
changeset
|
56 .typelabel { font-family: lucida, sans-serif; } |
|
20977
95e3584abe45
Finally commit the font changes that have been live on the development site
Fred Drake <fdrake@acm.org>
parents:
20113
diff
changeset
|
57 |
| 14916 | 58 .navigation td { background-color: #99ccff; |
|
14289
2e2fbee53e69
Always room to remove more formatting from the HTML!
Fred Drake <fdrake@acm.org>
parents:
14264
diff
changeset
|
59 font-weight: bold; |
|
2e2fbee53e69
Always room to remove more formatting from the HTML!
Fred Drake <fdrake@acm.org>
parents:
14264
diff
changeset
|
60 font-family: avantgarde, sans-serif; |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
61 font-size: 110%; } |
| 14250 | 62 |
|
15320
3bd13a2fc838
Minor addition; add a little formatting to the release information that
Fred Drake <fdrake@acm.org>
parents:
14973
diff
changeset
|
63 .release-info { font-style: italic; } |
|
3bd13a2fc838
Minor addition; add a little formatting to the release information that
Fred Drake <fdrake@acm.org>
parents:
14973
diff
changeset
|
64 |
| 14916 | 65 .titlegraphic { vertical-align: top; } |
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
66 |
|
20977
95e3584abe45
Finally commit the font changes that have been live on the development site
Fred Drake <fdrake@acm.org>
parents:
20113
diff
changeset
|
67 .verbatim { color: #00008b; |
|
95e3584abe45
Finally commit the font changes that have been live on the development site
Fred Drake <fdrake@acm.org>
parents:
20113
diff
changeset
|
68 font-family: lucida typewriter, lucidatypewriter, |
|
95e3584abe45
Finally commit the font changes that have been live on the development site
Fred Drake <fdrake@acm.org>
parents:
20113
diff
changeset
|
69 monospace; } |
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
70 |
|
18425
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
71 .grammar { background-color: #99ccff; |
|
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
72 margin-right: 0.5in; |
|
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
73 padding: 0.05in; } |
|
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
74 .productions { background-color: #bbeeff; } |
|
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
75 .productions table { vertical-align: baseline; } |
|
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
76 .grammar-footer { padding: 0.05in; |
|
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
77 font-size: 85%; } |
|
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
78 |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
79 .email { font-family: avantgarde, sans-serif; } |
|
20113
12a787fb71df
Move the styling for the HTML version of \mailheader into the CSS file.
Fred Drake <fdrake@acm.org>
parents:
18425
diff
changeset
|
80 .mailheader { font-family: avantgarde, sans-serif; } |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
81 .mimetype { font-family: avantgarde, sans-serif; } |
|
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
82 .newsgroup { font-family: avantgarde, sans-serif; } |
|
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
83 .url { font-family: avantgarde, sans-serif; } |
|
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
84 .file { font-family: avantgarde, sans-serif; } |
|
12113
2f2f2b1ce568
Changes from 1.5.2p2, plus fix a couple of errors noted by Hernan
Fred Drake <fdrake@acm.org>
parents:
10475
diff
changeset
|
85 |
| 15348 | 86 .tableheader { background-color: #99ccff; |
| 14973 | 87 font-family: avantgarde, sans-serif; } |
|
14264
660dbcc18b9e
Push a little more here to avoid style information in the generation
Fred Drake <fdrake@acm.org>
parents:
14250
diff
changeset
|
88 |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
89 .refcount-info { font-style: italic; } |
|
12113
2f2f2b1ce568
Changes from 1.5.2p2, plus fix a couple of errors noted by Hernan
Fred Drake <fdrake@acm.org>
parents:
10475
diff
changeset
|
90 .refcount-info .value { font-weight: bold; |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
91 color: #006600; } |
|
10325
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
92 |
|
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
93 /* |
|
10475
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
94 * Some decoration for the "See also:" blocks, in part inspired by some of |
|
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
95 * the styling on Lars Marius Garshol's XSA pages. |
|
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
96 * (The blue in the navigation bars is #99CCFF.) |
|
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
97 */ |
| 14916 | 98 .seealso { background-color: #fffaf0; |
|
10475
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
99 border: thin solid black; |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
100 padding: 4pt; } |
|
10475
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
101 |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
102 .seealso .heading { font-size: 110%; } |
|
10475
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
103 |
|
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
104 /* |
|
10325
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
105 * Class 'availability' is used for module availability statements at |
| 14916 | 106 * the top of modules. |
|
10325
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
107 */ |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
108 .availability .platform { font-weight: bold; } |
