mirror of https://github.com/python/cpython
86 lines
2.8 KiB
CSS
86 lines
2.8 KiB
CSS
/*
|
|
* The first part of this is the standard CSS generated by LaTeX2HTML,
|
|
* with the "empty" declarations removed.
|
|
*/
|
|
|
|
/* Century Schoolbook font is very similar to Computer Modern Math: cmmi */
|
|
.MATH { font-family: "Century Schoolbook", serif; }
|
|
.MATH I { font-family: "Century Schoolbook", serif; font-weight: bold }
|
|
.BOLDMATH { font-family: "Century Schoolbook", serif; font-weight: bold }
|
|
|
|
/* implement both fixed-size and relative sizes */
|
|
SMALL.XTINY { font-size : xx-small }
|
|
SMALL.TINY { font-size : x-small }
|
|
SMALL.SCRIPTSIZE { font-size : smaller }
|
|
SMALL.FOOTNOTESIZE { font-size : small }
|
|
BIG.XLARGE { font-size : large }
|
|
BIG.XXLARGE { font-size : x-large }
|
|
BIG.HUGE { font-size : larger }
|
|
BIG.XHUGE { font-size : xx-large }
|
|
|
|
/*
|
|
* Document-specific styles come next;
|
|
* these are added for the Python documentation.
|
|
*
|
|
* Note that the size specifications for the H* elements are because
|
|
* Netscape on Solaris otherwise doesn't get it right; they all end up
|
|
* the normal text size.
|
|
*/
|
|
|
|
body { color: #000000;
|
|
background-color: #ffffff; }
|
|
|
|
a:active { color: #ff0000; }
|
|
a:visited { color: #551a8b; }
|
|
a:link { color: #0000bb; }
|
|
|
|
h1, h2, h3, h4, h5, h6 { font-family: avantgarde, sans-serif;
|
|
font-weight: bold }
|
|
h1 { font-size: 180% }
|
|
h2 { font-size: 150% }
|
|
h3, h4 { font-size: 120% }
|
|
code, tt { font-family: monospace }
|
|
var { font-family: serif;
|
|
font-style: italic;
|
|
font-weight: normal }
|
|
|
|
.navigation td { background-color: #99ccff;
|
|
font-weight: bold;
|
|
font-family: avantgarde, sans-serif;
|
|
font-size: 110% }
|
|
|
|
.titlegraphic { vertical-align: top; }
|
|
|
|
.verbatim { color: #00008b }
|
|
|
|
.email { font-family: avantgarde, sans-serif }
|
|
.mimetype { font-family: avantgarde, sans-serif }
|
|
.newsgroup { font-family: avantgarde, sans-serif }
|
|
.url { font-family: avantgarde, sans-serif }
|
|
.file { font-family: avantgarde, sans-serif }
|
|
|
|
.tableheader td { background-color: #99ccff; }
|
|
.tableheader th { background-color: #99ccff; }
|
|
|
|
.refcount-info { font-style: italic }
|
|
.refcount-info .value { font-weight: bold;
|
|
color: #006600 }
|
|
|
|
/*
|
|
* Some decoration for the "See also:" blocks, in part inspired by some of
|
|
* the styling on Lars Marius Garshol's XSA pages.
|
|
* (The blue in the navigation bars is #99CCFF.)
|
|
*/
|
|
.seealso { background-color: #fffaf0;
|
|
border: thin solid black;
|
|
padding: 4pt }
|
|
|
|
.seealso .heading { font-size: 110% }
|
|
|
|
/*
|
|
* Class 'availability' is used for module availability statements at
|
|
* the top of modules. Otherwise, rely on context for platform specifiers
|
|
* (generated by \platform and \platformof).
|
|
*/
|
|
.availability .platform { font-weight: bold }
|