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