Home | History | Annotate | Download | only in web
      1 /*
      2 :Author: David Goodger, Ian Bicking
      3 :Contact: ianb (at) colorstudy.com
      4 :date: $Date: 2003/11/01 20:35:45 $
      5 :version: $Revision: 1.3 $
      6 :copyright: This stylesheet has been placed in the public domain.
      7 
      8 A modification of the default cascading style sheet (v.1.3) for the
      9 HTML output of Docutils.
     10 */
     11 
     12 em, i {
     13   /* Typically serif fonts have much nicer italics */
     14   font-family: Times New Roman, Times, serif;
     15 }
     16 
     17 ul li {
     18   list-style-type: circle;
     19 }
     20 
     21 a.toc-backref {
     22   text-decoration: none;
     23   color: black;
     24 }
     25 
     26 a.toc-backref:hover {
     27   background-color: inherit;
     28 }
     29 
     30 h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6:hover {
     31   background-color: inherit;
     32 }
     33 
     34 cite {
     35   font-style: normal;
     36   font-family: monospace;
     37   font-weight: bold;
     38 }
     39 
     40 dd {
     41   margin-bottom: 0.5em;
     42 }
     43 
     44 div.abstract {
     45   margin: 2em 5em;
     46 }
     47 
     48 div.abstract p.topic-title {
     49   font-weight: bold;
     50   text-align: center;
     51 }
     52 
     53 div.attention, div.caution, div.danger, div.error, div.hint,
     54 div.important, div.note, div.tip, div.warning {
     55   background-color: #ccc;
     56   width: 40%;
     57   border: medium outset;
     58   padding: 3px;
     59   float: right
     60 }
     61 
     62 div.attention p.admonition-title, div.caution p.admonition-title,
     63 div.danger p.admonition-title, div.error p.admonition-title,
     64 div.warning p.admonition-title {
     65   color: #c00;
     66   font-weight: bold;
     67   font-family: sans-serif;
     68   text-align: center;
     69   background-color: #999;
     70   display: block;
     71   margin: 0;
     72 }
     73 
     74 div.hint p.admonition-title, div.important p.admonition-title,
     75 div.note p.admonition-title, div.tip p.admonition-title {
     76   font-weight: bold;
     77   font-family: sans-serif;
     78   text-align: center;
     79   background-color: #999;
     80   display: block;
     81   margin: 0;
     82 }
     83 
     84 div.dedication {
     85   margin: 2em 5em;
     86   text-align: center;
     87   font-style: italic;
     88 }
     89 
     90 div.dedication p.topic-title {
     91   font-weight: bold;
     92   font-style: normal;
     93 }
     94 
     95 div.figure {
     96   margin-left: 2em;
     97 }
     98 
     99 div.footer, div.header {
    100   font-size: smaller;
    101 }
    102 
    103 div.system-messages {
    104   margin: 5em;
    105 }
    106 
    107 div.system-messages h1 {
    108   color: red;
    109 }
    110 
    111 div.system-message {
    112   border: medium outset;
    113   padding: 1em;
    114 }
    115 
    116 div.system-message p.system-message-title {
    117   color: red;
    118   font-weight: bold;
    119 }
    120 
    121 div.topic {
    122   margin: 2em;
    123 }
    124 
    125 h3 a.toc-backref, h4 a.toc-backref, h5 a.toc-backref,
    126 h6 a.toc-backref {
    127   color: #000;
    128 }
    129 
    130 h1.title {
    131   text-align: center;
    132 }
    133 
    134 h2.subtitle {
    135   text-align: center;
    136 }
    137 
    138 hr {
    139   width: 75%;
    140 }
    141 
    142 ol.simple, ul.simple {
    143   margin-bottom: 1em;
    144 }
    145 
    146 ul.contents li {
    147   list-style: none;
    148   margin: 0;
    149   padding: 0;
    150 }
    151 
    152 ul.contents {
    153   position: fixed;
    154   top: 0px;
    155   right: 0px;
    156   background-color: #fd9;
    157   border-left: 1px solid #f70;
    158   border-bottom: 1px solid #f70;
    159   width: 200px;
    160   padding: 0;
    161   margin: 0;
    162 }
    163 
    164 ul.contents a {
    165   padding: 2px 1em 2px 1em;
    166   display: block;
    167   text-decoration: none;
    168   color: #400;
    169 }
    170 
    171 ul.contents a:hover {
    172   background-color: #f80;
    173   color: #fff;
    174 }
    175 
    176 ul.contents li.header {
    177   padding: 5px 1px 3px 0;
    178   font-weight: bold;
    179 }
    180 
    181 ol.arabic {
    182   list-style: decimal;
    183 }
    184 
    185 ol.loweralpha {
    186   list-style: lower-alpha;
    187 }
    188 
    189 ol.upperalpha {
    190   list-style: upper-alpha;
    191 }
    192 
    193 ol.lowerroman {
    194   list-style: lower-roman;
    195 }
    196 
    197 ol.upperroman {
    198   list-style: upper-roman;
    199 }
    200 
    201 p.caption {
    202   font-style: italic;
    203 }
    204 
    205 p.credits {
    206   font-style: italic;
    207   font-size: smaller;
    208 }
    209 
    210 p.first {
    211   margin-top: 0;
    212 }
    213 
    214 p.label {
    215   white-space: nowrap;
    216 }
    217 
    218 p.topic-title {
    219   font-weight: bold;
    220 }
    221 
    222 pre.address {
    223   margin-bottom: 0;
    224   margin-top: 0;
    225   font-family: serif;
    226   font-size: 100%;
    227 }
    228 
    229 pre.line-block {
    230   font-family: serif;
    231   font-size: 100%;
    232 }
    233 
    234 pre.literal-block, pre.doctest-block {
    235   margin-left: 2em;
    236   margin-right: 2em;
    237   background-color: #eee;
    238   border: thin black solid;
    239   padding: 5px;
    240 }
    241 
    242 span.classifier {
    243   font-family: sans-serif;
    244   font-style: oblique;
    245 }
    246 
    247 span.classifier-delimiter {
    248   font-family: sans-serif;
    249   font-weight: bold;
    250 }
    251 
    252 span.interpreted {
    253   font-family: sans-serif;
    254 }
    255 
    256 span.option-argument {
    257   font-style: italic;
    258 }
    259 
    260 span.pre {
    261   white-space: pre;
    262 }
    263 
    264 span.problematic {
    265   color: red;
    266 }
    267 
    268 table {
    269   margin-top: 0.5em;
    270   margin-bottom: 0.5em;
    271 }
    272 
    273 table.citation {
    274   border-left: solid thin gray;
    275   padding-left: 0.5ex
    276 }
    277 
    278 table.docinfo {
    279 }
    280 
    281 table.footnote {
    282   border-left: solid thin black;
    283   padding-left: 0.5ex;
    284 }
    285 
    286 td, th {
    287   padding-left: 0.5em;
    288   padding-right: 0.5em;
    289   vertical-align: top;
    290 }
    291 
    292 td > p:first-child, th > p:first-child {
    293   margin-top: 0em;
    294 }
    295 
    296 th.docinfo-name, th.field-name {
    297   font-weight: bold;
    298   text-align: left;
    299   white-space: nowrap;
    300 }
    301 
    302 h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
    303   font-size: 100%;
    304 }
    305 
    306 code, tt {
    307   color: #006;
    308 }
    309 
    310 ul.auto-toc {
    311   list-style-type: none;
    312 }
    313 
    314 /*****************************************
    315  * Doctest embedded examples
    316  *****************************************/
    317 
    318 span.doctest-url {
    319   background-color: #eee;
    320   border-top: 2px outset #666;
    321   border-left: 2px outset #666;
    322   border-right: 2px outset #666;
    323   padding: 0.25em;
    324 }
    325 
    326 div.doctest-example {
    327   border: outset 5px #666;
    328   background-color: #eee;
    329   font-family: default;
    330   padding: 0.5em;
    331 }
    332 
    333 div.doctest-example h1 {
    334   background-color: inherit;
    335   border: none;
    336   color: inherit;
    337   font-family: default;
    338 }
    339 
    340 div.doctest-example tt {
    341   color: inherit;
    342 }
    343 
    344 div.doctest-status {
    345   background-color: #060;
    346   color: #fff;
    347 }
    348 
    349 span.doctest-header {
    350   background-color: #ccc;
    351   font-family: monospace;
    352 }
    353 
    354 pre.doctest-errors {
    355   border: none;
    356   background-color: #333;
    357   color: #600;
    358 }
    359 
    360 div.source-code {
    361   background-color: #000;
    362   border: inset #999 3px;
    363   overflow: auto;
    364 }
    365 
    366 pre.source-code {
    367   background-color: #000;
    368   border: inset #999 3px;
    369   overflow: auto;
    370   font-family: monospace;
    371   color: #fff;
    372 }
    373 
    374 span.source-filename {
    375   background-color: #000;
    376   border-top: 2px outset #999;
    377   border-left: 2px outset #999;
    378   border-right: 2px outset #999;
    379   padding: 0.25em;
    380   color: #fff
    381 }
    382 
    383