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