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