Home | History | Annotate | Download | only in doc
      1 /*
      2 :Author: David Goodger
      3 :Contact: goodger (at) users.sourceforge.net
      4 :Date: $Date: 2007-04-11 11:48:16 +0100 (Wed, 11 Apr 2007) $
      5 :Revision: $Revision: 2791 $
      6 :Copyright: This stylesheet has been placed in the public domain.
      7 :Modified by: Kate Ward <kate.ward (at) forestent.com>
      8 
      9 Default cascading style sheet for the HTML output of Docutils.
     10 
     11 See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
     12 customize this style sheet.
     13 */
     14 
     15 /* used to remove borders from tables and images */
     16 .borderless, table.borderless td, table.borderless th {
     17   border: 0 }
     18 
     19 table.borderless td, table.borderless th {
     20   /* Override padding for "table.docutils td" with "! important".
     21      The right padding separates the table cells. */
     22   padding: 0 0.5em 0 0 ! important }
     23 
     24 .first {
     25   /* Override more specific margin styles with "! important". */
     26   margin-top: 0 ! important }
     27 
     28 .last, .with-subtitle {
     29   margin-bottom: 0 ! important }
     30 
     31 .hidden {
     32   display: none }
     33 
     34 a.toc-backref {
     35   text-decoration: none ;
     36   color: black }
     37 
     38 blockquote.epigraph {
     39   margin: 2em 5em ; }
     40 
     41 dl.docutils dd {
     42   margin-bottom: 0.5em }
     43 
     44 /* Uncomment (and remove this text!) to get bold-faced definition list terms
     45 dl.docutils dt {
     46   font-weight: bold }
     47 */
     48 
     49 div.abstract {
     50   margin: 2em 5em }
     51 
     52 div.abstract p.topic-title {
     53   font-weight: bold ;
     54   text-align: center }
     55 
     56 div.admonition, div.attention, div.caution, div.danger, div.error,
     57 div.hint, div.important, div.note, div.tip, div.warning {
     58   margin: 2em ;
     59   border: medium outset ;
     60   padding: 1em }
     61 
     62 div.admonition p.admonition-title, div.hint p.admonition-title,
     63 div.important p.admonition-title, div.note p.admonition-title,
     64 div.tip p.admonition-title {
     65   font-weight: bold ;
     66   font-family: sans-serif }
     67 
     68 div.attention p.admonition-title, div.caution p.admonition-title,
     69 div.danger p.admonition-title, div.error p.admonition-title,
     70 div.warning p.admonition-title {
     71   color: red ;
     72   font-weight: bold ;
     73   font-family: sans-serif }
     74 
     75 /* Uncomment (and remove this text!) to get reduced vertical space in
     76    compound paragraphs.
     77 div.compound .compound-first, div.compound .compound-middle {
     78   margin-bottom: 0.5em }
     79 
     80 div.compound .compound-last, div.compound .compound-middle {
     81   margin-top: 0.5em }
     82 */
     83 
     84 div.dedication {
     85   margin: 2em 5em ;
     86   text-align: center ;
     87   font-style: italic }
     88 
     89 div.dedication p.topic-title {
     90   font-weight: bold ;
     91   font-style: normal }
     92 
     93 div.figure {
     94   margin-left: 2em ;
     95   margin-right: 2em }
     96 
     97 div.footer, div.header {
     98   clear: both;
     99   font-size: smaller }
    100 
    101 div.line-block {
    102   display: block ;
    103   margin-top: 1em ;
    104   margin-bottom: 1em }
    105 
    106 div.line-block div.line-block {
    107   margin-top: 0 ;
    108   margin-bottom: 0 ;
    109   margin-left: 1.5em }
    110 
    111 div.sidebar {
    112   margin-left: 1em ;
    113   border: medium outset ;
    114   padding: 1em ;
    115   background-color: #ffffee ;
    116   width: 40% ;
    117   float: right ;
    118   clear: right }
    119 
    120 div.sidebar p.rubric {
    121   font-family: sans-serif ;
    122   font-size: medium }
    123 
    124 div.system-messages {
    125   margin: 5em }
    126 
    127 div.system-messages h1 {
    128   color: red }
    129 
    130 div.system-message {
    131   border: medium outset ;
    132   padding: 1em }
    133 
    134 div.system-message p.system-message-title {
    135   color: red ;
    136   font-weight: bold }
    137 
    138 div.topic {
    139   margin: 2em }
    140 
    141 h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
    142 h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
    143   margin-top: 0.4em }
    144 
    145 h1.title {
    146   text-align: center }
    147 
    148 h2.subtitle {
    149   text-align: center }
    150 
    151 hr.docutils {
    152   width: 75% }
    153 
    154 img.align-left {
    155   clear: left }
    156 
    157 img.align-right {
    158   clear: right }
    159 
    160 ol.simple, ul.simple {
    161   margin-bottom: 1em }
    162 
    163 ol.arabic {
    164   list-style: decimal }
    165 
    166 ol.loweralpha {
    167   list-style: lower-alpha }
    168 
    169 ol.upperalpha {
    170   list-style: upper-alpha }
    171 
    172 ol.lowerroman {
    173   list-style: lower-roman }
    174 
    175 ol.upperroman {
    176   list-style: upper-roman }
    177 
    178 p.attribution {
    179   text-align: right ;
    180   margin-left: 50% }
    181 
    182 p.caption {
    183   font-style: italic }
    184 
    185 p.credits {
    186   font-style: italic ;
    187   font-size: smaller }
    188 
    189 p.label {
    190   white-space: nowrap }
    191 
    192 p.rubric {
    193   font-weight: bold ;
    194   font-size: larger ;
    195   color: maroon ;
    196   text-align: center }
    197 
    198 p.sidebar-title {
    199   font-family: sans-serif ;
    200   font-weight: bold ;
    201   font-size: larger }
    202 
    203 p.sidebar-subtitle {
    204   font-family: sans-serif ;
    205   font-weight: bold }
    206 
    207 p.topic-title {
    208   font-weight: bold }
    209 
    210 pre.address {
    211   margin-bottom: 0 ;
    212   margin-top: 0 ;
    213   font-family: serif ;
    214   font-size: 100% }
    215 
    216 pre.literal-block, pre.doctest-block {
    217   margin-left: 2em ;
    218   margin-right: 2em ;
    219   background-color: #eeeeee }
    220 
    221 span.classifier {
    222   font-family: sans-serif ;
    223   font-style: oblique }
    224 
    225 span.classifier-delimiter {
    226   font-family: sans-serif ;
    227   font-weight: bold }
    228 
    229 span.interpreted {
    230   font-family: sans-serif }
    231 
    232 span.option {
    233   white-space: nowrap }
    234 
    235 span.pre {
    236   white-space: pre }
    237 
    238 span.problematic {
    239   color: red }
    240 
    241 span.section-subtitle {
    242   /* font-size relative to parent (h1..h6 element) */
    243   font-size: 80% }
    244 
    245 table.citation {
    246   border-left: solid 1px gray;
    247   margin-left: 1px }
    248 
    249 table.docinfo {
    250   margin: 2em 4em }
    251 
    252 /*
    253 table.docutils {
    254   margin-top: 0.5em ;
    255   margin-bottom: 0.5em }
    256 */
    257 
    258 table.footnote {
    259   border-left: solid 1px black;
    260   margin-left: 1px ;
    261   font-size: 80% }
    262   }
    263 
    264 table.docutils td, table.docutils th,
    265 table.docinfo td, table.docinfo th {
    266   padding-left: 0.5em ;
    267   padding-right: 0.5em ;
    268   vertical-align: top }
    269 
    270 table.docutils th.field-name, table.docinfo th.docinfo-name {
    271   font-weight: bold ;
    272   text-align: left ;
    273   white-space: nowrap ;
    274   padding-left: 0 }
    275 
    276 h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
    277 h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
    278   font-size: 100% }
    279 
    280 /*
    281 tt.docutils {
    282   background-color: #eeeeee }
    283 */
    284 
    285 ul.auto-toc {
    286   list-style-type: none }
    287 
    288 /* customizations by kward */
    289 
    290 h1 { font-size: 133%; border-top:1px solid #CCCCFF; }
    291 h1.title { font-size: 150%; border-top:0px; padding-top: 1em; }
    292 /* div.document { font-size: 90% } */
    293