Home | History | Annotate | Download | only in static
      1 /**
      2  * Sphinx stylesheet -- basic theme
      3  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      4  */
      5 
      6 /* -- main layout ----------------------------------------------------------- */
      7 
      8 div.clearer {
      9     clear: both;
     10 }
     11 
     12 /* -- relbar ---------------------------------------------------------------- */
     13 
     14 div.related {
     15     width: 100%;
     16     font-size: 90%;
     17 }
     18 
     19 div.related h3 {
     20     display: none;
     21 }
     22 
     23 div.related ul {
     24     margin: 0;
     25     padding: 0 0 0 10px;
     26     list-style: none;
     27 }
     28 
     29 div.related li {
     30     display: inline;
     31 }
     32 
     33 div.related li.right {
     34     float: right;
     35     margin-right: 5px;
     36 }
     37 
     38 /* -- sidebar --------------------------------------------------------------- */
     39 
     40 div.sphinxsidebarwrapper {
     41     position: relative;
     42     top: 0;
     43     padding: 10px 5px 0 10px;
     44     word-wrap: break-word;
     45 }
     46 
     47 div.sphinxsidebar {
     48     float: left;
     49     width: 230px;
     50     margin-left: -100%;
     51     font-size: 90%;
     52 }
     53 
     54 div.sphinxsidebar ul {
     55     list-style: none;
     56 }
     57 
     58 div.sphinxsidebar ul ul,
     59 div.sphinxsidebar ul.want-points {
     60     margin-left: 20px;
     61     list-style: square;
     62 }
     63 
     64 div.sphinxsidebar ul ul {
     65     margin-top: 0;
     66     margin-bottom: 0;
     67 }
     68 
     69 div.sphinxsidebar form {
     70     margin-top: 10px;
     71 }
     72 
     73 div.sphinxsidebar input {
     74     border: 1px solid #98dbcc;
     75     font-family: sans-serif;
     76     font-size: 1em;
     77 }
     78 
     79 img {
     80     border: 0;
     81 }
     82 
     83 /* -- search page ----------------------------------------------------------- */
     84 
     85 ul.search {
     86     margin: 10px 0 0 20px;
     87     padding: 0;
     88 }
     89 
     90 ul.search li {
     91     padding: 5px 0 5px 20px;
     92     background-image: url(file.png);
     93     background-repeat: no-repeat;
     94     background-position: 0 7px;
     95 }
     96 
     97 ul.search li a {
     98     font-weight: bold;
     99 }
    100 
    101 ul.search li div.context {
    102     color: #888;
    103     margin: 2px 0 0 30px;
    104     text-align: left;
    105 }
    106 
    107 ul.keywordmatches li.goodmatch a {
    108     font-weight: bold;
    109 }
    110 
    111 /* -- index page ------------------------------------------------------------ */
    112 
    113 table.contentstable {
    114     width: 90%;
    115 }
    116 
    117 table.contentstable p.biglink {
    118     line-height: 150%;
    119 }
    120 
    121 a.biglink {
    122     font-size: 1.3em;
    123 }
    124 
    125 span.linkdescr {
    126     font-style: italic;
    127     padding-top: 5px;
    128     font-size: 90%;
    129 }
    130 
    131 /* -- general index --------------------------------------------------------- */
    132 
    133 table.indextable td {
    134     text-align: left;
    135     vertical-align: top;
    136 }
    137 
    138 table.indextable dl, table.indextable dd {
    139     margin-top: 0;
    140     margin-bottom: 0;
    141 }
    142 
    143 table.indextable tr.pcap {
    144     height: 10px;
    145 }
    146 
    147 table.indextable tr.cap {
    148     margin-top: 10px;
    149     background-color: #f2f2f2;
    150 }
    151 
    152 img.toggler {
    153     margin-right: 3px;
    154     margin-top: 3px;
    155     cursor: pointer;
    156 }
    157 
    158 /* -- general body styles --------------------------------------------------- */
    159 
    160 a.headerlink {
    161     visibility: hidden;
    162 }
    163 
    164 h1:hover > a.headerlink,
    165 h2:hover > a.headerlink,
    166 h3:hover > a.headerlink,
    167 h4:hover > a.headerlink,
    168 h5:hover > a.headerlink,
    169 h6:hover > a.headerlink,
    170 dt:hover > a.headerlink {
    171     visibility: visible;
    172 }
    173 
    174 div.body p.caption {
    175     text-align: inherit;
    176 }
    177 
    178 div.body td {
    179     text-align: left;
    180 }
    181 
    182 .field-list ul {
    183     padding-left: 1em;
    184 }
    185 
    186 .first {
    187     margin-top: 0 !important;
    188 }
    189 
    190 p.rubric {
    191     margin-top: 30px;
    192     font-weight: bold;
    193 }
    194 
    195 /* -- sidebars -------------------------------------------------------------- */
    196 
    197 div.sidebar {
    198     margin: 0 0 0.5em 1em;
    199     border: 1px solid #ddb;
    200     padding: 7px 7px 0 7px;
    201     background-color: #ffe;
    202     width: 40%;
    203     float: right;
    204 }
    205 
    206 p.sidebar-title {
    207     font-weight: bold;
    208 }
    209 
    210 /* -- topics ---------------------------------------------------------------- */
    211 
    212 div.topic {
    213     border: 1px solid #ccc;
    214     padding: 7px 7px 0 7px;
    215     margin: 10px 0 10px 0;
    216 }
    217 
    218 p.topic-title {
    219     font-size: 1.1em;
    220     font-weight: bold;
    221     margin-top: 10px;
    222 }
    223 
    224 /* -- admonitions ----------------------------------------------------------- */
    225 
    226 div.admonition {
    227     margin-top: 10px;
    228     margin-bottom: 10px;
    229     padding: 7px;
    230 }
    231 
    232 div.admonition dt {
    233     font-weight: bold;
    234 }
    235 
    236 div.admonition dl {
    237     margin-bottom: 0;
    238 }
    239 
    240 p.admonition-title {
    241     margin: 0px 10px 5px 0px;
    242     font-weight: bold;
    243 }
    244 
    245 div.body p.centered {
    246     text-align: center;
    247     margin-top: 25px;
    248 }
    249 
    250 /* -- tables ---------------------------------------------------------------- */
    251 
    252 table.docutils {
    253     border: 0 solid #dce;
    254     border-collapse: collapse;
    255 }
    256 
    257 table.docutils td, table.docutils th {
    258     padding: 2px 5px 2px 5px;
    259     border-left: 0;
    260     background-color: #eef;
    261 }
    262 
    263 table.docutils td p.last, table.docutils th p.last {
    264     margin-bottom: 0;
    265 }
    266 
    267 table.field-list td, table.field-list th {
    268     border: 0 !important;
    269 }
    270 
    271 table.footnote td, table.footnote th {
    272     border: 0 !important;
    273 }
    274 
    275 table.docutils th {
    276     border-top: 1px solid #cac;
    277     background-color: #ede;
    278 }
    279 
    280 th {
    281     text-align: left;
    282     padding-right: 5px;
    283 }
    284 
    285 th.head {
    286     text-align: center;
    287 }
    288 
    289 /* -- other body styles ----------------------------------------------------- */
    290 
    291 dl {
    292     margin-bottom: 15px;
    293 }
    294 
    295 dd p {
    296     margin-top: 0px;
    297 }
    298 
    299 dd ul, dd table {
    300     margin-bottom: 10px;
    301 }
    302 
    303 dd {
    304     margin-top: 3px;
    305     margin-bottom: 10px;
    306     margin-left: 30px;
    307 }
    308 
    309 dt:target, .highlighted {
    310     background-color: #fbe54e;
    311 }
    312 
    313 dl.glossary dt {
    314     font-weight: bold;
    315     font-size: 1.1em;
    316 }
    317 
    318 .field-list ul {
    319     margin: 0;
    320     padding-left: 1em;
    321 }
    322 
    323 .field-list p {
    324     margin: 0;
    325 }
    326 
    327 .refcount {
    328     color: #060;
    329 }
    330 
    331 .optional {
    332     font-size: 1.3em;
    333 }
    334 
    335 .versionmodified {
    336     font-style: italic;
    337 }
    338 
    339 .deprecated {
    340     background-color: #ffe4e4;
    341     border: 1px solid #f66;
    342     padding: 7px;
    343 }
    344 
    345 div.deprecated p {
    346     margin-bottom: 0;
    347 }
    348 
    349 .system-message {
    350     background-color: #fda;
    351     padding: 5px;
    352     border: 3px solid red;
    353 }
    354 
    355 .footnote:target  {
    356     background-color: #ffa;
    357 }
    358 
    359 .impl-detail {
    360     margin-top: 10px;
    361     margin-bottom: 10px;
    362     padding: 7px;
    363     border: 1px solid #ccc;
    364 }
    365 
    366 .impl-detail .compound-first {
    367     margin-top: 0;
    368 }
    369 
    370 .impl-detail .compound-last {
    371     margin-bottom: 0;
    372 }
    373 
    374 /* -- code displays --------------------------------------------------------- */
    375 
    376 pre {
    377     overflow: auto;
    378     overflow-y: hidden;
    379 }
    380 
    381 td.linenos pre {
    382     padding: 5px 0px;
    383     border: 0;
    384     background-color: transparent;
    385     color: #aaa;
    386 }
    387 
    388 table.highlighttable {
    389     margin-left: 0.5em;
    390 }
    391 
    392 table.highlighttable td {
    393     padding: 0 0.5em 0 0.5em;
    394 }
    395 
    396 code.descname {
    397     background-color: transparent;
    398     font-weight: bold;
    399     font-size: 1.2em;
    400 }
    401 
    402 code.descclassname {
    403     background-color: transparent;
    404 }
    405 
    406 code.xref, a code {
    407     background-color: transparent;
    408     font-weight: bold;
    409 }
    410 
    411 h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
    412     background-color: transparent;
    413 }
    414 
    415 .highlight {
    416     background: none !important;
    417 }
    418 
    419 
    420 /* -- math display ---------------------------------------------------------- */
    421 
    422 img.math {
    423     vertical-align: middle;
    424 }
    425 
    426 div.body div.math p {
    427     text-align: center;
    428 }
    429 
    430 span.eqno {
    431     float: right;
    432 }
    433 
    434 /* -- printout stylesheet --------------------------------------------------- */
    435 
    436 @media print {
    437     div.document,
    438     div.documentwrapper,
    439     div.bodywrapper {
    440         margin: 0 !important;
    441         width: 100%;
    442     }
    443 
    444     div.sphinxsidebar,
    445     div.related,
    446     div.footer,
    447     #top-link {
    448         display: none;
    449     }
    450 }
    451