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