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