16 margin-top: $-xxl*1.4;
17 @include smaller-than($screen-lg) {
23 margin-bottom: $-xxl*1.4;
24 @include smaller-than($screen-lg) {
29 .screenshot-container-parent {
32 perspective-origin: 50% 50%;
35 @keyframes slow-rotate {
37 transform: rotateY(-10deg);
40 transform: rotateY(0deg);
44 .screenshot-container {
45 animation: slow-rotate ease-in-out 1s;
47 display: inline-block;
49 box-shadow: 0 0 12px 0px rgba(0, 0, 0, 0.2);
50 border: 3px solid #DDD;
52 transform: rotateY(0) translateX(0);
53 transform-style: preserve-3d;
54 transition: all ease-in-out 280ms;
55 transform-origin: 50% 50%;
58 transform: rotateY(-10deg) translateX(20px);
59 box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
63 background-color: #DDD;
66 display: inline-block;
67 background-color: red;
74 @include smaller-than($screen-lg) {
90 justify-content: center;
102 display: inline-block;
110 display: inline-block;
124 text-decoration: underline;
127 @include smaller-than($xl) {
143 footer, .shaded-border {
144 border-top: 1px solid #DDD;
160 display: inline-block;
168 padding: $-xs*1.2 $-s;
171 border: 1px solid #DDD;
176 display: inline-block;
178 border: 1px solid #DDD;
185 border: 1px solid #DDD;
187 box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.1);
188 transform: translate3d(0, 0, 0);
189 transition: all cubic-bezier(.62, .28, .23, .99) 160ms;
191 transform: translate3d(0, -6px, 0);
192 box-shadow: 0 5px 10px 1px rgba(0, 0, 0, 0.1);
196 margin-bottom: .5rem;
205 padding-bottom: $-xxl;
208 display: inline-block;
213 border: 2px solid #DDD;
215 transition: all ease-in-out 120ms;
221 transition: all ease-in-out 120ms;
228 border-color: $primary;
230 text-decoration: none;
236 border: 1px solid $primary;
247 .docs-section-title {
253 .sidebar, .docs-index {
280 justify-content: left;
284 border-right: 2px dotted #E5E5E5;
290 .sidebar-inner.mobile {
295 @include larger-than($l) {
303 .sidebar-inner.mobile {
331 background-color: #FFF;
334 box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.1);
352 box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.15);
362 header input[type="search"] {
363 background-color: transparent;
364 border: 2px solid #FFF;
366 background-color: transparent;
372 &::-webkit-input-placeholder { /* Chrome */
373 color: rgba(255, 255, 255, 0.7);
375 &::-moz-placeholder { /* Firefox 19+ */
376 color: rgba(255, 255, 255, 0.7);
379 &:-moz-placeholder { /* Firefox 4 - 18 */
380 color: rgba(255, 255, 255, 0.7);
390 #site-search-form dialog {
397 background-color: #FFF;
398 box-shadow: 0 2px 12px 1px rgba(0, 0, 0, 0.2);
405 padding: 0.25rem 1rem 0.25rem 2rem;
406 border-bottom: 1px solid #EEE;
412 text-decoration: none;
413 background-color: rgba($primary, 0.1);
418 strong.search-category-title {
419 padding: .5rem 1rem .25rem 1rem;
426 // Loader from https://loading.io/css/
440 background: $primary;
441 animation-timing-function: cubic-bezier(0, 1, 1, 0);
443 .lds-ellipsis div:nth-child(1) {
445 animation: lds-ellipsis1 0.6s infinite;
447 .lds-ellipsis div:nth-child(2) {
449 animation: lds-ellipsis2 0.6s infinite;
451 .lds-ellipsis div:nth-child(3) {
453 animation: lds-ellipsis2 0.6s infinite;
455 .lds-ellipsis div:nth-child(4) {
457 animation: lds-ellipsis3 0.6s infinite;
459 @keyframes lds-ellipsis1 {
467 @keyframes lds-ellipsis3 {
475 @keyframes lds-ellipsis2 {
477 transform: translate(0, 0);
480 transform: translate(24px, 0);
484 .youtube-embed-wrap {
487 iframe[src^="https://www.youtube-nocookie.com"],
488 .youtube-embed-wrap a {
494 box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
495 background-color: #222;
498 .youtube-embed-wrap a {
502 .youtube-embed-wrap a::before,
503 .youtube-embed-wrap a::after {
509 transition: opacity ease-in-out 120ms;
511 .youtube-embed-wrap a::before {
512 background-color: $primary;
515 .youtube-embed-wrap a::after {
516 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48' fill='%23FFFFFF'%3E%3Cpath d='M19.15 32.5 32.5 24l-13.35-8.5ZM24 44q-4.1 0-7.75-1.575-3.65-1.575-6.375-4.3-2.725-2.725-4.3-6.375Q4 28.1 4 24q0-4.15 1.575-7.8 1.575-3.65 4.3-6.35 2.725-2.7 6.375-4.275Q19.9 4 24 4q4.15 0 7.8 1.575 3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 4.1-1.575 7.75-1.575 3.65-4.275 6.375t-6.35 4.3Q28.15 44 24 44Zm0-3q7.1 0 12.05-4.975Q41 31.05 41 24q0-7.1-4.95-12.05Q31.1 7 24 7q-7.05 0-12.025 4.95Q7 16.9 7 24q0 7.05 4.975 12.025Q16.95 41 24 41Zm0-17Z'/%3E%3C/svg%3E");
517 background-repeat: no-repeat;
519 background-position: 50% 50%;
520 background-size: 100px 100px;
522 .youtube-embed-wrap a:hover::before {
525 .youtube-embed-wrap a:hover::after {
528 .youtube-embed-wrap a img {
538 justify-content: center;
541 // align-items: flex-start;
543 @include smaller-than(1200px) {
551 box-shadow: 0 1px 4px 0 rgba(94, 94, 94, 0.26);
556 flex-direction: column;
558 .price-table-item, .price-table-header, .price-table-action {
562 border-bottom: 1px solid #EEE;
566 .price-table-item:before {
568 background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23329f71"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
576 .price-table-item.price-table-item-negative:before {
577 background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23888888"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"/></svg>');
579 .price-table-item-highlight {
582 .price-table-item-highlight small {
585 .price-table-header {
586 background-color: rgba($primary, 0.1);
588 .price-table-header h3 {
593 .price-table-header .price {
596 margin-bottom: .5rem;
598 .price-table-action {
600 background-color: rgba($primary, 0.1);
604 .price-table-action a {
610 grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
615 border: 1px solid #DDD;
625 background-color: rgba($primary, 0.1);
629 background-color: rgba($primary, 0.1);
630 text-decoration: none;
631 border-color: #e5f1f8;
633 .content-card-item-title {
643 .dual-column-dual-level-toc {
658 @include smaller-than($s) {
670 margin-bottom: 1.2rem;
672 display: inline-block;
681 margin-bottom: .5rem;
689 background-color: #FFF;
690 border: 1.5px solid #e2e2e2;
691 box-shadow: 0 1px 3px 0 rgba(0,0,0,.1);
702 summary::-webkit-details-marker {
709 justify-content: space-between;
712 .hack-file-block-filename {
717 display: inline-block;
722 details[open] .hack-file-block-filename:before {
725 .hack-file-block-type {
728 .hack-file-block-type a {
729 display: inline-flex;
732 padding: .4rem .5rem;
739 background-color: #fce7d8;
740 border: 1px solid #ed7721;
743 margin: 1.5rem 0 0 0;
761 background-color: #FFF;
762 border: 1.5px solid #e2e2e2;
763 box-shadow: 0 1px 3px 0 rgba(0,0,0,.1);
765 text-decoration: none;
767 flex-direction: column;
778 display: -webkit-box;
780 -webkit-line-clamp: 2;
781 -webkit-box-orient: vertical;
783 margin-bottom: .5rem;
795 text-decoration: none;
796 box-shadow: 0 2px 8px 0 rgba(0,0,0,.15);
800 text-decoration: underline;