Mercurial > cpython-lru_cache-weakref
annotate Doc/html/style.css @ 24042:63fbbed10714 legacy-trunk
Simplify HTTPSConnection constructor.
See discussion in SF bug 458463.
| author | Jeremy Hylton <jeremy@alum.mit.edu> |
|---|---|
| date | Fri, 28 Jun 2002 23:38:14 +0000 |
| parents | d7b307c379c8 |
| children | 9e430acccdb8 |
| 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; } |
|
23861
d7b307c379c8
Anchors ("a" elements) used only for the name attribute should not
Fred Drake <fdrake@acm.org>
parents:
23333
diff
changeset
|
42 a[href]:hover { background-color: #bbeeff; } |
| 14916 | 43 a:visited { color: #551a8b; } |
| 44 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
|
45 |
| 14916 | 46 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
|
47 font-weight: bold; } |
|
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
48 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
|
49 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
|
50 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
|
51 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
|
52 monospace; } |
|
17011
db55604353b3
Add more font flavors for <var> elements; the previous incarnation caused
Fred Drake <fdrake@acm.org>
parents:
15348
diff
changeset
|
53 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
|
54 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
|
55 font-weight: normal; } |
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
56 |
|
21055
d45691a6987f
Typo, spotted by Fredrik Lundh.
Fred Drake <fdrake@acm.org>
parents:
20977
diff
changeset
|
57 .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
|
58 |
| 14916 | 59 .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
|
60 font-weight: bold; |
|
2e2fbee53e69
Always room to remove more formatting from the HTML!
Fred Drake <fdrake@acm.org>
parents:
14264
diff
changeset
|
61 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
|
62 font-size: 110%; } |
| 14250 | 63 |
|
23333
cd02a36704fe
Added more style for major warnings.
Fred Drake <fdrake@acm.org>
parents:
23050
diff
changeset
|
64 div.warning { background-color: #fffaf0; |
|
cd02a36704fe
Added more style for major warnings.
Fred Drake <fdrake@acm.org>
parents:
23050
diff
changeset
|
65 border: thin solid black; |
|
cd02a36704fe
Added more style for major warnings.
Fred Drake <fdrake@acm.org>
parents:
23050
diff
changeset
|
66 padding: 0.5em; |
|
cd02a36704fe
Added more style for major warnings.
Fred Drake <fdrake@acm.org>
parents:
23050
diff
changeset
|
67 margin-left: 2em; |
|
cd02a36704fe
Added more style for major warnings.
Fred Drake <fdrake@acm.org>
parents:
23050
diff
changeset
|
68 margin-right: 2em; } |
|
cd02a36704fe
Added more style for major warnings.
Fred Drake <fdrake@acm.org>
parents:
23050
diff
changeset
|
69 |
|
cd02a36704fe
Added more style for major warnings.
Fred Drake <fdrake@acm.org>
parents:
23050
diff
changeset
|
70 div.warning .label { font-size: 110%; |
|
cd02a36704fe
Added more style for major warnings.
Fred Drake <fdrake@acm.org>
parents:
23050
diff
changeset
|
71 margin-right: 0.5em; } |
|
cd02a36704fe
Added more style for major warnings.
Fred Drake <fdrake@acm.org>
parents:
23050
diff
changeset
|
72 |
|
15320
3bd13a2fc838
Minor addition; add a little formatting to the release information that
Fred Drake <fdrake@acm.org>
parents:
14973
diff
changeset
|
73 .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
|
74 |
| 14916 | 75 .titlegraphic { vertical-align: top; } |
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
76 |
|
23050
8a8affccf463
Clean up the application of style to verbatim text.
Fred Drake <fdrake@acm.org>
parents:
22831
diff
changeset
|
77 .verbatim pre { color: #00008b; |
|
20977
95e3584abe45
Finally commit the font changes that have been live on the development site
Fred Drake <fdrake@acm.org>
parents:
20113
diff
changeset
|
78 font-family: lucida typewriter, lucidatypewriter, |
|
23050
8a8affccf463
Clean up the application of style to verbatim text.
Fred Drake <fdrake@acm.org>
parents:
22831
diff
changeset
|
79 monospace; |
|
8a8affccf463
Clean up the application of style to verbatim text.
Fred Drake <fdrake@acm.org>
parents:
22831
diff
changeset
|
80 font-size: 90%; } |
|
8a8affccf463
Clean up the application of style to verbatim text.
Fred Drake <fdrake@acm.org>
parents:
22831
diff
changeset
|
81 .verbatim { margin-left: 2em; } |
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
82 |
|
18425
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
83 .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
|
84 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
|
85 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
|
86 .productions { background-color: #bbeeff; } |
| 22831 | 87 .productions a:hover { background-color: #99ccff; } |
|
18425
2fd1377ec48c
Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents:
18235
diff
changeset
|
88 .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
|
89 .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
|
90 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
|
91 |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
92 .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
|
93 .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
|
94 .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
|
95 .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
|
96 .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
|
97 .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
|
98 |
| 15348 | 99 .tableheader { background-color: #99ccff; |
| 14973 | 100 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
|
101 |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
102 .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
|
103 .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
|
104 color: #006600; } |
|
10325
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
105 |
|
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
106 /* |
|
10475
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
107 * 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
|
108 * 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
|
109 * (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
|
110 */ |
| 14916 | 111 .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
|
112 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
|
113 padding: 4pt; } |
|
10475
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
114 |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
115 .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
|
116 |
|
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
117 /* |
|
10325
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
118 * Class 'availability' is used for module availability statements at |
| 14916 | 119 * 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
|
120 */ |
|
18235
eb524322a1c3
Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents:
17011
diff
changeset
|
121 .availability .platform { font-weight: bold; } |
