Mercurial > cpython-lru_cache-weakref
annotate Doc/html/style.css @ 16413:8819867f14ef legacy-trunk
Patch derived from Trent's 101162: a Python/C API testing framework.
STILL NEEDS UNIX BUILD CHANGES.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Fri, 02 Feb 2001 05:57:15 +0000 |
| parents | d4a46326faf4 |
| children | db55604353b3 |
| 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 |
| 14916 | 13 /* Implement both fixed-size and relative sizes: */ |
| 14 small.xtiny { font-size : xx-small } | |
| 15 small.tiny { font-size : x-small } | |
| 16 small.scriptsize { font-size : smaller } | |
| 17 small.footnotesize { font-size : small } | |
| 18 big.xlarge { font-size : large } | |
| 19 big.xxlarge { font-size : x-large } | |
| 20 big.huge { font-size : larger } | |
| 21 big.xhuge { font-size : xx-large } | |
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
22 |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
23 /* |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
24 * Document-specific styles come next; |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
25 * these are added for the Python documentation. |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
26 * |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
27 * 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
|
28 * 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
|
29 * the normal text size. |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
30 */ |
|
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
31 |
| 14916 | 32 body { color: #000000; |
|
14644
6637c091ff44
Push more of the display control into the style sheet.
Fred Drake <fdrake@acm.org>
parents:
14289
diff
changeset
|
33 background-color: #ffffff; } |
|
6637c091ff44
Push more of the display control into the style sheet.
Fred Drake <fdrake@acm.org>
parents:
14289
diff
changeset
|
34 |
| 14916 | 35 a:active { color: #ff0000; } |
| 36 a:visited { color: #551a8b; } | |
| 37 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
|
38 |
| 14916 | 39 h1, h2, h3, h4, h5, h6 { font-family: avantgarde, sans-serif; |
| 40 font-weight: bold } | |
| 41 h1 { font-size: 180% } | |
| 42 h2 { font-size: 150% } | |
| 43 h3, h4 { font-size: 120% } | |
| 44 code, tt { font-family: monospace } | |
| 45 var { font-family: 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
|
46 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
|
47 font-weight: normal } |
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
48 |
| 14916 | 49 .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
|
50 font-weight: bold; |
|
2e2fbee53e69
Always room to remove more formatting from the HTML!
Fred Drake <fdrake@acm.org>
parents:
14264
diff
changeset
|
51 font-family: avantgarde, sans-serif; |
| 14916 | 52 font-size: 110% } |
| 14250 | 53 |
|
15320
3bd13a2fc838
Minor addition; add a little formatting to the release information that
Fred Drake <fdrake@acm.org>
parents:
14973
diff
changeset
|
54 .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
|
55 |
| 14916 | 56 .titlegraphic { vertical-align: top; } |
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
57 |
| 14916 | 58 .verbatim { color: #00008b } |
|
10196
1e0dd2ef3971
CSS style sheet for the documentation.
Fred Drake <fdrake@acm.org>
parents:
diff
changeset
|
59 |
| 14916 | 60 .email { font-family: avantgarde, sans-serif } |
| 61 .mimetype { font-family: avantgarde, sans-serif } | |
| 62 .newsgroup { font-family: avantgarde, sans-serif } | |
| 63 .url { font-family: avantgarde, sans-serif } | |
| 64 .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
|
65 |
| 15348 | 66 .tableheader { background-color: #99ccff; |
| 14973 | 67 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
|
68 |
|
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
|
69 .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
|
70 .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
|
71 color: #006600 } |
|
10325
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
72 |
|
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
73 /* |
|
10475
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
74 * 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
|
75 * 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
|
76 * (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
|
77 */ |
| 14916 | 78 .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
|
79 border: thin solid black; |
|
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
80 padding: 4pt } |
|
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
81 |
| 14916 | 82 .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
|
83 |
|
c82a85ba1dde
Added some rules that affect those little "See also:" sections.
Fred Drake <fdrake@acm.org>
parents:
10325
diff
changeset
|
84 /* |
|
10325
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
85 * Class 'availability' is used for module availability statements at |
| 14916 | 86 * 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
|
87 */ |
|
4a3e63938469
Changes to accomodate the global module index and platform annotations.
Fred Drake <fdrake@acm.org>
parents:
10247
diff
changeset
|
88 .availability .platform { font-weight: bold } |
