docutils.css
1 /* 2 Stylesheet for use with Docutils/rst2html. 3 4 See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to 5 customize this style sheet. 6 7 Modified from Chad Skeeters' rst2html-style 8 https://bitbucket.org/cskeeters/rst2html-style/ 9 10 Modified by Boyd Greenfield 11 */ 12 /* SCSS variables */ 13 /* Text weights */ 14 /* Body colors */ 15 /* Text colors */ 16 /* Link colors */ 17 /* Syntax highlighting colors */ 18 /* Pct changes */ 19 /* Mixins */ 20 /* Body/layout */ 21 html { 22 font-size: 100%; 23 -webkit-text-size-adjust: 100%; 24 -ms-text-size-adjust: 100%; } 25 26 /* Where we want fancier font if available */ 27 h1, h2, h3, h4, h5, h6, p.module-desc, table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p { 28 font-family: "Raleway", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; } 29 30 h1.title { 31 font-weight: 900; } 32 33 article { 34 font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; 35 font-weight: 400; 36 font-size: 14px; 37 line-height: 20px; 38 color: #666; 39 40 position: relative; 41 width: 100%; 42 max-width: 960px; 43 margin: 0 auto; 44 padding: 0 20px; 45 box-sizing: border-box; } 46 47 .column, 48 .columns { 49 width: 100%; 50 float: left; 51 box-sizing: border-box; } 52 53 /* For devices larger than 400px */ 54 @media (min-width: 400px) { 55 .container { 56 width: 100%; 57 padding: 0; } } 58 /* For devices larger than 650px */ 59 @media (min-width: 650px) { 60 .container { 61 width: 100%; } 62 63 .column, 64 .columns { 65 margin-left: 4%; } 66 67 .column:first-child, 68 .columns:first-child { 69 margin-left: 0; } 70 71 .one.column, 72 .one.columns { 73 width: 4.66666666667%; } 74 75 .two.columns { 76 width: 13.3333333333%; } 77 78 .three.columns { 79 width: 22%; } 80 81 .four.columns { 82 width: 30.6666666667%; } 83 84 .five.columns { 85 width: 39.3333333333%; } 86 87 .six.columns { 88 width: 48%; } 89 90 .seven.columns { 91 width: 56.6666666667%; } 92 93 .eight.columns { 94 width: 65.3333333333%; } 95 96 .nine.columns { 97 width: 74.0%; } 98 99 .ten.columns { 100 width: 82.6666666667%; } 101 102 .eleven.columns { 103 width: 91.3333333333%; } 104 105 .twelve.columns { 106 width: 100%; 107 margin-left: 0; } 108 109 .one-third.column { 110 width: 30.6666666667%; } 111 112 .two-thirds.column { 113 width: 65.3333333333%; } } 114 /* Customer Overrides */ 115 .footer { 116 text-align: center; 117 color: #969696; 118 padding-top: 10%; } 119 120 p.module-desc { 121 font-size: 1.1em; 122 color: #666666; } 123 124 a.link-seesrc { 125 color: #aec7d2; 126 font-style: italic; } 127 128 a.link-seesrc:hover { 129 color: #6c9aae; } 130 131 #toc-list { 132 word-wrap: break-word; } 133 134 ul.simple-toc { 135 list-style: none; } 136 137 ul.simple-toc a.reference-toplevel { 138 font-weight: bold; 139 color: #0077b3; } 140 141 ul.simple-toc-section { 142 list-style-type: circle; 143 color: #6c9aae; } 144 145 ul.simple-toc-section a.reference { 146 color: #0077b3; } 147 148 cite { 149 font-style: italic !important; } 150 151 dt > pre { 152 border-color: rgba(0, 0, 0, 0.15); 153 background-color: transparent; 154 margin: 15px 0px 5px; } 155 156 dd > pre { 157 border-color: rgba(0, 0, 0, 0.1); 158 background-color: whitesmoke; 159 margin-top: 8px; } 160 161 .item > dd { 162 margin-left: 10px; 163 margin-bottom: 30px; } 164 165 /* Nim line-numbered tables */ 166 .line-nums-table { 167 width: 100%; 168 table-layout: fixed; } 169 170 table.line-nums-table { 171 border-radius: 4px; 172 border: 1px solid #cccccc; 173 background-color: whitesmoke; 174 border-collapse: separate; 175 margin-top: 15px; 176 margin-bottom: 25px; } 177 178 .line-nums-table tbody { 179 border: none; } 180 181 .line-nums-table td pre { 182 border: none; 183 background-color: transparent; } 184 185 .line-nums-table td.blob-line-nums { 186 width: 28px; } 187 188 .line-nums-table td.blob-line-nums pre { 189 color: #b0b0b0; 190 -webkit-filter: opacity(75%); 191 text-align: right; 192 border-color: transparent; 193 background-color: transparent; 194 padding-left: 0px; 195 margin-left: 0px; 196 padding-right: 0px; 197 margin-right: 0px; } 198 199 /* Docgen styles */ 200 /* Links */ 201 a { 202 color: #0077b3; 203 text-decoration: none; } 204 205 a:hover, 206 a:focus { 207 color: #00334d; 208 text-decoration: underline; } 209 210 a:visited { 211 color: #00334d; } 212 213 a:focus { 214 outline: thin dotted #2d2d2d; 215 outline: 5px auto -webkit-focus-ring-color; 216 outline-offset: -2px; } 217 218 a:hover, 219 a:active { 220 outline: 0; } 221 222 sub, 223 sup { 224 position: relative; 225 font-size: 75%; 226 line-height: 0; 227 vertical-align: baseline; } 228 229 sup { 230 top: -0.5em; } 231 232 sub { 233 bottom: -0.25em; } 234 235 img { 236 width: auto; 237 height: auto; 238 max-width: 100%; 239 vertical-align: middle; 240 border: 0; 241 -ms-interpolation-mode: bicubic; } 242 243 @media print { 244 * { 245 color: black !important; 246 text-shadow: none !important; 247 background: transparent !important; 248 box-shadow: none !important; } 249 250 a, 251 a:visited { 252 text-decoration: underline; } 253 254 a[href]:after { 255 content: " (" attr(href) ")"; } 256 257 abbr[title]:after { 258 content: " (" attr(title) ")"; } 259 260 .ir a:after, 261 a[href^="javascript:"]:after, 262 a[href^="#"]:after { 263 content: ""; } 264 265 pre, 266 blockquote { 267 border: 1px solid #999; 268 page-break-inside: avoid; } 269 270 thead { 271 display: table-header-group; } 272 273 tr, 274 img { 275 page-break-inside: avoid; } 276 277 img { 278 max-width: 100% !important; } 279 280 @page { 281 margin: 0.5cm; } 282 283 h1 { 284 page-break-before: always; } 285 286 h1.title { 287 page-break-before: avoid; } 288 289 p, 290 h2, 291 h3 { 292 orphans: 3; 293 widows: 3; } 294 295 h2, 296 h3 { 297 page-break-after: avoid; } } 298 .img-rounded { 299 -webkit-border-radius: 6px; 300 -moz-border-radius: 6px; 301 border-radius: 6px; } 302 303 .img-polaroid { 304 padding: 4px; 305 background-color: rgba(252, 248, 244, 0.75); 306 border: 1px solid #ccc; 307 border: 1px solid rgba(0, 0, 0, 0.2); 308 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); 309 -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); 310 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } 311 312 p { 313 margin: 0 0 12px; } 314 315 small { 316 font-size: 85%; } 317 318 strong { 319 font-weight: 600; } 320 321 em { 322 font-style: italic; } 323 324 cite { 325 font-style: normal; } 326 327 h1, 328 h2, 329 h3, 330 h4, 331 h5, 332 h6 { 333 font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; 334 font-weight: 600; 335 line-height: 20px; 336 color: inherit; 337 text-rendering: optimizelegibility; } 338 339 h1 { 340 font-size: 2em; 341 padding-bottom: .15em; 342 border-bottom: 1px solid #aaaaaa; 343 margin-top: 1.0em; 344 line-height: 1.2em; } 345 346 h1.title { 347 padding-bottom: 1em; 348 border-bottom: 0px; 349 font-size: 2.75em; } 350 351 h2 { 352 font-size: 1.5em; 353 margin-top: 1.5em; } 354 355 h3 { 356 font-size: 1.3em; 357 font-style: italic; 358 margin-top: 0.75em; } 359 360 h4 { 361 font-size: 1.3em; 362 margin-top: 0.5em; } 363 364 h5 { 365 font-size: 1.2em; 366 margin-top: 0.25em; } 367 368 h6 { 369 font-size: 1.1em; } 370 371 ul, 372 ol { 373 padding: 0; 374 margin: 0 0 0px 15px; } 375 376 ul ul, 377 ul ol, 378 ol ol, 379 ol ul { 380 margin-bottom: 0; } 381 382 li { 383 line-height: 20px; } 384 385 dl { 386 margin-bottom: 20px; } 387 388 dt, 389 dd { 390 line-height: 20px; } 391 392 dt { 393 font-weight: bold; } 394 395 dd { 396 margin-left: 10px; 397 margin-bottom: 26px; } 398 399 hr { 400 margin: 20px 0; 401 border: 0; 402 border-top: 1px solid #eeeeee; 403 border-bottom: 1px solid #ffffff; } 404 405 abbr[title], 406 abbr[data-original-title] { 407 cursor: help; 408 border-bottom: 1px dotted #999999; } 409 410 abbr.initialism { 411 font-size: 90%; 412 text-transform: uppercase; } 413 414 blockquote { 415 padding: 0 0 0 15px; 416 margin: 0 0 20px; 417 border-left: 5px solid #EFEBE0; } 418 419 table.docinfo + blockquote, table.docinfo blockquote, h1 + blockquote { 420 border-left: 5px solid #c9c9c9; 421 } 422 423 table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p { 424 margin-bottom: 0; 425 font-size: 15px; 426 font-weight: 200; 427 line-height: 1.5; 428 font-style: italic; } 429 430 q:before, 431 q:after, 432 blockquote:before, 433 blockquote:after { 434 content: ""; } 435 436 address { 437 display: block; 438 margin-bottom: 20px; 439 font-style: normal; 440 line-height: 20px; } 441 442 code, 443 pre { 444 font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace; 445 padding: 0 3px 2px; 446 font-weight: 500; 447 font-size: 12px; 448 color: #444444; 449 -webkit-border-radius: 3px; 450 -moz-border-radius: 3px; 451 border-radius: 3px; } 452 453 .pre { 454 font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace; 455 font-weight: 600; 456 /*color: #504da6;*/ 457 } 458 459 code { 460 padding: 2px 4px; 461 color: #444444; 462 white-space: nowrap; 463 background-color: white; 464 border: 1px solid #777777; } 465 466 pre { 467 display: inline-block; 468 box-sizing: border-box; 469 min-width: calc(100% - 19.5px); 470 padding: 9.5px; 471 margin: 0.25em 10px 0.25em 10px; 472 font-size: 14px; 473 line-height: 20px; 474 white-space: pre !important; 475 overflow-y: hidden; 476 overflow-x: visible; 477 background-color: whitesmoke; 478 border: 1px solid #cccccc; 479 -webkit-border-radius: 4px; 480 -moz-border-radius: 4px; 481 border-radius: 4px; } 482 483 pre.prettyprint { 484 margin-bottom: 20px; } 485 486 pre code { 487 padding: 0; 488 color: inherit; 489 white-space: pre; 490 overflow-x: visible; 491 background-color: transparent; 492 border: 0; } 493 494 .pre-scrollable { 495 max-height: 340px; 496 overflow-y: scroll; } 497 498 table { 499 max-width: 100%; 500 background-color: transparent; 501 border-collapse: collapse; 502 border-spacing: 0; } 503 504 table th, table td { 505 padding: 0px 8px 0px; 506 } 507 508 .table { 509 width: 100%; 510 margin-bottom: 20px; } 511 512 .table th, 513 .table td { 514 padding: 8px; 515 line-height: 20px; 516 text-align: left; 517 vertical-align: top; 518 border-top: 1px solid #444444; } 519 520 .table th { 521 font-weight: bold; } 522 523 .table thead th { 524 vertical-align: bottom; } 525 526 .table caption + thead tr:first-child th, 527 .table caption + thead tr:first-child td, 528 .table colgroup + thead tr:first-child th, 529 .table colgroup + thead tr:first-child td, 530 .table thead:first-child tr:first-child th, 531 .table thead:first-child tr:first-child td { 532 border-top: 0; } 533 534 .table tbody + tbody { 535 border-top: 2px solid #444444; } 536 537 .table .table { 538 background-color: rgba(252, 248, 244, 0.75); } 539 540 .table-condensed th, 541 .table-condensed td { 542 padding: 4px 5px; } 543 544 .table-bordered { 545 border: 1px solid #444444; 546 border-collapse: separate; 547 *border-collapse: collapse; 548 border-left: 0; 549 -webkit-border-radius: 4px; 550 -moz-border-radius: 4px; 551 border-radius: 4px; } 552 553 .table-bordered th, 554 .table-bordered td { 555 border-left: 1px solid #444444; } 556 557 .table-bordered caption + thead tr:first-child th, 558 .table-bordered caption + tbody tr:first-child th, 559 .table-bordered caption + tbody tr:first-child td, 560 .table-bordered colgroup + thead tr:first-child th, 561 .table-bordered colgroup + tbody tr:first-child th, 562 .table-bordered colgroup + tbody tr:first-child td, 563 .table-bordered thead:first-child tr:first-child th, 564 .table-bordered tbody:first-child tr:first-child th, 565 .table-bordered tbody:first-child tr:first-child td { 566 border-top: 0; } 567 568 .table-bordered thead:first-child tr:first-child > th:first-child, 569 .table-bordered tbody:first-child tr:first-child > td:first-child, 570 .table-bordered tbody:first-child tr:first-child > th:first-child { 571 -webkit-border-top-left-radius: 4px; 572 border-top-left-radius: 4px; 573 -moz-border-radius-topleft: 4px; } 574 575 .table-bordered thead:first-child tr:first-child > th:last-child, 576 .table-bordered tbody:first-child tr:first-child > td:last-child, 577 .table-bordered tbody:first-child tr:first-child > th:last-child { 578 -webkit-border-top-right-radius: 4px; 579 border-top-right-radius: 4px; 580 -moz-border-radius-topright: 4px; } 581 582 .table-bordered thead:last-child tr:last-child > th:first-child, 583 .table-bordered tbody:last-child tr:last-child > td:first-child, 584 .table-bordered tbody:last-child tr:last-child > th:first-child, 585 .table-bordered tfoot:last-child tr:last-child > td:first-child, 586 .table-bordered tfoot:last-child tr:last-child > th:first-child { 587 -webkit-border-bottom-left-radius: 4px; 588 border-bottom-left-radius: 4px; 589 -moz-border-radius-bottomleft: 4px; } 590 591 .table-bordered thead:last-child tr:last-child > th:last-child, 592 .table-bordered tbody:last-child tr:last-child > td:last-child, 593 .table-bordered tbody:last-child tr:last-child > th:last-child, 594 .table-bordered tfoot:last-child tr:last-child > td:last-child, 595 .table-bordered tfoot:last-child tr:last-child > th:last-child { 596 -webkit-border-bottom-right-radius: 4px; 597 border-bottom-right-radius: 4px; 598 -moz-border-radius-bottomright: 4px; } 599 600 .table-bordered tfoot + tbody:last-child tr:last-child td:first-child { 601 -webkit-border-bottom-left-radius: 0; 602 border-bottom-left-radius: 0; 603 -moz-border-radius-bottomleft: 0; } 604 605 .table-bordered tfoot + tbody:last-child tr:last-child td:last-child { 606 -webkit-border-bottom-right-radius: 0; 607 border-bottom-right-radius: 0; 608 -moz-border-radius-bottomright: 0; } 609 610 .table-bordered caption + thead tr:first-child th:first-child, 611 .table-bordered caption + tbody tr:first-child td:first-child, 612 .table-bordered colgroup + thead tr:first-child th:first-child, 613 .table-bordered colgroup + tbody tr:first-child td:first-child { 614 -webkit-border-top-left-radius: 4px; 615 border-top-left-radius: 4px; 616 -moz-border-radius-topleft: 4px; } 617 618 .table-bordered caption + thead tr:first-child th:last-child, 619 .table-bordered caption + tbody tr:first-child td:last-child, 620 .table-bordered colgroup + thead tr:first-child th:last-child, 621 .table-bordered colgroup + tbody tr:first-child td:last-child { 622 -webkit-border-top-right-radius: 4px; 623 border-top-right-radius: 4px; 624 -moz-border-radius-topright: 4px; } 625 626 table.docutils th { 627 background-color: #e8e8e8; } 628 629 table.docutils tr:hover { 630 background-color: whitesmoke; } 631 632 .table-striped tbody > tr:nth-child(odd) > td, 633 .table-striped tbody > tr:nth-child(odd) > th { 634 background-color: rgba(252, 248, 244, 0.75); } 635 636 .table-hover tbody tr:hover > td, 637 .table-hover tbody tr:hover > th { 638 background-color: rgba(241, 222, 204, 0.75); } 639 640 table td[class*="span"], 641 table th[class*="span"], 642 .row-fluid table td[class*="span"], 643 .row-fluid table th[class*="span"] { 644 display: table-cell; 645 float: none; 646 margin-left: 0; } 647 648 .hero-unit { 649 padding: 60px; 650 margin-bottom: 30px; 651 font-size: 18px; 652 font-weight: 200; 653 line-height: 30px; 654 color: inherit; 655 background-color: rgba(230, 197, 164, 0.75); 656 -webkit-border-radius: 6px; 657 -moz-border-radius: 6px; 658 border-radius: 6px; } 659 660 .hero-unit h1 { 661 margin-bottom: 0; 662 font-size: 60px; 663 line-height: 1; 664 letter-spacing: -1px; 665 color: inherit; } 666 667 .hero-unit li { 668 line-height: 30px; } 669 670 /* rst2html default used to remove borders from tables and images */ 671 .borderless, table.borderless td, table.borderless th { 672 border: 0; } 673 674 table.borderless td, table.borderless th { 675 /* Override padding for "table.docutils td" with "! important". 676 The right padding separates the table cells. */ 677 padding: 0 0.5em 0 0 !important; } 678 679 .first { 680 /* Override more specific margin styles with "! important". */ 681 margin-top: 0 !important; } 682 683 .last, .with-subtitle { 684 margin-bottom: 0 !important; } 685 686 .hidden { 687 display: none; } 688 689 a.toc-backref { 690 text-decoration: none; 691 color: #444444; } 692 693 blockquote.epigraph { 694 margin: 2em 5em; } 695 696 dl.docutils dd { 697 margin-bottom: 0.5em; } 698 699 object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] { 700 overflow: hidden; } 701 702 /* Uncomment (and remove this text!) to get bold-faced definition list terms 703 dl.docutils dt { 704 font-weight: bold } 705 */ 706 div.abstract { 707 margin: 2em 5em; } 708 709 div.abstract p.topic-title { 710 font-weight: bold; 711 text-align: center; } 712 713 div.admonition, div.attention, div.caution, div.danger, div.error, 714 div.hint, div.important, div.note, div.tip, div.warning { 715 margin: 2em; 716 border: medium outset; 717 padding: 1em; } 718 719 div.note, div.warning { 720 margin: 1.5em 0px; 721 border: none; } 722 723 div.note p.admonition-title, 724 div.warning p.admonition-title { 725 display: none; } 726 727 /* Clearfix 728 * http://css-tricks.com/snippets/css/clear-fix/ 729 */ 730 div.note:after, 731 div.warning:after { 732 content: ""; 733 display: table; 734 clear: both; } 735 736 div.note p:before, 737 div.warning p:before { 738 display: block; 739 float: left; 740 font-size: 4em; 741 line-height: 1em; 742 margin-right: 20px; 743 margin-left: 0em; 744 margin-top: -10px; 745 content: '\0270D'; 746 /*handwriting*/ } 747 748 div.warning p:before { 749 content: '\026A0'; 750 /*warning*/ } 751 752 div.admonition p.admonition-title, div.hint p.admonition-title, 753 div.important p.admonition-title, div.note p.admonition-title, 754 div.tip p.admonition-title { 755 font-weight: bold; 756 font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; } 757 758 div.attention p.admonition-title, div.caution p.admonition-title, 759 div.danger p.admonition-title, div.error p.admonition-title, 760 div.warning p.admonition-title, .code .error { 761 color: #b30000; 762 font-weight: bold; 763 font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; } 764 765 /* Uncomment (and remove this text!) to get reduced vertical space in 766 compound paragraphs. 767 div.compound .compound-first, div.compound .compound-middle { 768 margin-bottom: 0.5em } 769 770 div.compound .compound-last, div.compound .compound-middle { 771 margin-top: 0.5em } 772 */ 773 div.dedication { 774 margin: 2em 5em; 775 text-align: center; 776 font-style: italic; } 777 778 div.dedication p.topic-title { 779 font-weight: bold; 780 font-style: normal; } 781 782 div.figure { 783 margin-left: 2em; 784 margin-right: 2em; } 785 786 div.footer, div.header { 787 clear: both; 788 font-size: smaller; } 789 790 div.line-block { 791 display: block; 792 margin-top: 1em; 793 margin-bottom: 1em; } 794 795 div.line-block div.line-block { 796 margin-top: 0; 797 margin-bottom: 0; 798 margin-left: 1.5em; } 799 800 div.sidebar { 801 margin: 0 0 0.5em 1em; 802 border: medium outset; 803 padding: 1em; 804 background-color: rgba(252, 248, 244, 0.75); 805 width: 40%; 806 float: right; 807 clear: right; } 808 809 div.sidebar p.rubric { 810 font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; 811 font-size: medium; } 812 813 div.system-messages { 814 margin: 5em; } 815 816 div.system-messages h1 { 817 color: #b30000; } 818 819 div.system-message { 820 border: medium outset; 821 padding: 1em; } 822 823 div.system-message p.system-message-title { 824 color: #b30000; 825 font-weight: bold; } 826 827 div.topic { 828 margin: 2em; } 829 830 h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, 831 h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { 832 margin-top: 0.4em; } 833 834 h1.title { 835 text-align: center; } 836 837 h2.subtitle { 838 text-align: center; } 839 840 hr.docutils { 841 width: 75%; } 842 843 img.align-left, .figure.align-left, object.align-left { 844 clear: left; 845 float: left; 846 margin-right: 1em; } 847 848 img.align-right, .figure.align-right, object.align-right { 849 clear: right; 850 float: right; 851 margin-left: 1em; } 852 853 img.align-center, .figure.align-center, object.align-center { 854 display: block; 855 margin-left: auto; 856 margin-right: auto; } 857 858 .align-left { 859 text-align: left; } 860 861 .align-center { 862 clear: both; 863 text-align: center; } 864 865 .align-right { 866 text-align: right; } 867 868 /* reset inner alignment in figures */ 869 div.align-right { 870 text-align: inherit; } 871 872 /* div.align-center * { */ 873 /* text-align: left } */ 874 875 ul.simple > li { 876 margin-bottom: 0.5em } 877 878 ol.simple, ul.simple { 879 margin-bottom: 1em; } 880 881 ol.arabic { 882 list-style: decimal; } 883 884 ol.loweralpha { 885 list-style: lower-alpha; } 886 887 ol.upperalpha { 888 list-style: upper-alpha; } 889 890 ol.lowerroman { 891 list-style: lower-roman; } 892 893 ol.upperroman { 894 list-style: upper-roman; } 895 896 p.attribution { 897 text-align: right; 898 margin-left: 50%; } 899 900 p.caption { 901 font-style: italic; } 902 903 p.credits { 904 font-style: italic; 905 font-size: smaller; } 906 907 p.label { 908 white-space: nowrap; } 909 910 p.rubric { 911 font-weight: bold; 912 font-size: larger; 913 color: maroon; 914 text-align: center; } 915 916 p.sidebar-title { 917 font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; 918 font-weight: bold; 919 font-size: larger; } 920 921 p.sidebar-subtitle { 922 font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; 923 font-weight: bold; } 924 925 p.topic-title { 926 font-weight: bold; } 927 928 pre.address { 929 margin-bottom: 0; 930 margin-top: 0; 931 font: inherit; } 932 933 pre.literal-block, pre.doctest-block, pre.math, pre.code { 934 margin-left: 2em; 935 margin-right: 2em; } 936 937 pre.code .ln { 938 color: grey; } 939 940 /* line numbers */ 941 pre.code, code { 942 background-color: #eeeeee; } 943 944 pre.code .comment, code .comment { 945 color: #5c6576; } 946 947 pre.code .keyword, code .keyword { 948 color: #3B0D06; 949 font-weight: bold; } 950 951 pre.code .literal.string, code .literal.string { 952 color: #0c5404; } 953 954 pre.code .name.builtin, code .name.builtin { 955 color: #352b84; } 956 957 pre.code .deleted, code .deleted { 958 background-color: #DEB0A1; } 959 960 pre.code .inserted, code .inserted { 961 background-color: #A3D289; } 962 963 span.classifier { 964 font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; 965 font-style: oblique; } 966 967 span.classifier-delimiter { 968 font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; 969 font-weight: bold; } 970 971 span.interpreted { 972 font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; } 973 974 span.option { 975 white-space: nowrap; } 976 977 span.pre { 978 white-space: pre; } 979 980 span.problematic { 981 color: #b30000; } 982 983 span.section-subtitle { 984 /* font-size relative to parent (h1..h6 element) */ 985 font-size: 80%; } 986 987 table.citation { 988 border-left: solid 1px #666666; 989 margin-left: 1px; } 990 991 table.docinfo { 992 margin: 0em; 993 margin-top: 2em; 994 margin-bottom: 2em; 995 font-family: "Raleway", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; 996 color: #444444; } 997 998 table.docutils { 999 margin-top: 0.5em; 1000 margin-bottom: 0.5em; } 1001 1002 table.footnote { 1003 border-left: solid 1px #2d2d2d; 1004 margin-left: 1px; } 1005 1006 table.docutils td, table.docutils th, 1007 table.docinfo td, table.docinfo th { 1008 padding-left: 0.5em; 1009 padding-right: 0.5em; 1010 vertical-align: top; } 1011 1012 table.docutils th.field-name, table.docinfo th.docinfo-name { 1013 font-weight: 700; 1014 text-align: left; 1015 white-space: nowrap; 1016 padding-left: 0; } 1017 1018 h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, 1019 h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { 1020 font-size: 100%; } 1021 1022 ul.auto-toc { 1023 list-style-type: none; } 1024 1025 span.DecNumber { 1026 color: #252dbe; } 1027 1028 span.BinNumber { 1029 color: #252dbe; } 1030 1031 span.HexNumber { 1032 color: #252dbe; } 1033 1034 span.OctNumber { 1035 color: #252dbe; } 1036 1037 span.FloatNumber { 1038 color: #252dbe; } 1039 1040 span.Identifier { 1041 color: #3b3b3b; } 1042 1043 span.Keyword { 1044 font-weight: 600; 1045 color: #5e8f60; } 1046 1047 span.StringLit { 1048 color: #a4255b; } 1049 1050 span.LongStringLit { 1051 color: #a4255b; } 1052 1053 span.CharLit { 1054 color: #a4255b; } 1055 1056 span.EscapeSequence { 1057 color: black; } 1058 1059 span.Operator { 1060 color: black; } 1061 1062 span.Punctuation { 1063 color: black; } 1064 1065 span.Comment, span.LongComment { 1066 font-style: italic; 1067 font-weight: 400; 1068 color: #484a86; } 1069 1070 span.RegularExpression { 1071 color: darkviolet; } 1072 1073 span.TagStart { 1074 color: darkviolet; } 1075 1076 span.TagEnd { 1077 color: darkviolet; } 1078 1079 span.Key { 1080 color: #252dbe; } 1081 1082 span.Value { 1083 color: #252dbe; } 1084 1085 span.RawData { 1086 color: #a4255b; } 1087 1088 span.Assembler { 1089 color: #252dbe; } 1090 1091 span.Preprocessor { 1092 color: #252dbe; } 1093 1094 span.Directive { 1095 color: #252dbe; } 1096 1097 span.Command, span.Rule, span.Hyperlink, span.Label, span.Reference, 1098 span.Other { 1099 color: black; } 1100 1101 /* Pop type, const, proc, and iterator defs in nim def blocks */ 1102 dt pre > span.Identifier, dt pre > span.Operator { 1103 color: #155da4; 1104 font-weight: 700; } 1105 1106 dt pre > span.Identifier ~ span.Identifier, dt pre > span.Operator ~ span.Identifier { 1107 color: inherit; 1108 font-weight: inherit; } 1109 1110 dt pre > span.Operator ~ span.Identifier, dt pre > span.Operator ~ span.Operator { 1111 color: inherit; 1112 font-weight: inherit; } 1113 1114 /* Nim sprite for the footer (taken from main page favicon) */ 1115 .nim-sprite { 1116 display: inline-block; 1117 height: 12px; 1118 width: 12px; 1119 background-position: 0 0; 1120 background-size: 12px 12px; 1121 -webkit-filter: opacity(50%); 1122 background-repeat: no-repeat; 1123 background-image: url("data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="); 1124 margin-bottom: -5px; }