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