Alexander Afanasyev | 7c6aeb0 | 2014-04-10 19:59:19 -0700 | [diff] [blame] | 1 | * { |
| 2 | margin: 0px; |
| 3 | padding: 0px; |
| 4 | } |
| 5 | |
| 6 | html { font-size: 62.5%; } |
| 7 | |
| 8 | body { |
| 9 | font-family: {{ theme_bodyfont }}; |
| 10 | background-color: {{ theme_bgcolor }}; |
| 11 | color: #777; |
| 12 | border-top: 4px solid #fd7800; |
| 13 | } |
| 14 | |
| 15 | body { background: white; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1; color: #222222; position: relative; -webkit-font-smoothing: antialiased; } |
| 16 | |
| 17 | /* Page layout */ |
| 18 | |
| 19 | div.header, div.content, div.footer { |
| 20 | width: 90%; |
| 21 | margin-left: auto; |
| 22 | margin-right: auto; |
| 23 | } |
| 24 | |
| 25 | div.header-wrapper { |
| 26 | background: {{ theme_headerbg }}; |
| 27 | border-bottom: 3px solid #2e3436; |
| 28 | } |
| 29 | |
| 30 | |
| 31 | /* Default body styles */ |
| 32 | a { |
| 33 | color: {{ theme_linkcolor }}; |
| 34 | } |
| 35 | |
| 36 | div.bodywrapper a, div.footer a { |
| 37 | text-decoration: none; |
| 38 | } |
| 39 | |
| 40 | .clearer { |
| 41 | clear: both; |
| 42 | } |
| 43 | |
| 44 | .left { |
| 45 | float: left; |
| 46 | } |
| 47 | |
| 48 | .right { |
| 49 | float: right; |
| 50 | } |
| 51 | |
| 52 | .line-block { |
| 53 | display: block; |
| 54 | margin-top: 1em; |
| 55 | margin-bottom: 1em; |
| 56 | } |
| 57 | |
| 58 | .line-block .line-block { |
| 59 | margin-top: 0; |
| 60 | margin-bottom: 0; |
| 61 | margin-left: 1.5em; |
| 62 | } |
| 63 | |
| 64 | h1, h2, h3, h4 { |
| 65 | font-family: {{ theme_headerfont }}; |
| 66 | font-weight: normal; |
| 67 | color: {{ theme_headercolor2 }}; |
| 68 | margin-bottom: .8em; |
| 69 | } |
| 70 | |
| 71 | h1 { |
| 72 | color: {{ theme_headercolor1 }}; |
| 73 | } |
| 74 | |
| 75 | h2 { |
| 76 | padding-bottom: .5em; |
| 77 | border-bottom: 1px solid {{ theme_headercolor2 }}; |
| 78 | } |
| 79 | |
| 80 | a.headerlink { |
| 81 | visibility: hidden; |
| 82 | color: #dddddd; |
| 83 | padding-left: .3em; |
| 84 | } |
| 85 | |
| 86 | h1:hover > a.headerlink, |
| 87 | h2:hover > a.headerlink, |
| 88 | h3:hover > a.headerlink, |
| 89 | h4:hover > a.headerlink, |
| 90 | h5:hover > a.headerlink, |
| 91 | h6:hover > a.headerlink, |
| 92 | dt:hover > a.headerlink { |
| 93 | visibility: visible; |
| 94 | } |
| 95 | |
| 96 | img { |
| 97 | border: 0; |
| 98 | } |
| 99 | |
| 100 | div.admonition { |
| 101 | margin-top: 10px; |
| 102 | margin-bottom: 10px; |
| 103 | padding: 2px 7px 1px 7px; |
| 104 | border-left: 0.2em solid black; |
| 105 | } |
| 106 | |
| 107 | p.admonition-title { |
| 108 | margin: 0px 10px 5px 0px; |
| 109 | font-weight: bold; |
| 110 | } |
| 111 | |
| 112 | dt:target, .highlighted { |
| 113 | background-color: #fbe54e; |
| 114 | } |
| 115 | |
| 116 | /* Header */ |
| 117 | |
| 118 | div.header { |
| 119 | padding-top: 10px; |
| 120 | padding-bottom: 10px; |
| 121 | } |
| 122 | |
| 123 | div.header .headertitle { |
| 124 | font-family: {{ theme_headerfont }}; |
| 125 | font-weight: normal; |
| 126 | font-size: 180%; |
| 127 | letter-spacing: .08em; |
| 128 | margin-bottom: .8em; |
| 129 | } |
| 130 | |
| 131 | div.header .headertitle a { |
| 132 | color: white; |
| 133 | } |
| 134 | |
| 135 | div.header div.rel { |
| 136 | margin-top: 1em; |
| 137 | } |
| 138 | |
| 139 | div.header div.rel a { |
| 140 | color: {{ theme_headerlinkcolor }}; |
| 141 | letter-spacing: .1em; |
| 142 | text-transform: uppercase; |
| 143 | } |
| 144 | |
| 145 | p.logo { |
| 146 | float: right; |
| 147 | } |
| 148 | |
| 149 | img.logo { |
| 150 | border: 0; |
| 151 | } |
| 152 | |
| 153 | |
| 154 | /* Content */ |
| 155 | div.content-wrapper { |
| 156 | background-color: white; |
| 157 | padding-top: 20px; |
| 158 | padding-bottom: 20px; |
| 159 | } |
| 160 | |
| 161 | div.document { |
| 162 | width: 70%; |
| 163 | float: left; |
| 164 | } |
| 165 | |
| 166 | div.body { |
| 167 | padding-right: 2em; |
| 168 | text-align: left; |
| 169 | } |
| 170 | |
| 171 | div.document h1 { |
| 172 | line-height: 120%; |
| 173 | } |
| 174 | |
| 175 | div.document ul { |
| 176 | margin: 1.5em; |
| 177 | list-style-type: square; |
| 178 | } |
| 179 | |
| 180 | div.document dd { |
| 181 | margin-left: 1.2em; |
| 182 | margin-top: .4em; |
| 183 | margin-bottom: 1em; |
| 184 | } |
| 185 | |
| 186 | div.document .section { |
| 187 | margin-top: 1.7em; |
| 188 | } |
| 189 | div.document .section:first-child { |
| 190 | margin-top: 0px; |
| 191 | } |
| 192 | |
| 193 | div.document div.highlight { |
| 194 | padding: 3px; |
| 195 | background-color: #eeeeec; |
| 196 | border-top: 2px solid #dddddd; |
| 197 | border-bottom: 2px solid #dddddd; |
| 198 | margin-bottom: .8em; |
| 199 | } |
| 200 | |
| 201 | div.document h2 { |
| 202 | margin-top: .7em; |
| 203 | } |
| 204 | |
| 205 | div.document p { |
| 206 | margin-bottom: .5em; |
| 207 | } |
| 208 | |
| 209 | div.document li.toctree-l1 { |
| 210 | margin-bottom: 1em; |
| 211 | } |
| 212 | |
| 213 | div.document .descname { |
| 214 | font-weight: bold; |
| 215 | } |
| 216 | |
| 217 | div.document .docutils.literal { |
| 218 | background-color: #eeeeec; |
| 219 | padding: 1px; |
| 220 | } |
| 221 | |
| 222 | div.document .docutils.xref.literal { |
| 223 | background-color: transparent; |
| 224 | padding: 0px; |
| 225 | } |
| 226 | |
| 227 | div.document blockquote { |
| 228 | margin: 1em; |
| 229 | } |
| 230 | |
| 231 | div.document ol { |
| 232 | margin: 1.5em; |
| 233 | } |
| 234 | |
| 235 | |
| 236 | /* Sidebar */ |
| 237 | |
| 238 | div.sidebar { |
| 239 | width: 20%; |
| 240 | float: right; |
| 241 | font-size: .9em; |
| 242 | } |
| 243 | |
| 244 | div.sidebar a, div.header a { |
| 245 | text-decoration: none; |
| 246 | } |
| 247 | |
| 248 | div.sidebar a:hover, div.header a:hover { |
| 249 | text-decoration: none; |
| 250 | } |
| 251 | |
| 252 | div.sidebar h3 { |
| 253 | color: #2e3436; |
| 254 | text-transform: uppercase; |
| 255 | font-size: 130%; |
| 256 | letter-spacing: .1em; |
| 257 | } |
| 258 | |
| 259 | div.sidebar ul { |
| 260 | list-style-type: none; |
| 261 | } |
| 262 | |
| 263 | div.sidebar li.toctree-l1 a { |
| 264 | display: block; |
| 265 | padding: 1px; |
| 266 | border: 1px solid #dddddd; |
| 267 | background-color: #eeeeec; |
| 268 | margin-bottom: .4em; |
| 269 | padding-left: 3px; |
| 270 | color: #2e3436; |
| 271 | } |
| 272 | |
| 273 | div.sidebar li.toctree-l2 a { |
| 274 | background-color: transparent; |
| 275 | border: none; |
| 276 | margin-left: 1em; |
| 277 | border-bottom: 1px solid #dddddd; |
| 278 | } |
| 279 | |
| 280 | div.sidebar li.toctree-l3 a { |
| 281 | background-color: transparent; |
| 282 | border: none; |
| 283 | margin-left: 2em; |
| 284 | border-bottom: 1px solid #dddddd; |
| 285 | } |
| 286 | |
| 287 | div.sidebar li.toctree-l2:last-child a { |
| 288 | border-bottom: none; |
| 289 | } |
| 290 | |
| 291 | div.sidebar li.toctree-l1.current a { |
| 292 | border-right: 5px solid {{ theme_headerlinkcolor }}; |
| 293 | } |
| 294 | |
| 295 | div.sidebar li.toctree-l1.current li.toctree-l2 a { |
| 296 | border-right: none; |
| 297 | } |
| 298 | |
| 299 | div.sidebar input[type="text"] { |
| 300 | width: 170px; |
| 301 | } |
| 302 | |
| 303 | div.sidebar input[type="submit"] { |
| 304 | width: 30px; |
| 305 | } |
| 306 | |
| 307 | |
| 308 | /* Footer */ |
| 309 | |
| 310 | div.footer-wrapper { |
| 311 | background: {{ theme_footerbg }}; |
| 312 | border-top: 4px solid #babdb6; |
| 313 | padding-top: 10px; |
| 314 | padding-bottom: 10px; |
| 315 | min-height: 80px; |
| 316 | } |
| 317 | |
| 318 | div.footer, div.footer a { |
| 319 | color: #888a85; |
| 320 | } |
| 321 | |
| 322 | div.footer .right { |
| 323 | text-align: right; |
| 324 | } |
| 325 | |
| 326 | div.footer .left { |
| 327 | text-transform: uppercase; |
| 328 | } |
| 329 | |
| 330 | |
| 331 | /* Styles copied from basic theme */ |
| 332 | |
| 333 | img.align-left, .figure.align-left, object.align-left { |
| 334 | clear: left; |
| 335 | float: left; |
| 336 | margin-right: 1em; |
| 337 | } |
| 338 | |
| 339 | img.align-right, .figure.align-right, object.align-right { |
| 340 | clear: right; |
| 341 | float: right; |
| 342 | margin-left: 1em; |
| 343 | } |
| 344 | |
| 345 | img.align-center, .figure.align-center, object.align-center { |
| 346 | display: block; |
| 347 | margin-left: auto; |
| 348 | margin-right: auto; |
| 349 | } |
| 350 | |
| 351 | .align-left { |
| 352 | text-align: left; |
| 353 | } |
| 354 | |
| 355 | .align-center { |
| 356 | text-align: center; |
| 357 | } |
| 358 | |
| 359 | .align-right { |
| 360 | text-align: right; |
| 361 | } |
| 362 | |
| 363 | /* -- search page ----------------------------------------------------------- */ |
| 364 | |
| 365 | ul.search { |
| 366 | margin: 10px 0 0 20px; |
| 367 | padding: 0; |
| 368 | } |
| 369 | |
| 370 | ul.search li { |
| 371 | padding: 5px 0 5px 20px; |
| 372 | background-image: url(file.png); |
| 373 | background-repeat: no-repeat; |
| 374 | background-position: 0 7px; |
| 375 | } |
| 376 | |
| 377 | ul.search li a { |
| 378 | font-weight: bold; |
| 379 | } |
| 380 | |
| 381 | ul.search li div.context { |
| 382 | color: #888; |
| 383 | margin: 2px 0 0 30px; |
| 384 | text-align: left; |
| 385 | } |
| 386 | |
| 387 | ul.keywordmatches li.goodmatch a { |
| 388 | font-weight: bold; |
| 389 | } |
| 390 | |
| 391 | /* -- index page ------------------------------------------------------------ */ |
| 392 | |
| 393 | table.contentstable { |
| 394 | width: 90%; |
| 395 | } |
| 396 | |
| 397 | table.contentstable p.biglink { |
| 398 | line-height: 150%; |
| 399 | } |
| 400 | |
| 401 | a.biglink { |
| 402 | font-size: 1.3em; |
| 403 | } |
| 404 | |
| 405 | span.linkdescr { |
| 406 | font-style: italic; |
| 407 | padding-top: 5px; |
| 408 | font-size: 90%; |
| 409 | } |
| 410 | |
| 411 | /* -- general index --------------------------------------------------------- */ |
| 412 | |
| 413 | table.indextable td { |
| 414 | text-align: left; |
| 415 | vertical-align: top; |
| 416 | } |
| 417 | |
| 418 | table.indextable dl, table.indextable dd { |
| 419 | margin-top: 0; |
| 420 | margin-bottom: 0; |
| 421 | } |
| 422 | |
| 423 | table.indextable tr.pcap { |
| 424 | height: 10px; |
| 425 | } |
| 426 | |
| 427 | table.indextable tr.cap { |
| 428 | margin-top: 10px; |
| 429 | background-color: #f2f2f2; |
| 430 | } |
| 431 | |
| 432 | img.toggler { |
| 433 | margin-right: 3px; |
| 434 | margin-top: 3px; |
| 435 | cursor: pointer; |
| 436 | } |
| 437 | |
| 438 | /* -- viewcode extension ---------------------------------------------------- */ |
| 439 | |
| 440 | .viewcode-link { |
| 441 | float: right; |
| 442 | } |
| 443 | |
| 444 | .viewcode-back { |
| 445 | float: right; |
| 446 | font-family:: {{ theme_bodyfont }}; |
| 447 | } |
| 448 | |
| 449 | div.viewcode-block:target { |
| 450 | margin: -1px -3px; |
| 451 | padding: 0 3px; |
| 452 | background-color: #f4debf; |
| 453 | border-top: 1px solid #ac9; |
| 454 | border-bottom: 1px solid #ac9; |
| 455 | } |