annotate Doc/html/style.css @ 27998:e27f58a50737 legacy-trunk

SF bug #690377: Dud footnote reference in distutils docs
author Raymond Hettinger <python@rcn.com>
date Fri, 21 Feb 2003 02:47:09 +0000
parents 44f465683927
children 2d16c3efe147
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
7 .math { font-family: "Century Schoolbook", serif; }
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
8 .math i { font-family: "Century Schoolbook", serif;
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
9 font-weight: bold }
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
10 .boldmath { font-family: "Century Schoolbook", serif;
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
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
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
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
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
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
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
43 a:visited { color: #551a8b; }
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
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
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
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
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
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
4afb0889a165 Move a little more here.
Fred Drake <fdrake@acm.org>
parents: 12113
diff changeset
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
27417
9e430acccdb8 Make the "notice" environments somewhat similar, with less difference
Fred Drake <fdrake@acm.org>
parents: 23861
diff changeset
70 div.warning .label { font-family: sans-serif;
9e430acccdb8 Make the "notice" environments somewhat similar, with less difference
Fred Drake <fdrake@acm.org>
parents: 23861
diff changeset
71 font-size: 110%;
23333
cd02a36704fe Added more style for major warnings.
Fred Drake <fdrake@acm.org>
parents: 23050
diff changeset
72 margin-right: 0.5em; }
cd02a36704fe Added more style for major warnings.
Fred Drake <fdrake@acm.org>
parents: 23050
diff changeset
73
27417
9e430acccdb8 Make the "notice" environments somewhat similar, with less difference
Fred Drake <fdrake@acm.org>
parents: 23861
diff changeset
74 div.note { background-color: #fffaf0;
9e430acccdb8 Make the "notice" environments somewhat similar, with less difference
Fred Drake <fdrake@acm.org>
parents: 23861
diff changeset
75 border: thin solid black;
9e430acccdb8 Make the "notice" environments somewhat similar, with less difference
Fred Drake <fdrake@acm.org>
parents: 23861
diff changeset
76 padding: 0.5em;
9e430acccdb8 Make the "notice" environments somewhat similar, with less difference
Fred Drake <fdrake@acm.org>
parents: 23861
diff changeset
77 margin-left: 2em;
9e430acccdb8 Make the "notice" environments somewhat similar, with less difference
Fred Drake <fdrake@acm.org>
parents: 23861
diff changeset
78 margin-right: 2em; }
9e430acccdb8 Make the "notice" environments somewhat similar, with less difference
Fred Drake <fdrake@acm.org>
parents: 23861
diff changeset
79
9e430acccdb8 Make the "notice" environments somewhat similar, with less difference
Fred Drake <fdrake@acm.org>
parents: 23861
diff changeset
80 div.note .label { margin-right: 0.5em;
9e430acccdb8 Make the "notice" environments somewhat similar, with less difference
Fred Drake <fdrake@acm.org>
parents: 23861
diff changeset
81 font-family: sans-serif; }
9e430acccdb8 Make the "notice" environments somewhat similar, with less difference
Fred Drake <fdrake@acm.org>
parents: 23861
diff changeset
82
15320
3bd13a2fc838 Minor addition; add a little formatting to the release information that
Fred Drake <fdrake@acm.org>
parents: 14973
diff changeset
83 .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
84
14916
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
85 .titlegraphic { vertical-align: top; }
10196
1e0dd2ef3971 CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
86
23050
8a8affccf463 Clean up the application of style to verbatim text.
Fred Drake <fdrake@acm.org>
parents: 22831
diff changeset
87 .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
88 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
89 monospace;
8a8affccf463 Clean up the application of style to verbatim text.
Fred Drake <fdrake@acm.org>
parents: 22831
diff changeset
90 font-size: 90%; }
8a8affccf463 Clean up the application of style to verbatim text.
Fred Drake <fdrake@acm.org>
parents: 22831
diff changeset
91 .verbatim { margin-left: 2em; }
27509
44f465683927 Make the footer at the end of a \verbatiminput stand out a little
Fred Drake <fdrake@acm.org>
parents: 27417
diff changeset
92 .verbatim .footer { padding: 0.05in;
44f465683927 Make the footer at the end of a \verbatiminput stand out a little
Fred Drake <fdrake@acm.org>
parents: 27417
diff changeset
93 font-size: 85%;
44f465683927 Make the footer at the end of a \verbatiminput stand out a little
Fred Drake <fdrake@acm.org>
parents: 27417
diff changeset
94 background-color: #99ccff;
44f465683927 Make the footer at the end of a \verbatiminput stand out a little
Fred Drake <fdrake@acm.org>
parents: 27417
diff changeset
95 margin-right: 0.5in; }
10196
1e0dd2ef3971 CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
96
18425
2fd1377ec48c Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents: 18235
diff changeset
97 .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
98 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
99 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
100 .productions { background-color: #bbeeff; }
22831
3af8ab1b05fc Minor style change.
Fred Drake <fdrake@acm.org>
parents: 21055
diff changeset
101 .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
102 .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
103 .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
104 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
105
18235
eb524322a1c3 Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents: 17011
diff changeset
106 .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
107 .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
108 .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
109 .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
110 .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
111 .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
112
15348
d4a46326faf4 Minor simplification.
Fred Drake <fdrake@acm.org>
parents: 15320
diff changeset
113 .tableheader { background-color: #99ccff;
14973
48b45a281277 Minor stylesheet nit.
Fred Drake <fdrake@acm.org>
parents: 14916
diff changeset
114 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
115
18235
eb524322a1c3 Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents: 17011
diff changeset
116 .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
117 .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
118 color: #006600; }
10325
4a3e63938469 Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents: 10247
diff changeset
119
4a3e63938469 Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents: 10247
diff changeset
120 /*
10475
c82a85ba1dde Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents: 10325
diff changeset
121 * 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
122 * 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
123 * (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
124 */
14916
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
125 .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
126 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
127 padding: 4pt; }
10475
c82a85ba1dde Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents: 10325
diff changeset
128
18235
eb524322a1c3 Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents: 17011
diff changeset
129 .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
130
c82a85ba1dde Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents: 10325
diff changeset
131 /*
10325
4a3e63938469 Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents: 10247
diff changeset
132 * Class 'availability' is used for module availability statements at
14916
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
133 * 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
134 */
18235
eb524322a1c3 Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents: 17011
diff changeset
135 .availability .platform { font-weight: bold; }