annotate Doc/html/style.css @ 19283:b865cd5c1925 legacy-trunk

Added comments before recently added/assigned slots in the type object, so the backward compatibility issues will be easier to understand. I only added comments indicating additions and assignments back to Python 2.0.
author Fred Drake <fdrake@acm.org>
date Wed, 15 Aug 2001 18:32:33 +0000
parents 2fd1377ec48c
children 12a787fb71df
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; }
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
42 a:visited { color: #551a8b; }
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
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
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
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%; }
eb524322a1c3 Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents: 17011
diff changeset
50 code, tt { font-family: monospace; }
17011
db55604353b3 Add more font flavors for <var> elements; the previous incarnation caused
Fred Drake <fdrake@acm.org>
parents: 15348
diff changeset
51 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
52 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
53 font-weight: normal; }
10196
1e0dd2ef3971 CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
54
14916
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
55 .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
56 font-weight: bold;
2e2fbee53e69 Always room to remove more formatting from the HTML!
Fred Drake <fdrake@acm.org>
parents: 14264
diff changeset
57 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
58 font-size: 110%; }
14250
4afb0889a165 Move a little more here.
Fred Drake <fdrake@acm.org>
parents: 12113
diff changeset
59
15320
3bd13a2fc838 Minor addition; add a little formatting to the release information that
Fred Drake <fdrake@acm.org>
parents: 14973
diff changeset
60 .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
61
14916
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
62 .titlegraphic { vertical-align: top; }
10196
1e0dd2ef3971 CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
63
18235
eb524322a1c3 Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents: 17011
diff changeset
64 .verbatim { color: #00008b; }
10196
1e0dd2ef3971 CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff changeset
65
18425
2fd1377ec48c Revise a comment about styles I don't think LaTeX2HTML can generate,
Fred Drake <fdrake@acm.org>
parents: 18235
diff changeset
66 .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
67 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
68 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
69 .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
70 .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
71 .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
72 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
73
18235
eb524322a1c3 Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents: 17011
diff changeset
74 .email { 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
75 .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
76 .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
77 .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
78 .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
79
15348
d4a46326faf4 Minor simplification.
Fred Drake <fdrake@acm.org>
parents: 15320
diff changeset
80 .tableheader { background-color: #99ccff;
14973
48b45a281277 Minor stylesheet nit.
Fred Drake <fdrake@acm.org>
parents: 14916
diff changeset
81 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
82
18235
eb524322a1c3 Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents: 17011
diff changeset
83 .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
84 .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
85 color: #006600; }
10325
4a3e63938469 Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents: 10247
diff changeset
86
4a3e63938469 Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents: 10247
diff changeset
87 /*
10475
c82a85ba1dde Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents: 10325
diff changeset
88 * 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
89 * 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
90 * (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
91 */
14916
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
92 .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
93 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
94 padding: 4pt; }
10475
c82a85ba1dde Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents: 10325
diff changeset
95
18235
eb524322a1c3 Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents: 17011
diff changeset
96 .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
97
c82a85ba1dde Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents: 10325
diff changeset
98 /*
10325
4a3e63938469 Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents: 10247
diff changeset
99 * Class 'availability' is used for module availability statements at
14916
aad2b5a3f7bf Consistency nits, untabify.
Fred Drake <fdrake@acm.org>
parents: 14644
diff changeset
100 * 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
101 */
18235
eb524322a1c3 Consistently use semi-colons after the last property for each selector.
Fred Drake <fdrake@acm.org>
parents: 17011
diff changeset
102 .availability .platform { font-weight: bold; }