github.com/wuhuizuo/gomplate@v3.5.0+incompatible/docs/static/stylesheets/application.css (about) 1 html { 2 box-sizing: border-box; 3 -moz-box-sizing: border-box; 4 -webkit-box-sizing: border-box; 5 } 6 *, 7 :after, 8 :before { 9 box-sizing: inherit; 10 -moz-box-sizing: inherit; 11 -webkit-box-sizing: inherit; 12 } 13 html { 14 font-size: 62.5%; 15 -webkit-text-size-adjust: none; 16 -ms-text-size-adjust: none; 17 text-size-adjust: none; 18 } 19 20 a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, 21 dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, main, mark, menu, nav, object, ol, output, p, 22 pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video { 23 margin: 0; 24 padding: 0; 25 border: 0; 26 } 27 28 main { 29 display: block; 30 } 31 ul { 32 list-style: none; 33 } 34 table { 35 border-collapse: collapse; 36 border-spacing: 0; 37 } 38 td { 39 text-align: left; 40 font-weight: 400; 41 vertical-align: middle; 42 } 43 button { 44 outline: 0; 45 padding: 0; 46 background: transparent; 47 border: none; 48 font-size: inherit; 49 } 50 input { 51 -webkit-appearance: none; 52 -moz-appearance: none; 53 -ms-appearance: none; 54 -o-appearance: none; 55 appearance: none; 56 outline: none; 57 border: none; 58 } 59 a { 60 text-decoration: none; 61 color: inherit; 62 } 63 a, 64 button, 65 input, 66 label { 67 -webkit-tap-highlight-color: rgba(255, 255, 255, 0); 68 -webkit-tap-highlight-color: transparent; 69 } 70 h1, 71 h2, 72 h3, 73 h4, 74 h5, 75 h6 { 76 font-weight: inherit; 77 } 78 pre { 79 background: rgba(0, 0, 0, 0.05); 80 } 81 pre, 82 pre code { 83 color: rgba(0, 0, 0, 0.87); 84 } 85 .c, 86 .c1, 87 .cm, 88 .o { 89 color: rgba(0, 0, 0, 0.54); 90 } 91 .k, 92 .kn { 93 color: #a71d5d; 94 } 95 .kd, 96 .kt { 97 color: #0086b3; 98 } 99 .n.f, 100 .nf { 101 color: #795da3; 102 } 103 .nx { 104 color: #0086b3; 105 } 106 .s, 107 .s1 { 108 color: #183691; 109 } 110 .bp, 111 .mi { 112 color: #9575cd; 113 } 114 .icon { 115 font-family: Icon; 116 speak: none; 117 font-style: normal; 118 font-weight: 400; 119 font-variant: normal; 120 text-transform: none; 121 line-height: 1; 122 -webkit-font-smoothing: antialiased; 123 -moz-osx-font-smoothing: grayscale; 124 } 125 .icon-search:before { 126 content: "\e600"; 127 } 128 .icon-back:before { 129 content: "\e601"; 130 } 131 .icon-link:before { 132 content: "\e602"; 133 } 134 .icon-close:before { 135 content: "\e603"; 136 } 137 .icon-menu:before { 138 content: "\e604"; 139 } 140 .icon-forward:before { 141 content: "\e605"; 142 } 143 .icon-twitter:before { 144 content: "\e606"; 145 } 146 .icon-github:before { 147 content: "\e607"; 148 } 149 .icon-download:before { 150 content: "\e608"; 151 } 152 .icon-star:before { 153 content: "\e609"; 154 } 155 .icon-warning:before { 156 content: "\e610"; 157 } 158 .icon-note:before { 159 content: "\e611"; 160 } 161 a { 162 -webkit-transition: color 0.25s; 163 transition: color 0.25s; 164 } 165 .overlay { 166 -webkit-transition: opacity 0.25s, width 0s 0.25s, height 0s 0.25s; 167 transition: opacity 0.25s, width 0s 0.25s, height 0s 0.25s; 168 } 169 #toggle-drawer:checked ~ .overlay, 170 .toggle-drawer .overlay { 171 -webkit-transition: opacity 0.25s, width 0s, height 0s; 172 transition: opacity 0.25s, width 0s, height 0s; 173 } 174 .js .header { 175 -webkit-transition: background 0.6s, color 0.6s; 176 transition: background 0.6s, color 0.6s; 177 } 178 .js .header:before { 179 -webkit-transition: background 0.6s; 180 transition: background 0.6s; 181 } 182 .button .icon { 183 -webkit-transition: background 0.25s; 184 transition: background 0.25s; 185 } 186 body { 187 color: rgba(0, 0, 0, 0.87); 188 } 189 @supports (-webkit-appearance: none) { 190 body { 191 background: #e84e40; 192 } 193 } 194 .ios body { 195 background: #fff; 196 } 197 hr { 198 border: 0; 199 border-top: 1px solid rgba(0, 0, 0, 0.12); 200 } 201 .toggle-button { 202 cursor: pointer; 203 color: inherit; 204 } 205 .backdrop, 206 .backdrop-paper:after { 207 background: #fff; 208 } 209 .overlay { 210 background: rgba(0, 0, 0, 0.54); 211 opacity: 0; 212 } 213 #toggle-drawer:checked ~ .overlay, 214 .toggle-drawer .overlay { 215 opacity: 1; 216 } 217 .header { 218 box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); 219 background: #e84e40; 220 color: #fff; 221 } 222 .ios.standalone .header:before { 223 background: rgba(0, 0, 0, 0.12); 224 } 225 .bar .path { 226 color: hsla(0, 0%, 100%, 0.7); 227 } 228 .button .icon { 229 border-radius: 100%; 230 } 231 .button .icon:active { 232 background: hsla(0, 0%, 100%, 0.12); 233 } 234 html { 235 height: 100%; 236 } 237 body { 238 position: relative; 239 min-height: 100%; 240 } 241 hr { 242 display: block; 243 height: 1px; 244 padding: 0; 245 margin: 0; 246 } 247 .locked { 248 height: 100%; 249 overflow: hidden; 250 } 251 .scrollable { 252 position: absolute; 253 top: 0; 254 right: 0; 255 bottom: 0; 256 left: 0; 257 overflow: auto; 258 -webkit-overflow-scrolling: touch; 259 } 260 .scrollable .wrapper { 261 height: 100%; 262 } 263 .ios .scrollable .wrapper { 264 margin-bottom: 2px; 265 } 266 .toggle { 267 display: none; 268 } 269 .toggle-button { 270 display: block; 271 } 272 .backdrop { 273 position: absolute; 274 top: 0; 275 right: 0; 276 bottom: 0; 277 left: 0; 278 z-index: -1; 279 } 280 .backdrop-paper { 281 max-width: 1200px; 282 height: 100%; 283 margin-left: auto; 284 margin-right: auto; 285 } 286 .backdrop-paper:after { 287 content: " "; 288 display: block; 289 height: 100%; 290 margin-left: 262px; 291 } 292 .overlay { 293 width: 0; 294 height: 0; 295 z-index: 3; 296 } 297 .header, 298 .overlay { 299 position: fixed; 300 top: 0; 301 } 302 .header { 303 -webkit-user-select: none; 304 -moz-user-select: none; 305 -ms-user-select: none; 306 user-select: none; 307 left: 0; 308 z-index: 2; 309 height: 56px; 310 padding: 4px; 311 overflow: hidden; 312 } 313 .ios.standalone .header { 314 position: absolute; 315 } 316 .bar { 317 display: table; 318 max-width: 1184px; 319 margin-left: auto; 320 margin-right: auto; 321 } 322 .bar a { 323 display: block; 324 } 325 .no-js .bar .button-search { 326 display: none; 327 } 328 .bar .path .icon:before { 329 vertical-align: -1.5px; 330 } 331 .button { 332 display: table-cell; 333 vertical-align: top; 334 width: 1%; 335 } 336 .button button { 337 margin: 0; 338 padding: 0; 339 } 340 .button button:active:before { 341 position: relative; 342 top: 0; 343 left: 0; 344 } 345 .button .icon { 346 display: inline-block; 347 font-size: 24px; 348 padding: 8px; 349 margin: 4px; 350 } 351 .stretch { 352 display: table; 353 table-layout: fixed; 354 width: 100%; 355 } 356 .header .stretch { 357 padding: 0 20px; 358 } 359 .stretch .title { 360 display: table-cell; 361 overflow: hidden; 362 white-space: nowrap; 363 text-overflow: ellipsis; 364 } 365 .header .stretch .title { 366 font-size: 18px; 367 padding: 13px 0; 368 } 369 .main { 370 max-width: 1200px; 371 margin-left: auto; 372 margin-right: auto; 373 } 374 body, 375 input { 376 font-weight: 400; 377 -webkit-font-smoothing: antialiased; 378 -moz-osx-font-smoothing: grayscale; 379 } 380 .no-fontface body, 381 .no-fontface input, 382 body, 383 input { 384 font-family: Helvetica Neue, Helvetica, Arial, sans-serif; 385 } 386 .no-fontface code, 387 .no-fontface kbd, 388 .no-fontface pre, 389 code, 390 kbd, 391 pre { 392 font-family: Courier New, Courier, monospace; 393 } 394 #toggle-drawer:checked ~ .main .drawer, 395 .toggle-drawer .drawer { 396 -webkit-transform: translateZ(0); 397 transform: translateZ(0); 398 } 399 .no-csstransforms3d #toggle-drawer:checked ~ .main .drawer, 400 .no-csstransforms3d .toggle-drawer .drawer { 401 display: block; 402 } 403 .project { 404 -webkit-transition: none; 405 transition: none; 406 } 407 .project .logo img { 408 -webkit-transition: box-shadow 0.4s; 409 transition: box-shadow 0.4s; 410 } 411 .repo a { 412 -webkit-transition: box-shadow 0.4s, opacity 0.4s; 413 transition: box-shadow 0.4s, opacity 0.4s; 414 } 415 .drawer .toc a.current, 416 .drawer .toc a:focus, 417 .drawer .toc a:hover { 418 color: #e84e40; 419 } 420 .drawer .anchor a { 421 border-left: 2px solid #e84e40; 422 } 423 .drawer .section { 424 color: rgba(0, 0, 0, 0.54); 425 } 426 .ios.standalone .project:before { 427 background: rgba(0, 0, 0, 0.12); 428 } 429 .project .logo img { 430 background: #fff; 431 border-radius: 100%; 432 } 433 .project:focus .logo img, 434 .project:hover .logo img { 435 box-shadow: 0 4px 7px rgba(0, 0, 0, 0.23), 0 8px 25px rgba(0, 0, 0, 0.05); 436 } 437 .repo a { 438 background: #00bfa5; 439 color: #fff; 440 border-radius: 3px; 441 } 442 .repo a:focus, 443 .repo a:hover { 444 box-shadow: 0 4px 7px rgba(0, 0, 0, 0.23), 0 8px 25px rgba(0, 0, 0, 0.05); 445 opacity: 0.8; 446 } 447 .repo a .count { 448 background: rgba(0, 0, 0, 0.26); 449 color: #fff; 450 border-radius: 0 3px 3px 0; 451 } 452 .repo a .count:before { 453 border-width: 15px 5px 15px 0; 454 border-color: transparent rgba(0, 0, 0, 0.26); 455 border-style: solid; 456 } 457 .drawer { 458 width: 262px; 459 font-size: 13px; 460 line-height: 1em; 461 } 462 .ios .drawer { 463 overflow: scroll; 464 -webkit-overflow-scrolling: touch; 465 } 466 .drawer .toc li a { 467 display: block; 468 padding: 14.5px 24px; 469 white-space: nowrap; 470 overflow: hidden; 471 text-overflow: ellipsis; 472 } 473 .drawer .toc li.anchor a { 474 margin-left: 12px; 475 padding: 10px 24px 10px 12px; 476 } 477 .drawer .toc li ul { 478 margin-left: 12px; 479 } 480 .drawer .current + ul { 481 margin-bottom: 9px; 482 } 483 .drawer .section { 484 display: block; 485 padding: 14.5px 24px; 486 } 487 .drawer .scrollable { 488 top: 104px; 489 z-index: -1; 490 } 491 .drawer .scrollable .wrapper { 492 height: auto; 493 min-height: 100%; 494 } 495 .drawer .scrollable .wrapper hr { 496 margin: 12px 0; 497 margin-right: auto; 498 } 499 .drawer .scrollable .wrapper .toc { 500 margin: 12px 0; 501 } 502 .project { 503 display: block; 504 } 505 .project .banner { 506 display: table; 507 width: 100%; 508 height: 104px; 509 padding: 20px; 510 } 511 .project .logo { 512 display: table-cell; 513 width: 64px; 514 padding-right: 12px; 515 } 516 .project .logo img { 517 display: block; 518 width: 64px; 519 height: 64px; 520 } 521 .project .name { 522 display: table-cell; 523 padding-left: 4px; 524 font-size: 14px; 525 line-height: 1.25em; 526 vertical-align: middle; 527 } 528 .project .logo + .name { 529 font-size: 12px; 530 } 531 .repo { 532 margin: 24px 0; 533 text-align: center; 534 } 535 .repo li { 536 display: inline-block; 537 padding-right: 12px; 538 white-space: nowrap; 539 } 540 .repo li:last-child { 541 padding-right: 0; 542 } 543 .repo a { 544 display: inline-block; 545 padding: 0 10px 0 6px; 546 font-size: 12px; 547 line-height: 30px; 548 height: 30px; 549 } 550 .repo a .icon { 551 font-size: 18px; 552 vertical-align: -3px; 553 } 554 .repo a .count { 555 display: inline-block; 556 position: relative; 557 padding: 0 8px 0 4px; 558 margin: 0 -10px 0 8px; 559 font-size: 12px; 560 } 561 .repo a .count:before { 562 content: " "; 563 display: block; 564 position: absolute; 565 top: 0; 566 left: -5px; 567 } 568 .no-js .repo a .count { 569 display: none; 570 } 571 .drawer .toc li a { 572 font-weight: 700; 573 } 574 .drawer .toc li.anchor a { 575 font-weight: 400; 576 } 577 .drawer .section, 578 .repo a { 579 font-weight: 700; 580 } 581 .repo a { 582 text-transform: uppercase; 583 } 584 .repo a .count { 585 text-transform: none; 586 font-weight: 700; 587 } 588 pre span { 589 -webkit-transition: color 0.25s; 590 transition: color 0.25s; 591 } 592 .copyright a { 593 -webkit-transition: color 0.25s; 594 transition: color 0.25s; 595 } 596 .ios.standalone .article { 597 background: -webkit-linear-gradient(top, #fff 50%, #e84e40 0); 598 background: linear-gradient(180deg, #fff 50%, #e84e40 0); 599 } 600 .ios.standalone .article .wrapper { 601 background: -webkit-linear-gradient(top, #fff 50%, #fff 0); 602 background: linear-gradient(180deg, #fff 50%, #fff 0); 603 } 604 .article a, 605 .article h1, 606 .article h2 { 607 color: #e84e40; 608 } 609 .article code { 610 background: #eee; 611 } 612 .article kbd { 613 color: #555; 614 background-color: #fcfcfc; 615 border: 1px solid #ccc; 616 border-bottom-color: #bbb; 617 border-radius: 3px; 618 box-shadow: inset 0 -1px 0 #bbb; 619 } 620 .article h1 { 621 border-bottom: 1px solid rgba(0, 0, 0, 0.12); 622 } 623 .article a { 624 border-bottom: 1px dotted; 625 } 626 .article a:focus, 627 .article a:hover { 628 color: #00bfa5; 629 } 630 .article .headerlink { 631 color: rgba(0, 0, 0, 0.26); 632 border: none; 633 } 634 .article table { 635 box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); 636 border-radius: 3px; 637 } 638 .article table th { 639 background: #ee7a70; 640 color: #fff; 641 } 642 .article table td { 643 border-top: 1px solid rgba(0, 0, 0, 0.05); 644 } 645 .article blockquote { 646 border-left: 2px solid rgba(0, 0, 0, 0.54); 647 color: rgba(0, 0, 0, 0.54); 648 } 649 .footer { 650 background: #e84e40; 651 color: #fff; 652 } 653 .footer a { 654 border: none; 655 } 656 .copyright { 657 color: rgba(0, 0, 0, 0.54); 658 } 659 .pagination a .button, 660 .pagination a .title { 661 color: #fff; 662 } 663 .pagination .direction { 664 color: hsla(0, 0%, 100%, 0.7); 665 } 666 .admonition { 667 background: #29b6f6; 668 color: #fff; 669 } 670 .admonition pre { 671 background: hsla(0, 0%, 100%, 0.3); 672 } 673 .admonition.warning { 674 background: #e84e40; 675 } 676 .admonition a, 677 .admonition a:hover { 678 color: #fff; 679 } 680 .article { 681 font-size: 14px; 682 line-height: 1.7em; 683 } 684 .article:after { 685 content: " "; 686 display: block; 687 clear: both; 688 } 689 .article .wrapper { 690 padding: 116px 16px 92px; 691 } 692 .ios.standalone .article { 693 position: absolute; 694 top: 56px; 695 right: 0; 696 bottom: 0; 697 left: 0; 698 overflow: auto; 699 -webkit-overflow-scrolling: touch; 700 } 701 .ios.standalone .article .wrapper { 702 position: relative; 703 min-height: 100%; 704 padding-top: 60px; 705 margin-bottom: 2px; 706 } 707 .article h1 { 708 font-size: 24px; 709 line-height: 1.333334em; 710 padding: 20px 0 42px; 711 } 712 .article h2 { 713 font-size: 20px; 714 line-height: 1.4em; 715 padding-top: 92px; 716 margin-top: -56px; 717 } 718 .ios.standalone .article h2 { 719 padding-top: 36px; 720 margin: 0; 721 } 722 .article h3, 723 .article h4 { 724 font-size: 14px; 725 padding-top: 76px; 726 margin-top: -56px; 727 } 728 .ios.standalone .article h3, 729 .ios.standalone .article h4 { 730 padding-top: 20px; 731 margin-top: 0; 732 } 733 .article .headerlink { 734 float: right; 735 margin-left: 20px; 736 font-size: 14px; 737 } 738 h1 .article .headerlink { 739 display: none; 740 } 741 .article ol, 742 .article p, 743 .article ul { 744 margin-top: 1.5em; 745 } 746 .article li, 747 .article li ol, 748 .article li ul { 749 margin-top: 0.75em; 750 } 751 .article li { 752 margin-left: 18px; 753 } 754 .article li p { 755 display: inline; 756 } 757 .article ul > li:before { 758 content: "\e602"; 759 display: block; 760 float: left; 761 font-family: Icon; 762 font-size: 16px; 763 width: 1.2em; 764 margin-left: -1.2em; 765 vertical-align: -0.1em; 766 } 767 .article p > code { 768 white-space: nowrap; 769 padding: 2px 4px; 770 } 771 .article kbd { 772 display: inline-block; 773 padding: 3px 5px; 774 line-height: 10px; 775 } 776 .article hr { 777 margin-top: 1.5em; 778 } 779 .article img { 780 max-width: 100%; 781 } 782 .article pre { 783 padding: 16px; 784 margin: 1.5em -16px 0; 785 line-height: 1.5em; 786 overflow: auto; 787 -webkit-overflow-scrolling: touch; 788 } 789 .article table { 790 margin: 3em 0 1.5em; 791 font-size: 13px; 792 overflow: hidden; 793 } 794 .no-js .article table { 795 display: inline-block; 796 max-width: 100%; 797 overflow: auto; 798 -webkit-overflow-scrolling: touch; 799 } 800 .article table th { 801 min-width: 100px; 802 font-size: 12px; 803 text-align: left; 804 } 805 .article table td, 806 .article table th { 807 padding: 12px 16px; 808 vertical-align: top; 809 } 810 .article blockquote { 811 padding-left: 16px; 812 } 813 .article .data { 814 margin: 1.5em -16px; 815 padding: 1.5em 0; 816 overflow: auto; 817 -webkit-overflow-scrolling: touch; 818 text-align: center; 819 } 820 .article .data table { 821 display: inline-block; 822 margin: 0 16px; 823 text-align: left; 824 } 825 .footer { 826 position: absolute; 827 bottom: 0; 828 left: 0; 829 right: 0; 830 padding: 0 4px; 831 } 832 .copyright { 833 margin: 1.5em 0; 834 } 835 .pagination { 836 max-width: 1184px; 837 height: 92px; 838 padding: 4px 0; 839 margin-left: auto; 840 margin-right: auto; 841 overflow: hidden; 842 } 843 .pagination a { 844 display: block; 845 height: 100%; 846 } 847 .pagination .next, 848 .pagination .previous { 849 position: relative; 850 float: left; 851 height: 100%; 852 } 853 .pagination .previous { 854 width: 25%; 855 } 856 .pagination .previous .direction, 857 .pagination .previous .stretch { 858 display: none; 859 } 860 .pagination .next { 861 width: 75%; 862 text-align: right; 863 } 864 .pagination .page { 865 display: table; 866 position: absolute; 867 bottom: 4px; 868 } 869 .pagination .direction { 870 display: block; 871 position: absolute; 872 bottom: 40px; 873 width: 100%; 874 font-size: 15px; 875 line-height: 20px; 876 padding: 0 52px; 877 } 878 .pagination .stretch { 879 padding: 0 4px; 880 } 881 .pagination .stretch .title { 882 font-size: 18px; 883 padding: 11px 0 13px; 884 } 885 .admonition { 886 margin: 20px -16px 0; 887 padding: 20px 16px; 888 } 889 .admonition > :first-child { 890 margin-top: 0; 891 } 892 .admonition .admonition-title { 893 font-size: 20px; 894 } 895 .admonition .admonition-title:before { 896 content: "\e611"; 897 display: block; 898 float: left; 899 font-family: Icon; 900 font-size: 24px; 901 vertical-align: -0.1em; 902 margin-right: 5px; 903 } 904 .admonition.warning .admonition-title:before { 905 content: "\e610"; 906 } 907 .article h3 { 908 font-weight: 700; 909 } 910 .article h4 { 911 font-weight: 400; 912 font-style: italic; 913 } 914 .article h2 a, 915 .article h3 a, 916 .article h4 a, 917 .article h5 a, 918 .article h6 a { 919 font-weight: 400; 920 font-style: normal; 921 } 922 .bar { 923 -webkit-transform: translateZ(0); 924 transform: translateZ(0); 925 -webkit-transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), 926 -webkit-transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); 927 transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), 928 -webkit-transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); 929 transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), 930 transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); 931 transition: opacity 0.2s cubic-bezier(0.75, 0, 0.25, 1), 932 transform 0.4s cubic-bezier(0.75, 0, 0.25, 1), 933 -webkit-transform 0.4s cubic-bezier(0.75, 0, 0.25, 1); 934 } 935 #toggle-search:checked ~ .header .bar, 936 .toggle-search .bar { 937 -webkit-transform: translate3d(0, -56px, 0); 938 transform: translate3d(0, -56px, 0); 939 } 940 .bar.search .button-reset { 941 -webkit-transform: scale(0.5); 942 transform: scale(0.5); 943 -webkit-transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), 944 -webkit-transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); 945 transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), 946 -webkit-transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); 947 transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), 948 transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); 949 transition: opacity 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), 950 transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1), 951 -webkit-transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1); 952 opacity: 0; 953 } 954 .bar.search.non-empty .button-reset { 955 -webkit-transform: scale(1); 956 transform: scale(1); 957 opacity: 1; 958 } 959 .results { 960 -webkit-transition: opacity 0.3s 0.1s, width 0s 0.4s, height 0s 0.4s; 961 transition: opacity 0.3s 0.1s, width 0s 0.4s, height 0s 0.4s; 962 } 963 #toggle-search:checked ~ .main .results, 964 .toggle-search .results { 965 -webkit-transition: opacity 0.4s, width 0s, height 0s; 966 transition: opacity 0.4s, width 0s, height 0s; 967 } 968 .results .list a { 969 -webkit-transition: background 0.25s; 970 transition: background 0.25s; 971 } 972 .no-csstransforms3d .bar.default { 973 display: table; 974 } 975 .no-csstransforms3d .bar.search { 976 display: none; 977 margin-top: 0; 978 } 979 .no-csstransforms3d #toggle-search:checked ~ .header .bar.default, 980 .no-csstransforms3d .toggle-search .bar.default { 981 display: none; 982 } 983 .no-csstransforms3d #toggle-search:checked ~ .header .bar.search, 984 .no-csstransforms3d .toggle-search .bar.search { 985 display: table; 986 } 987 .bar.search { 988 opacity: 0; 989 } 990 .bar.search .query { 991 background: transparent; 992 color: rgba(0, 0, 0, 0.87); 993 } 994 .bar.search .query::-webkit-input-placeholder { 995 color: rgba(0, 0, 0, 0.26); 996 } 997 .bar.search .query:-moz-placeholder, 998 .bar.search .query::-moz-placeholder { 999 color: rgba(0, 0, 0, 0.26); 1000 } 1001 .bar.search .query:-ms-input-placeholder { 1002 color: rgba(0, 0, 0, 0.26); 1003 } 1004 .bar.search .button .icon:active { 1005 background: rgba(0, 0, 0, 0.12); 1006 } 1007 .results { 1008 box-shadow: 0 4px 7px rgba(0, 0, 0, 0.23), 0 8px 25px rgba(0, 0, 0, 0.05); 1009 background: #fff; 1010 color: rgba(0, 0, 0, 0.87); 1011 opacity: 0; 1012 } 1013 #toggle-search:checked ~ .main .results, 1014 .toggle-search .results { 1015 opacity: 1; 1016 } 1017 .results .meta { 1018 background: #e84e40; 1019 color: #fff; 1020 } 1021 .results .list a { 1022 border-bottom: 1px solid rgba(0, 0, 0, 0.12); 1023 } 1024 .results .list a:last-child { 1025 border-bottom: none; 1026 } 1027 .results .list a:active { 1028 background: rgba(0, 0, 0, 0.12); 1029 } 1030 .result span { 1031 color: rgba(0, 0, 0, 0.54); 1032 } 1033 #toggle-search:checked ~ .header, 1034 .toggle-search .header { 1035 background: #fff; 1036 color: rgba(0, 0, 0, 0.54); 1037 } 1038 #toggle-search:checked ~ .header:before, 1039 .toggle-search .header:before { 1040 background: rgba(0, 0, 0, 0.54); 1041 } 1042 #toggle-search:checked ~ .header .bar.default, 1043 .toggle-search .header .bar.default { 1044 opacity: 0; 1045 } 1046 #toggle-search:checked ~ .header .bar.search, 1047 .toggle-search .header .bar.search { 1048 opacity: 1; 1049 } 1050 .bar.search { 1051 margin-top: 8px; 1052 } 1053 .bar.search .query { 1054 font-size: 18px; 1055 padding: 13px 0; 1056 margin: 0; 1057 width: 100%; 1058 height: 48px; 1059 } 1060 .bar.search .query::-ms-clear { 1061 display: none; 1062 } 1063 .results { 1064 position: fixed; 1065 top: 0; 1066 left: 0; 1067 width: 0; 1068 height: 100%; 1069 z-index: 1; 1070 overflow-y: scroll; 1071 -webkit-overflow-scrolling: touch; 1072 } 1073 .results .scrollable { 1074 top: 56px; 1075 } 1076 #toggle-search:checked ~ .main .results, 1077 .toggle-search .results { 1078 width: 100%; 1079 overflow-y: visible; 1080 } 1081 .results .meta { 1082 font-weight: 700; 1083 } 1084 .results .meta strong { 1085 display: block; 1086 font-size: 11px; 1087 max-width: 1200px; 1088 margin-left: auto; 1089 margin-right: auto; 1090 padding: 16px; 1091 } 1092 .results .list a { 1093 display: block; 1094 } 1095 .result { 1096 max-width: 1200px; 1097 margin-left: auto; 1098 margin-right: auto; 1099 padding: 12px 16px 16px; 1100 } 1101 .result h1 { 1102 line-height: 24px; 1103 } 1104 .result h1, 1105 .result span { 1106 text-overflow: ellipsis; 1107 white-space: nowrap; 1108 overflow: hidden; 1109 } 1110 .result span { 1111 font-size: 12px; 1112 } 1113 .no-csstransforms3d .results { 1114 display: none; 1115 } 1116 .no-csstransforms3d #toggle-search:checked ~ .main .results, 1117 .no-csstransforms3d .toggle-search .results { 1118 display: block; 1119 overflow: auto; 1120 } 1121 .meta { 1122 text-transform: uppercase; 1123 font-weight: 700; 1124 } 1125 @media only screen and (min-width: 960px) { 1126 .backdrop { 1127 background: #f2f2f2; 1128 } 1129 .backdrop-paper:after { 1130 box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); 1131 } 1132 .button-menu { 1133 display: none; 1134 } 1135 .drawer { 1136 float: left; 1137 height: auto; 1138 margin-bottom: 96px; 1139 padding-top: 80px; 1140 } 1141 .drawer, 1142 .drawer .scrollable { 1143 position: static; 1144 } 1145 .article { 1146 margin-left: 262px; 1147 } 1148 .footer { 1149 z-index: 4; 1150 } 1151 .copyright { 1152 margin-bottom: 64px; 1153 } 1154 .results { 1155 height: auto; 1156 top: 64px; 1157 } 1158 .results .scrollable { 1159 position: static; 1160 max-height: 413px; 1161 } 1162 } 1163 @media only screen and (max-width: 959px) { 1164 #toggle-drawer:checked ~ .overlay, 1165 .toggle-drawer .overlay { 1166 width: 100%; 1167 height: 100%; 1168 } 1169 .drawer { 1170 -webkit-transform: translate3d(-262px, 0, 0); 1171 transform: translate3d(-262px, 0, 0); 1172 -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); 1173 transition: -webkit-transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); 1174 transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); 1175 transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 1176 -webkit-transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); 1177 } 1178 .no-csstransforms3d .drawer { 1179 display: none; 1180 } 1181 .drawer { 1182 background: #fff; 1183 } 1184 .project { 1185 box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05); 1186 background: #e84e40; 1187 color: #fff; 1188 } 1189 .drawer { 1190 position: fixed; 1191 z-index: 4; 1192 } 1193 #toggle-search:checked ~ .main .results, 1194 .drawer, 1195 .toggle-search .results { 1196 height: 100%; 1197 } 1198 } 1199 @media only screen and (min-width: 720px) { 1200 .header { 1201 height: 64px; 1202 padding: 8px; 1203 } 1204 .header .stretch { 1205 padding: 0 16px; 1206 } 1207 .header .stretch .title { 1208 font-size: 20px; 1209 padding: 12px 0; 1210 } 1211 .project .name { 1212 margin: 26px 0 0 5px; 1213 } 1214 .article .wrapper { 1215 padding: 128px 24px 96px; 1216 } 1217 .article .data { 1218 margin: 1.5em -24px; 1219 } 1220 .article .data table { 1221 margin: 0 24px; 1222 } 1223 .article h2 { 1224 padding-top: 100px; 1225 margin-top: -64px; 1226 } 1227 .ios.standalone .article h2 { 1228 padding-top: 28px; 1229 margin-top: 8px; 1230 } 1231 .article h3, 1232 .article h4 { 1233 padding-top: 84px; 1234 margin-top: -64px; 1235 } 1236 .ios.standalone .article h3, 1237 .ios.standalone .article h4 { 1238 padding-top: 20px; 1239 margin-top: 0; 1240 } 1241 .article pre { 1242 padding: 1.5em 24px; 1243 margin: 1.5em -24px 0; 1244 } 1245 .footer { 1246 padding: 0 8px; 1247 } 1248 .pagination { 1249 height: 96px; 1250 padding: 8px 0; 1251 } 1252 .pagination .direction { 1253 padding: 0 56px; 1254 bottom: 40px; 1255 } 1256 .pagination .stretch { 1257 padding: 0 8px; 1258 } 1259 .admonition { 1260 margin: 20px -24px 0; 1261 padding: 20px 24px; 1262 } 1263 .bar.search .query { 1264 font-size: 20px; 1265 padding: 12px 0; 1266 } 1267 .results .scrollable { 1268 top: 64px; 1269 } 1270 .results .meta strong { 1271 padding: 16px 24px; 1272 } 1273 .result { 1274 padding: 16px 24px 20px; 1275 } 1276 } 1277 @media only screen and (min-width: 1200px) { 1278 .header { 1279 width: 100%; 1280 } 1281 .drawer .scrollable .wrapper hr { 1282 width: 48px; 1283 } 1284 } 1285 @media only screen and (orientation: portrait) { 1286 .ios.standalone .header { 1287 height: 76px; 1288 padding-top: 24px; 1289 } 1290 .ios.standalone .header:before { 1291 content: " "; 1292 position: absolute; 1293 top: 0; 1294 left: 0; 1295 z-index: 3; 1296 width: 100%; 1297 height: 20px; 1298 } 1299 .ios.standalone .drawer .scrollable { 1300 top: 124px; 1301 } 1302 .ios.standalone .project { 1303 padding-top: 20px; 1304 } 1305 .ios.standalone .project:before { 1306 content: " "; 1307 position: absolute; 1308 top: 0; 1309 left: 0; 1310 z-index: 3; 1311 width: 100%; 1312 height: 20px; 1313 } 1314 .ios.standalone .article { 1315 position: absolute; 1316 top: 76px; 1317 right: 0; 1318 bottom: 0; 1319 left: 0; 1320 } 1321 .ios.standalone .results .scrollable { 1322 top: 76px; 1323 } 1324 } 1325 @media only screen and (orientation: portrait) and (min-width: 720px) { 1326 .ios.standalone .header { 1327 height: 84px; 1328 padding-top: 28px; 1329 } 1330 .ios.standalone .results .scrollable { 1331 top: 84px; 1332 } 1333 } 1334 @media only screen and (max-width: 719px) { 1335 .bar .path { 1336 display: none; 1337 } 1338 } 1339 @media only screen and (max-width: 479px) { 1340 .button-github, 1341 .button-twitter { 1342 display: none; 1343 } 1344 } 1345 @media only screen and (min-width: 720px) and (max-width: 959px) { 1346 .header .stretch { 1347 padding: 0 24px; 1348 } 1349 } 1350 @media only screen and (min-width: 480px) { 1351 .pagination .next, 1352 .pagination .previous { 1353 width: 50%; 1354 } 1355 .pagination .previous .direction { 1356 display: block; 1357 } 1358 .pagination .previous .stretch { 1359 display: table; 1360 } 1361 } 1362 @media print { 1363 .drawer, 1364 .footer, 1365 .header, 1366 .headerlink { 1367 display: none; 1368 } 1369 .article .wrapper { 1370 padding-top: 0; 1371 } 1372 .article pre, 1373 .article pre * { 1374 color: rgba(0, 0, 0, 0.87) !important; 1375 } 1376 .article pre { 1377 border: 1px solid rgba(0, 0, 0, 0.12); 1378 } 1379 .article table { 1380 border-radius: none; 1381 box-shadow: none; 1382 } 1383 .article table th { 1384 color: #e84e40; 1385 } 1386 }