Fred Drake | 00d98ee | 1999-02-16 20:27:08 +0000 | [diff] [blame] | 1 | /* |
| 2 | * The first part of this is the standard CSS generated by LaTeX2HTML, |
| 3 | * with the "empty" declarations removed. |
| 4 | */ |
| 5 | |
| 6 | /* Century Schoolbook font is very similar to Computer Modern Math: cmmi */ |
Fred Drake | 329796d | 2000-09-28 20:41:16 +0000 | [diff] [blame] | 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 } |
Fred Drake | 00d98ee | 1999-02-16 20:27:08 +0000 | [diff] [blame] | 12 | |
Fred Drake | bde8d1c | 2001-07-06 22:37:36 +0000 | [diff] [blame] | 13 | /* |
| 14 | * Implement both fixed-size and relative sizes. |
| 15 | * |
| 16 | * I think these can be safely removed, as it doesn't appear that |
| 17 | * LaTeX2HTML ever generates these, even though these are carried |
| 18 | * over from the LaTeX2HTML stylesheet. |
| 19 | */ |
Fred Drake | 1ab1f71 | 2001-06-23 04:53:43 +0000 | [diff] [blame] | 20 | small.xtiny { font-size : xx-small; } |
| 21 | small.tiny { font-size : x-small; } |
| 22 | small.scriptsize { font-size : smaller; } |
| 23 | small.footnotesize { font-size : small; } |
| 24 | big.xlarge { font-size : large; } |
| 25 | big.xxlarge { font-size : x-large; } |
| 26 | big.huge { font-size : larger; } |
| 27 | big.xhuge { font-size : xx-large; } |
Fred Drake | 00d98ee | 1999-02-16 20:27:08 +0000 | [diff] [blame] | 28 | |
| 29 | /* |
| 30 | * Document-specific styles come next; |
| 31 | * these are added for the Python documentation. |
| 32 | * |
| 33 | * Note that the size specifications for the H* elements are because |
| 34 | * Netscape on Solaris otherwise doesn't get it right; they all end up |
| 35 | * the normal text size. |
| 36 | */ |
| 37 | |
Fred Drake | 329796d | 2000-09-28 20:41:16 +0000 | [diff] [blame] | 38 | body { color: #000000; |
Fred Drake | 1681627 | 2000-09-16 20:40:44 +0000 | [diff] [blame] | 39 | background-color: #ffffff; } |
| 40 | |
Fred Drake | 329796d | 2000-09-28 20:41:16 +0000 | [diff] [blame] | 41 | a:active { color: #ff0000; } |
| 42 | a:visited { color: #551a8b; } |
| 43 | a:link { color: #0000bb; } |
Fred Drake | 1681627 | 2000-09-16 20:40:44 +0000 | [diff] [blame] | 44 | |
Fred Drake | 329796d | 2000-09-28 20:41:16 +0000 | [diff] [blame] | 45 | h1, h2, h3, h4, h5, h6 { font-family: avantgarde, sans-serif; |
Fred Drake | 1ab1f71 | 2001-06-23 04:53:43 +0000 | [diff] [blame] | 46 | font-weight: bold; } |
| 47 | h1 { font-size: 180%; } |
| 48 | h2 { font-size: 150%; } |
| 49 | h3, h4 { font-size: 120%; } |
Fred Drake | e1d4ad3 | 2001-11-14 22:35:59 +0000 | [diff] [blame^] | 50 | code, tt { font-family: lucida typewriter, lucidatypewriter, |
| 51 | monospace; } |
Fred Drake | 9eb4155 | 2001-03-08 22:17:54 +0000 | [diff] [blame] | 52 | var { font-family: times, serif; |
Fred Drake | bdcc96c | 2000-03-29 22:41:52 +0000 | [diff] [blame] | 53 | font-style: italic; |
Fred Drake | 1ab1f71 | 2001-06-23 04:53:43 +0000 | [diff] [blame] | 54 | font-weight: normal; } |
Fred Drake | 00d98ee | 1999-02-16 20:27:08 +0000 | [diff] [blame] | 55 | |
Fred Drake | e1d4ad3 | 2001-11-14 22:35:59 +0000 | [diff] [blame^] | 56 | .typelabel { font-family: lucida, sans serif; } |
| 57 | |
Fred Drake | 329796d | 2000-09-28 20:41:16 +0000 | [diff] [blame] | 58 | .navigation td { background-color: #99ccff; |
Fred Drake | 3eb7c12 | 2000-08-31 07:15:57 +0000 | [diff] [blame] | 59 | font-weight: bold; |
| 60 | font-family: avantgarde, sans-serif; |
Fred Drake | 1ab1f71 | 2001-06-23 04:53:43 +0000 | [diff] [blame] | 61 | font-size: 110%; } |
Fred Drake | 699f98c | 2000-08-29 21:57:34 +0000 | [diff] [blame] | 62 | |
Fred Drake | 6a11960 | 2000-10-25 16:10:46 +0000 | [diff] [blame] | 63 | .release-info { font-style: italic; } |
| 64 | |
Fred Drake | 329796d | 2000-09-28 20:41:16 +0000 | [diff] [blame] | 65 | .titlegraphic { vertical-align: top; } |
Fred Drake | 00d98ee | 1999-02-16 20:27:08 +0000 | [diff] [blame] | 66 | |
Fred Drake | e1d4ad3 | 2001-11-14 22:35:59 +0000 | [diff] [blame^] | 67 | .verbatim { color: #00008b; |
| 68 | font-family: lucida typewriter, lucidatypewriter, |
| 69 | monospace; } |
Fred Drake | 00d98ee | 1999-02-16 20:27:08 +0000 | [diff] [blame] | 70 | |
Fred Drake | bde8d1c | 2001-07-06 22:37:36 +0000 | [diff] [blame] | 71 | .grammar { background-color: #99ccff; |
| 72 | margin-right: 0.5in; |
| 73 | padding: 0.05in; } |
| 74 | .productions { background-color: #bbeeff; } |
| 75 | .productions table { vertical-align: baseline; } |
| 76 | .grammar-footer { padding: 0.05in; |
| 77 | font-size: 85%; } |
| 78 | |
Fred Drake | 1ab1f71 | 2001-06-23 04:53:43 +0000 | [diff] [blame] | 79 | .email { font-family: avantgarde, sans-serif; } |
Fred Drake | 479384e | 2001-09-26 18:46:36 +0000 | [diff] [blame] | 80 | .mailheader { font-family: avantgarde, sans-serif; } |
Fred Drake | 1ab1f71 | 2001-06-23 04:53:43 +0000 | [diff] [blame] | 81 | .mimetype { font-family: avantgarde, sans-serif; } |
| 82 | .newsgroup { font-family: avantgarde, sans-serif; } |
| 83 | .url { font-family: avantgarde, sans-serif; } |
| 84 | .file { font-family: avantgarde, sans-serif; } |
Fred Drake | bdcc96c | 2000-03-29 22:41:52 +0000 | [diff] [blame] | 85 | |
Fred Drake | 6c7fc77 | 2000-10-26 20:01:09 +0000 | [diff] [blame] | 86 | .tableheader { background-color: #99ccff; |
Fred Drake | 5df72f0 | 2000-10-02 17:36:27 +0000 | [diff] [blame] | 87 | font-family: avantgarde, sans-serif; } |
Fred Drake | eacc4fc | 2000-08-30 15:02:13 +0000 | [diff] [blame] | 88 | |
Fred Drake | 1ab1f71 | 2001-06-23 04:53:43 +0000 | [diff] [blame] | 89 | .refcount-info { font-style: italic; } |
Fred Drake | bdcc96c | 2000-03-29 22:41:52 +0000 | [diff] [blame] | 90 | .refcount-info .value { font-weight: bold; |
Fred Drake | 1ab1f71 | 2001-06-23 04:53:43 +0000 | [diff] [blame] | 91 | color: #006600; } |
Fred Drake | 01bc01c | 1999-03-02 15:58:20 +0000 | [diff] [blame] | 92 | |
| 93 | /* |
Fred Drake | 7c6a90d | 1999-03-25 22:22:45 +0000 | [diff] [blame] | 94 | * Some decoration for the "See also:" blocks, in part inspired by some of |
| 95 | * the styling on Lars Marius Garshol's XSA pages. |
| 96 | * (The blue in the navigation bars is #99CCFF.) |
| 97 | */ |
Fred Drake | 329796d | 2000-09-28 20:41:16 +0000 | [diff] [blame] | 98 | .seealso { background-color: #fffaf0; |
Fred Drake | 7c6a90d | 1999-03-25 22:22:45 +0000 | [diff] [blame] | 99 | border: thin solid black; |
Fred Drake | 1ab1f71 | 2001-06-23 04:53:43 +0000 | [diff] [blame] | 100 | padding: 4pt; } |
Fred Drake | 7c6a90d | 1999-03-25 22:22:45 +0000 | [diff] [blame] | 101 | |
Fred Drake | 1ab1f71 | 2001-06-23 04:53:43 +0000 | [diff] [blame] | 102 | .seealso .heading { font-size: 110%; } |
Fred Drake | 7c6a90d | 1999-03-25 22:22:45 +0000 | [diff] [blame] | 103 | |
| 104 | /* |
Fred Drake | 01bc01c | 1999-03-02 15:58:20 +0000 | [diff] [blame] | 105 | * Class 'availability' is used for module availability statements at |
Fred Drake | 329796d | 2000-09-28 20:41:16 +0000 | [diff] [blame] | 106 | * the top of modules. |
Fred Drake | 01bc01c | 1999-03-02 15:58:20 +0000 | [diff] [blame] | 107 | */ |
Fred Drake | 1ab1f71 | 2001-06-23 04:53:43 +0000 | [diff] [blame] | 108 | .availability .platform { font-weight: bold; } |