github.com/mweagle/Sparta@v1.15.0/docs/css/theme.css (about) 1 @charset "UTF-8"; 2 3 /* Tags */ 4 @import "tags.css"; 5 6 #top-github-link, #body #breadcrumbs { 7 position: relative; 8 top: 50%; 9 -webkit-transform: translateY(-50%); 10 -moz-transform: translateY(-50%); 11 -o-transform: translateY(-50%); 12 -ms-transform: translateY(-50%); 13 transform: translateY(-50%); 14 } 15 .button, .button-secondary { 16 display: inline-block; 17 padding: 7px 12px; 18 } 19 .button:active, .button-secondary:active { 20 margin: 2px 0 -2px 0; 21 } 22 @font-face { 23 font-family: 'Novacento Sans Wide'; 24 src: url("../fonts/Novecentosanswide-UltraLight-webfont.eot"); 25 src: url("../fonts/Novecentosanswide-UltraLight-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/Novecentosanswide-UltraLight-webfont.woff2") format("woff2"), url("../fonts/Novecentosanswide-UltraLight-webfont.woff") format("woff"), url("../fonts/Novecentosanswide-UltraLight-webfont.ttf") format("truetype"), url("../fonts/Novecentosanswide-UltraLight-webfont.svg#novecento_sans_wideultralight") format("svg"); 26 font-style: normal; 27 font-weight: 200; 28 } 29 @font-face { 30 font-family: 'Work Sans'; 31 font-style: normal; 32 font-weight: 300; 33 src: url("../fonts/Work_Sans_300.eot?#iefix") format("embedded-opentype"), url("../fonts/Work_Sans_300.woff") format("woff"), url("../fonts/Work_Sans_300.woff2") format("woff2"), url("../fonts/Work_Sans_300.svg#WorkSans") format("svg"), url("../fonts/Work_Sans_300.ttf") format("truetype"); 34 } 35 @font-face { 36 font-family: 'Work Sans'; 37 font-style: normal; 38 font-weight: 500; 39 src: url("../fonts/Work_Sans_500.eot?#iefix") format("embedded-opentype"), url("../fonts/Work_Sans_500.woff") format("woff"), url("../fonts/Work_Sans_500.woff2") format("woff2"), url("../fonts/Work_Sans_500.svg#WorkSans") format("svg"), url("../fonts/Work_Sans_500.ttf") format("truetype"); 40 } 41 body { 42 background: #fff; 43 color: #777; 44 } 45 body #chapter h1 { 46 font-size: 3.5rem; 47 } 48 @media only all and (min-width: 48em) and (max-width: 59.938em) { 49 body #chapter h1 { 50 font-size: 3rem; 51 } 52 } 53 @media only all and (max-width: 47.938em) { 54 body #chapter h1 { 55 font-size: 2rem; 56 } 57 } 58 a { 59 color: #00bdf3; 60 } 61 a:hover { 62 color: #0082a7; 63 } 64 pre { 65 position: relative; 66 color: #ffffff; 67 } 68 .bg { 69 background: #fff; 70 border: 1px solid #eaeaea; 71 } 72 b, strong, label, th { 73 font-weight: 600; 74 } 75 .default-animation, #header #logo-svg, #header #logo-svg path, #sidebar, #sidebar ul, #body, #body .padding, #body .nav { 76 -webkit-transition: all 0.5s ease; 77 -moz-transition: all 0.5s ease; 78 transition: all 0.5s ease; 79 } 80 #grav-logo { 81 max-width: 60%; 82 } 83 #grav-logo path { 84 fill: #fff !important; 85 } 86 #sidebar { 87 font-weight: 300 !important; 88 } 89 fieldset { 90 border: 1px solid #ddd; 91 } 92 textarea, input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], select[multiple=multiple] { 93 background-color: white; 94 border: 1px solid #ddd; 95 box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06); 96 } 97 textarea:hover, input[type="email"]:hover, input[type="number"]:hover, input[type="password"]:hover, input[type="search"]:hover, input[type="tel"]:hover, input[type="text"]:hover, input[type="url"]:hover, input[type="color"]:hover, input[type="date"]:hover, input[type="datetime"]:hover, input[type="datetime-local"]:hover, input[type="month"]:hover, input[type="time"]:hover, input[type="week"]:hover, select[multiple=multiple]:hover { 98 border-color: #c4c4c4; 99 } 100 textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus { 101 border-color: #00bdf3; 102 box-shadow: inset 0 1px 3px rgba(0,0,0,.06),0 0 5px rgba(0,169,218,.7) 103 } 104 #header-wrapper { 105 background: #8451a1; 106 color: #fff; 107 text-align: center; 108 border-bottom: 4px solid #9c6fb6; 109 padding: 1rem; 110 } 111 #header a { 112 display: inline-block; 113 } 114 #header #logo-svg { 115 width: 8rem; 116 height: 2rem; 117 } 118 #header #logo-svg path { 119 fill: #fff; 120 } 121 .searchbox { 122 margin-top: 1rem; 123 position: relative; 124 border: 1px solid #915eae; 125 background: #764890; 126 border-radius: 4px; 127 } 128 .searchbox label { 129 color: rgba(255, 255, 255, 0.8); 130 position: absolute; 131 left: 10px; 132 top: 3px; 133 } 134 .searchbox span { 135 color: rgba(255, 255, 255, 0.6); 136 position: absolute; 137 right: 10px; 138 top: 3px; 139 cursor: pointer; 140 } 141 .searchbox span:hover { 142 color: rgba(255, 255, 255, 0.9); 143 } 144 .searchbox input { 145 display: inline-block; 146 color: #fff; 147 width: 100%; 148 height: 30px; 149 background: transparent; 150 border: 0; 151 padding: 0 25px 0 30px; 152 margin: 0; 153 font-weight: 300; 154 } 155 .searchbox input::-webkit-input-placeholder { 156 color: rgba(255, 255, 255, 0.6); 157 } 158 .searchbox input::-moz-placeholder { 159 color: rgba(255, 255, 255, 0.6); 160 } 161 .searchbox input:-moz-placeholder { 162 color: rgba(255, 255, 255, 0.6); 163 } 164 .searchbox input:-ms-input-placeholder { 165 color: rgba(255, 255, 255, 0.6); 166 } 167 #sidebar-toggle-span { 168 display: none; 169 } 170 @media only all and (max-width: 47.938em) { 171 #sidebar-toggle-span { 172 display: inline; 173 } 174 } 175 #sidebar { 176 background-color: #322A38; 177 position: fixed; 178 top: 0; 179 width: 300px; 180 bottom: 0; 181 left: 0; 182 font-weight: 400; 183 font-size: 15px; 184 } 185 #sidebar a { 186 color: #ccc; 187 } 188 #sidebar a:hover { 189 color: #e6e6e6; 190 } 191 #sidebar a.subtitle { 192 color: rgba(204, 204, 204, 0.6); 193 } 194 #sidebar hr { 195 border-bottom: 1px solid #2a232f; 196 } 197 #sidebar a.padding { 198 padding: 0 1rem; 199 } 200 #sidebar h5 { 201 margin: 2rem 0 0; 202 position: relative; 203 line-height: 2; 204 } 205 #sidebar h5 a { 206 display: block; 207 margin-left: 0; 208 margin-right: 0; 209 padding-left: 1rem; 210 padding-right: 1rem; 211 } 212 #sidebar h5 i { 213 color: rgba(204, 204, 204, 0.6); 214 position: absolute; 215 right: 0.6rem; 216 top: 0.7rem; 217 font-size: 80%; 218 } 219 #sidebar h5.parent a { 220 background: #201b24; 221 color: #d9d9d9 !important; 222 } 223 #sidebar h5.active a { 224 background: #fff; 225 color: #777 !important; 226 } 227 #sidebar h5.active i { 228 color: #777 !important; 229 } 230 #sidebar h5 + ul.topics { 231 display: none; 232 margin-top: 0; 233 } 234 #sidebar h5.parent + ul.topics, #sidebar h5.active + ul.topics { 235 display: block; 236 } 237 #sidebar ul { 238 list-style: none; 239 padding: 0; 240 margin: 0; 241 } 242 #sidebar ul.searched a { 243 color: #999999; 244 } 245 #sidebar ul.searched .search-match a { 246 color: #e6e6e6; 247 } 248 #sidebar ul.searched .search-match a:hover { 249 color: white; 250 } 251 #sidebar ul.topics { 252 margin: 0 1rem; 253 } 254 #sidebar ul.topics.searched ul { 255 display: block; 256 } 257 #sidebar ul.topics ul { 258 display: none; 259 padding-bottom: 1rem; 260 } 261 #sidebar ul.topics ul ul { 262 padding-bottom: 0; 263 } 264 #sidebar ul.topics li.parent ul, #sidebar ul.topics > li.active ul { 265 display: block; 266 } 267 #sidebar ul.topics > li > a { 268 line-height: 2rem; 269 font-size: 1.1rem; 270 } 271 #sidebar ul.topics > li > a b { 272 opacity: 0.5; 273 font-weight: normal; 274 } 275 #sidebar ul.topics > li > a .fa { 276 margin-top: 9px; 277 } 278 #sidebar ul.topics > li.parent, #sidebar ul.topics > li.active { 279 background: #251f29; 280 margin-left: -1rem; 281 margin-right: -1rem; 282 padding-left: 1rem; 283 padding-right: 1rem; 284 } 285 #sidebar ul li.active > a { 286 background: #fff; 287 color: #777 !important; 288 margin-left: -1rem; 289 margin-right: -1rem; 290 padding-left: 1rem; 291 padding-right: 1rem; 292 } 293 #sidebar ul li { 294 padding: 0; 295 } 296 #sidebar ul li.visited + span { 297 margin-right: 16px; 298 } 299 #sidebar ul li a { 300 display: block; 301 padding: 2px 0; 302 } 303 #sidebar ul li a span { 304 text-overflow: ellipsis; 305 overflow: hidden; 306 white-space: nowrap; 307 display: block; 308 } 309 #sidebar ul li > a { 310 padding: 4px 0; 311 } 312 #sidebar ul li.visited > a .read-icon { 313 color: #9c6fb6; 314 display: inline; 315 } 316 #sidebar ul li li { 317 padding-left: 1rem; 318 text-indent: 0.2rem; 319 } 320 #main { 321 background: #f7f7f7; 322 margin: 0 0 1.563rem 0; 323 } 324 #body { 325 position: relative; 326 margin-left: 300px; 327 min-height: 100%; 328 } 329 #body img, #body .video-container { 330 margin: 3rem auto; 331 display: block; 332 text-align: center; 333 } 334 #body img.border, #body .video-container.border { 335 border: 2px solid #e6e6e6 !important; 336 padding: 2px; 337 } 338 #body img.shadow, #body .video-container.shadow { 339 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 340 } 341 #body img.inline { 342 display: inline !important; 343 margin: 0 !important; 344 vertical-align: bottom; 345 } 346 #body .bordered { 347 border: 1px solid #ccc; 348 } 349 #body .padding { 350 padding: 3rem 6rem; 351 } 352 @media only all and (max-width: 59.938em) { 353 #body .padding { 354 position: static; 355 padding: 15px 3rem; 356 } 357 } 358 @media only all and (max-width: 47.938em) { 359 #body .padding { 360 padding: 5px 1rem; 361 } 362 } 363 #body h1 + hr { 364 margin-top: -1.7rem; 365 margin-bottom: 3rem; 366 } 367 @media only all and (max-width: 59.938em) { 368 #body #navigation { 369 position: static; 370 margin-right: 0 !important; 371 width: 100%; 372 display: table; 373 } 374 } 375 #body .nav { 376 position: fixed; 377 top: 0; 378 bottom: 0; 379 width: 4rem; 380 font-size: 50px; 381 height: 100%; 382 cursor: pointer; 383 display: table; 384 text-align: center; 385 } 386 #body .nav > i { 387 display: table-cell; 388 vertical-align: middle; 389 text-align: center; 390 } 391 @media only all and (max-width: 59.938em) { 392 #body .nav { 393 display: table-cell; 394 position: static; 395 top: auto; 396 width: 50%; 397 text-align: center; 398 height: 100px; 399 line-height: 100px; 400 padding-top: 0; 401 } 402 #body .nav > i { 403 display: inline-block; 404 } 405 } 406 #body .nav:hover { 407 background: #F6F6F6; 408 } 409 #body .nav.nav-pref { 410 left: 0; 411 } 412 #body .nav.nav-next { 413 right: 0; 414 } 415 #body-inner { 416 margin-bottom: 5rem; 417 } 418 #chapter { 419 display: flex; 420 align-items: center; 421 justify-content: center; 422 height: 100%; 423 padding: 2rem 0; 424 } 425 #chapter #body-inner { 426 padding-bottom: 3rem; 427 max-width: 80%; 428 } 429 #chapter h3 { 430 font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; 431 font-weight: 300; 432 text-align: center; 433 } 434 #chapter h1 { 435 font-size: 5rem; 436 border-bottom: 4px solid #F0F2F4; 437 } 438 #chapter p { 439 text-align: center; 440 font-size: 1.2rem; 441 } 442 #footer { 443 padding: 3rem 1rem; 444 color: #b3b3b3; 445 font-size: 13px; 446 } 447 #footer p { 448 margin: 0; 449 } 450 body { 451 font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; 452 font-weight: 300; 453 line-height: 1.6; 454 font-size: 18px !important; 455 } 456 h2, h3, h4, h5, h6 { 457 font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; 458 text-rendering: optimizeLegibility; 459 color: #5e5e5e; 460 font-weight: 400; 461 letter-spacing: -1px; 462 } 463 h1 { 464 font-family: "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; 465 text-align: center; 466 text-transform: uppercase; 467 color: #222; 468 font-weight: 200; 469 } 470 blockquote { 471 border-left: 10px solid #F0F2F4; 472 } 473 blockquote p { 474 font-size: 1.1rem; 475 color: #999; 476 } 477 blockquote cite { 478 display: block; 479 text-align: right; 480 color: #666; 481 font-size: 1.2rem; 482 } 483 div.notices { 484 margin: 2rem 0; 485 position: relative; 486 } 487 div.notices p { 488 padding: 15px; 489 display: block; 490 font-size: 1rem; 491 margin-top: 0rem; 492 margin-bottom: 0rem; 493 color: #666; 494 } 495 div.notices p:first-child:before { 496 position: absolute; 497 top: 2px; 498 color: #fff; 499 font-family: "Font Awesome 5 Free"; 500 font-weight: 900; 501 content: "\f06a"; 502 left: 10px; 503 } 504 div.notices p:first-child:after { 505 position: absolute; 506 top: 2px; 507 color: #fff; 508 left: 2rem; 509 } 510 div.notices.info p { 511 border-top: 30px solid #F0B37E; 512 background: #FFF2DB; 513 } 514 div.notices.info p:first-child:after { 515 content: 'Info'; 516 } 517 div.notices.warning p { 518 border-top: 30px solid rgba(217, 83, 79, 0.8); 519 background: #FAE2E2; 520 } 521 div.notices.warning p:first-child:after { 522 content: 'Warning'; 523 } 524 div.notices.note p { 525 border-top: 30px solid #6AB0DE; 526 background: #E7F2FA; 527 } 528 div.notices.note p:first-child:after { 529 content: 'Note'; 530 } 531 div.notices.tip p { 532 border-top: 30px solid rgba(92, 184, 92, 0.8); 533 background: #E6F9E6; 534 } 535 div.notices.tip p:first-child:after { 536 content: 'Tip'; 537 } 538 539 /* attachments shortcode */ 540 541 section.attachments { 542 margin: 2rem 0; 543 position: relative; 544 } 545 546 section.attachments label { 547 font-weight: 400; 548 padding-left: 0.5em; 549 padding-top: 0.2em; 550 padding-bottom: 0.2em; 551 margin: 0; 552 } 553 554 section.attachments .attachments-files { 555 padding: 15px; 556 display: block; 557 font-size: 1rem; 558 margin-top: 0rem; 559 margin-bottom: 0rem; 560 color: #666; 561 } 562 563 section.attachments.orange label { 564 color: #fff; 565 background: #F0B37E; 566 } 567 568 section.attachments.orange .attachments-files { 569 background: #FFF2DB; 570 } 571 572 section.attachments.green label { 573 color: #fff; 574 background: rgba(92, 184, 92, 0.8); 575 } 576 577 section.attachments.green .attachments-files { 578 background: #E6F9E6; 579 } 580 581 section.attachments.blue label { 582 color: #fff; 583 background: #6AB0DE; 584 } 585 586 section.attachments.blue .attachments-files { 587 background: #E7F2FA; 588 } 589 590 section.attachments.grey label { 591 color: #fff; 592 background: #505d65; 593 } 594 595 section.attachments.grey .attachments-files { 596 background: #f4f4f4; 597 } 598 599 /* Children shortcode */ 600 601 /* Children shortcode */ 602 .children p { 603 font-size: small; 604 margin-top: 0px; 605 padding-top: 0px; 606 margin-bottom: 0px; 607 padding-bottom: 0px; 608 } 609 .children-li p { 610 font-size: small; 611 font-style: italic; 612 613 } 614 .children-h2 p, .children-h3 p { 615 font-size: small; 616 margin-top: 0px; 617 padding-top: 0px; 618 margin-bottom: 0px; 619 padding-bottom: 0px; 620 } 621 .children h3,.children h2 { 622 margin-bottom: 0px; 623 margin-top: 5px; 624 } 625 626 code, kbd, pre, samp { 627 font-family: "Consolas", menlo, monospace; 628 font-size: 92%; 629 } 630 code { 631 border-radius: 2px; 632 white-space: nowrap; 633 color: #5e5e5e; 634 background: #FFF7DD; 635 border: 1px solid #fbf0cb; 636 padding: 0px 2px; 637 } 638 code + .copy-to-clipboard { 639 margin-left: -1px; 640 border-left: 0 !important; 641 font-size: inherit !important; 642 vertical-align: middle; 643 height: 21px; 644 top: 0; 645 } 646 pre { 647 padding: 1rem; 648 margin: 2rem 0; 649 background: #282c34; 650 border: 0; 651 border-radius: 2px; 652 line-height: 1.15; 653 } 654 pre code { 655 color: whitesmoke; 656 background: inherit; 657 white-space: inherit; 658 border: 0; 659 padding: 0; 660 margin: 0; 661 font-size: 15px; 662 } 663 hr { 664 border-bottom: 4px solid #F0F2F4; 665 } 666 .page-title { 667 margin-top: -25px; 668 padding: 25px; 669 float: left; 670 clear: both; 671 background: #9c6fb6; 672 color: #fff; 673 } 674 #body a.anchor-link { 675 color: #ccc; 676 } 677 #body a.anchor-link:hover { 678 color: #9c6fb6; 679 } 680 #body-inner .tabs-wrapper.ui-theme-badges { 681 background: #1d1f21; 682 } 683 #body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li { 684 font-size: 0.9rem; 685 text-transform: uppercase; 686 } 687 #body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li a { 688 background: #35393c; 689 } 690 #body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li.current a { 691 background: #4d5257; 692 } 693 #body-inner pre { 694 white-space: pre-wrap; 695 } 696 .tabs-wrapper pre { 697 margin: 1rem 0; 698 border: 0; 699 padding: 0; 700 background: inherit; 701 } 702 table { 703 border: 1px solid #eaeaea; 704 table-layout: auto; 705 } 706 th { 707 background: #f7f7f7; 708 padding: 0.5rem; 709 } 710 td { 711 padding: 0.5rem; 712 border: 1px solid #eaeaea; 713 } 714 .button { 715 background: #9c6fb6; 716 color: #fff; 717 box-shadow: 0 3px 0 #00a5d4; 718 } 719 .button:hover { 720 background: #00a5d4; 721 box-shadow: 0 3px 0 #008db6; 722 color: #fff; 723 } 724 .button:active { 725 box-shadow: 0 1px 0 #008db6; 726 } 727 .button-secondary { 728 background: #F8B450; 729 color: #fff; 730 box-shadow: 0 3px 0 #f7a733; 731 } 732 .button-secondary:hover { 733 background: #f7a733; 734 box-shadow: 0 3px 0 #f69b15; 735 color: #fff; 736 } 737 .button-secondary:active { 738 box-shadow: 0 1px 0 #f69b15; 739 } 740 .bullets { 741 margin: 1.7rem 0; 742 margin-left: -0.85rem; 743 margin-right: -0.85rem; 744 overflow: auto; 745 } 746 .bullet { 747 float: left; 748 padding: 0 0.85rem; 749 } 750 .two-column-bullet { 751 width: 50%; 752 } 753 @media only all and (max-width: 47.938em) { 754 .two-column-bullet { 755 width: 100%; 756 } 757 } 758 .three-column-bullet { 759 width: 33.33333%; 760 } 761 @media only all and (max-width: 47.938em) { 762 .three-column-bullet { 763 width: 100%; 764 } 765 } 766 .four-column-bullet { 767 width: 25%; 768 } 769 @media only all and (max-width: 47.938em) { 770 .four-column-bullet { 771 width: 100%; 772 } 773 } 774 .bullet-icon { 775 float: left; 776 background: #9c6fb6; 777 padding: 0.875rem; 778 width: 3.5rem; 779 height: 3.5rem; 780 border-radius: 50%; 781 color: #fff; 782 font-size: 1.75rem; 783 text-align: center; 784 } 785 .bullet-icon-1 { 786 background: #9c6fb6; 787 } 788 .bullet-icon-2 { 789 background: #00f3d8; 790 } 791 .bullet-icon-3 { 792 background: #e6f300; 793 } 794 .bullet-content { 795 margin-left: 4.55rem; 796 } 797 .tooltipped { 798 position: relative; 799 } 800 .tooltipped:after { 801 position: absolute; 802 z-index: 1000000; 803 display: none; 804 padding: 5px 8px; 805 font: normal normal 11px/1.5 "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; 806 color: #fff; 807 text-align: center; 808 text-decoration: none; 809 text-shadow: none; 810 text-transform: none; 811 letter-spacing: normal; 812 word-wrap: break-word; 813 white-space: pre; 814 pointer-events: none; 815 content: attr(aria-label); 816 background: rgba(0, 0, 0, 0.8); 817 border-radius: 3px; 818 -webkit-font-smoothing: subpixel-antialiased; 819 } 820 .tooltipped:before { 821 position: absolute; 822 z-index: 1000001; 823 display: none; 824 width: 0; 825 height: 0; 826 color: rgba(0, 0, 0, 0.8); 827 pointer-events: none; 828 content: ""; 829 border: 5px solid transparent; 830 } 831 .tooltipped:hover:before, .tooltipped:hover:after, .tooltipped:active:before, .tooltipped:active:after, .tooltipped:focus:before, .tooltipped:focus:after { 832 display: inline-block; 833 text-decoration: none; 834 } 835 .tooltipped-s:after, .tooltipped-se:after, .tooltipped-sw:after { 836 top: 100%; 837 right: 50%; 838 margin-top: 5px; 839 } 840 .tooltipped-s:before, .tooltipped-se:before, .tooltipped-sw:before { 841 top: auto; 842 right: 50%; 843 bottom: -5px; 844 margin-right: -5px; 845 border-bottom-color: rgba(0, 0, 0, 0.8); 846 } 847 .tooltipped-se:after { 848 right: auto; 849 left: 50%; 850 margin-left: -15px; 851 } 852 .tooltipped-sw:after { 853 margin-right: -15px; 854 } 855 .tooltipped-n:after, .tooltipped-ne:after, .tooltipped-nw:after { 856 right: 50%; 857 bottom: 100%; 858 margin-bottom: 5px; 859 } 860 .tooltipped-n:before, .tooltipped-ne:before, .tooltipped-nw:before { 861 top: -5px; 862 right: 50%; 863 bottom: auto; 864 margin-right: -5px; 865 border-top-color: rgba(0, 0, 0, 0.8); 866 } 867 .tooltipped-ne:after { 868 right: auto; 869 left: 50%; 870 margin-left: -15px; 871 } 872 .tooltipped-nw:after { 873 margin-right: -15px; 874 } 875 .tooltipped-s:after, .tooltipped-n:after { 876 transform: translateX(50%); 877 } 878 .tooltipped-w:after { 879 right: 100%; 880 bottom: 50%; 881 margin-right: 5px; 882 transform: translateY(50%); 883 } 884 .tooltipped-w:before { 885 top: 50%; 886 bottom: 50%; 887 left: -5px; 888 margin-top: -5px; 889 border-left-color: rgba(0, 0, 0, 0.8); 890 } 891 .tooltipped-e:after { 892 bottom: 50%; 893 left: 100%; 894 margin-left: 5px; 895 transform: translateY(50%); 896 } 897 .tooltipped-e:before { 898 top: 50%; 899 right: -5px; 900 bottom: 50%; 901 margin-top: -5px; 902 border-right-color: rgba(0, 0, 0, 0.8); 903 } 904 .highlightable { 905 padding: 1rem 0 1rem; 906 overflow: auto; 907 position: relative; 908 } 909 .hljs::selection, .hljs span::selection { 910 background: #b7b7b7; 911 } 912 .lightbox-active #body { 913 overflow: visible; 914 } 915 .lightbox-active #body .padding { 916 overflow: visible; 917 } 918 #github-contrib i { 919 vertical-align: middle; 920 } 921 .featherlight img { 922 margin: 0 !important; 923 } 924 .lifecycle #body-inner ul { 925 list-style: none; 926 margin: 0; 927 padding: 2rem 0 0; 928 position: relative; 929 } 930 .lifecycle #body-inner ol { 931 margin: 1rem 0 1rem 0; 932 padding: 2rem; 933 position: relative; 934 } 935 .lifecycle #body-inner ol li { 936 margin-left: 1rem; 937 } 938 .lifecycle #body-inner ol strong, .lifecycle #body-inner ol label, .lifecycle #body-inner ol th { 939 text-decoration: underline; 940 } 941 .lifecycle #body-inner ol ol { 942 margin-left: -1rem; 943 } 944 .lifecycle #body-inner h3[class*='level'] { 945 font-size: 20px; 946 position: absolute; 947 margin: 0; 948 padding: 4px 10px; 949 right: 0; 950 z-index: 1000; 951 color: #fff; 952 background: #1ABC9C; 953 } 954 .lifecycle #body-inner ol h3 { 955 margin-top: 1rem !important; 956 right: 2rem !important; 957 } 958 .lifecycle #body-inner .level-1 + ol { 959 background: #f6fefc; 960 border: 4px solid #1ABC9C; 961 color: #16A085; 962 } 963 .lifecycle #body-inner .level-1 + ol h3 { 964 background: #2ECC71; 965 } 966 .lifecycle #body-inner .level-2 + ol { 967 background: #f7fdf9; 968 border: 4px solid #2ECC71; 969 color: #27AE60; 970 } 971 .lifecycle #body-inner .level-2 + ol h3 { 972 background: #3498DB; 973 } 974 .lifecycle #body-inner .level-3 + ol { 975 background: #f3f9fd; 976 border: 4px solid #3498DB; 977 color: #2980B9; 978 } 979 .lifecycle #body-inner .level-3 + ol h3 { 980 background: #34495E; 981 } 982 .lifecycle #body-inner .level-4 + ol { 983 background: #e4eaf0; 984 border: 4px solid #34495E; 985 color: #2C3E50; 986 } 987 .lifecycle #body-inner .level-4 + ol h3 { 988 background: #34495E; 989 } 990 #top-bar { 991 background: #F6F6F6; 992 border-radius: 2px; 993 padding: 0 1rem; 994 height: 0; 995 min-height: 3rem; 996 } 997 #top-github-link { 998 position: relative; 999 z-index: 1; 1000 float: right; 1001 display: block; 1002 } 1003 #body #breadcrumbs { 1004 height: auto; 1005 margin-bottom: 0; 1006 padding-left: 0; 1007 line-height: 1.4; 1008 overflow: hidden; 1009 white-space: nowrap; 1010 text-overflow: ellipsis; 1011 width: 70%; 1012 display: inline-block; 1013 float: left; 1014 } 1015 #body #breadcrumbs span { 1016 padding: 0 0.1rem; 1017 } 1018 @media only all and (max-width: 59.938em) { 1019 #sidebar { 1020 width: 230px; 1021 } 1022 #body { 1023 margin-left: 230px; 1024 } 1025 } 1026 @media only all and (max-width: 47.938em) { 1027 #sidebar { 1028 width: 230px; 1029 left: -230px; 1030 } 1031 #body { 1032 margin-left: 0; 1033 width: 100%; 1034 } 1035 .sidebar-hidden { 1036 overflow: hidden; 1037 } 1038 .sidebar-hidden #sidebar { 1039 left: 0; 1040 } 1041 .sidebar-hidden #body { 1042 margin-left: 230px; 1043 overflow: hidden; 1044 } 1045 .sidebar-hidden #overlay { 1046 position: absolute; 1047 left: 0; 1048 right: 0; 1049 top: 0; 1050 bottom: 0; 1051 z-index: 10; 1052 background: rgba(255, 255, 255, 0.5); 1053 cursor: pointer; 1054 } 1055 } 1056 .copy-to-clipboard { 1057 background-image: url(../images/clippy.svg); 1058 background-position: 50% 50%; 1059 background-size: 16px 16px; 1060 background-repeat: no-repeat; 1061 width: 27px; 1062 height: 1.45rem; 1063 top: -1px; 1064 display: inline-block; 1065 vertical-align: middle; 1066 position: relative; 1067 color: #5e5e5e; 1068 background-color: #FFF7DD; 1069 margin-left: -.2rem; 1070 cursor: pointer; 1071 border-radius: 0 2px 2px 0; 1072 margin-bottom: 1px; 1073 } 1074 .copy-to-clipboard:hover { 1075 background-color: #E8E2CD; 1076 } 1077 pre .copy-to-clipboard { 1078 position: absolute; 1079 right: 4px; 1080 top: 4px; 1081 background-color: #949bab; 1082 color: #ccc; 1083 border-radius: 2px; 1084 } 1085 pre .copy-to-clipboard:hover { 1086 background-color: #656c72; 1087 color: #fff; 1088 } 1089 .parent-element { 1090 -webkit-transform-style: preserve-3d; 1091 -moz-transform-style: preserve-3d; 1092 transform-style: preserve-3d; 1093 } 1094 1095 #sidebar ul.topics > li > a .read-icon { 1096 margin-top: 9px; 1097 } 1098 1099 #sidebar ul { 1100 list-style: none; 1101 padding: 0; 1102 margin: 0; 1103 } 1104 1105 #sidebar #shortcuts li { 1106 padding: 2px 0; 1107 list-style: none; 1108 } 1109 1110 #sidebar ul li .read-icon { 1111 display: none; 1112 float: right; 1113 font-size: 13px; 1114 min-width: 16px; 1115 margin: 4px 0 0 0; 1116 text-align: right; 1117 } 1118 #sidebar ul li.visited > a .read-icon { 1119 color: #00bdf3; 1120 display: inline; 1121 } 1122 1123 #sidebar #shortcuts h3 { 1124 font-family: "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; 1125 color: white ; 1126 margin-top:1rem; 1127 padding-left: 1rem; 1128 } 1129 1130 #searchResults { 1131 text-align: left; 1132 } 1133 1134 option { 1135 color: initial; 1136 }