Mercurial > cpython-lru_cache-weakref
annotate Doc/html/style.css @ 13163:a09e8635534d legacy-trunk
Don't try to guess the name of a .def file -- if one is supplied, use it,
otherwise just generate an '/export:' option.
| author | Greg Ward <gward@python.net> |
|---|---|
| date | Thu, 29 Jun 2000 23:09:20 +0000 |
| parents | 2f2f2b1ce568 |
| children | 4afb0889a165 |
| 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 */ |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
7 .MATH { font-family: "Century Schoolbook", serif; } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
8 .MATH I { font-family: "Century Schoolbook", serif; font-weight: bold } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
9 .BOLDMATH { font-family: "Century Schoolbook", serif; font-weight: bold } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
10 |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
11 /* implement both fixed-size and relative sizes */ |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
12 SMALL.XTINY { font-size : xx-small } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
13 SMALL.TINY { font-size : x-small } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
14 SMALL.SCRIPTSIZE { font-size : smaller } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
15 SMALL.FOOTNOTESIZE { font-size : small } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
16 BIG.XLARGE { font-size : large } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
17 BIG.XXLARGE { font-size : x-large } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
18 BIG.HUGE { font-size : larger } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
19 BIG.XHUGE { font-size : xx-large } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
20 |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
21 /* |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
22 * Document-specific styles come next; |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
23 * these are added for the Python documentation. |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
24 * |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
25 * 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
|
26 * 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
|
27 * the normal text size. |
|
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 h1, h2, h3, h4, h5, h6 { font-family: avantgarde, sans-serif; |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
31 font-weight: bold } |
|
10247
1a2a0a3e9ddb
Specify the sizes of H? relative to the normal font size as
Fred Drake <fdrake@acm.org>
parents:
10196
diff
changeset
|
32 h1 { font-size: 180% } |
|
1a2a0a3e9ddb
Specify the sizes of H? relative to the normal font size as
Fred Drake <fdrake@acm.org>
parents:
10196
diff
changeset
|
33 h2 { font-size: 150% } |
|
1a2a0a3e9ddb
Specify the sizes of H? relative to the normal font size as
Fred Drake <fdrake@acm.org>
parents:
10196
diff
changeset
|
34 h3, h4 { font-size: 120% } |
|
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
|
35 code, tt { font-family: monospace } |
|
2f2f2b1ce568
Changes from 1.5.2p2, plus fix a couple of errors noted by Hernan
Fred Drake <fdrake@acm.org>
parents:
10475
diff
changeset
|
36 var { font-family: serif; |
|
2f2f2b1ce568
Changes from 1.5.2p2, plus fix a couple of errors noted by Hernan
Fred Drake <fdrake@acm.org>
parents:
10475
diff
changeset
|
37 font-style: italic; |
|
2f2f2b1ce568
Changes from 1.5.2p2, plus fix a couple of errors noted by Hernan
Fred Drake <fdrake@acm.org>
parents:
10475
diff
changeset
|
38 font-weight: normal } |
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
39 |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
40 .navigation .title { font-family: avantgarde, sans-serif; |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
41 font-size: 110% } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
42 |
|
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
|
43 .verbatim { color: #00008b } |
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
44 |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
45 .email { font-family: avantgarde, sans-serif } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
46 .mimetype { font-family: avantgarde, sans-serif } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
47 .newsgroup { font-family: avantgarde, sans-serif } |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
48 .url { 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
|
49 .file { font-family: avantgarde, sans-serif } |
|
2f2f2b1ce568
Changes from 1.5.2p2, plus fix a couple of errors noted by Hernan
Fred Drake <fdrake@acm.org>
parents:
10475
diff
changeset
|
50 |
|
2f2f2b1ce568
Changes from 1.5.2p2, plus fix a couple of errors noted by Hernan
Fred Drake <fdrake@acm.org>
parents:
10475
diff
changeset
|
51 .refcount-info { font-style: italic } |
|
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 .refcount-info .value { font-weight: bold; |
|
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 color: #006600 } |
|
10325
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
54 |
|
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
55 /* |
|
10475
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
56 * 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
|
57 * 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
|
58 * (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
|
59 */ |
|
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
|
60 .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
|
61 border: thin solid black; |
|
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
62 padding: 4pt } |
|
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
63 |
|
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
64 .seealso .heading { font-size: 110% } |
|
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
65 |
|
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
66 /* |
|
10325
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
67 * Class 'availability' is used for module availability statements at |
|
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
68 * the top of modules. Otherwise, rely on context for platform specifiers |
|
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
69 * (generated by \platform and \platformof). |
|
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
70 */ |
|
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
71 .availability .platform { font-weight: bold } |
