|
60 | 60 | .doc h4 > a.anchor, |
61 | 61 | .doc h5 > a.anchor, |
62 | 62 | .doc h6 > a.anchor { |
63 | | - color: var(--color-brand-red); |
64 | | - background-image: linear-gradient(-45deg, var(--color-brand-purple), var(--color-brand-red) 75%); |
| 63 | + color: var(--color-brand-blue-secondary); |
| 64 | + /* background-image: linear-gradient(-45deg, var(--color-brand-purple), var(--color-brand-red) 75%); |
65 | 65 | background-clip: text; |
66 | | - -webkit-text-fill-color: transparent; |
| 66 | + -webkit-text-fill-color: transparent; */ |
67 | 67 | font-weight: var(--weight-normal); |
68 | 68 | position: absolute; |
69 | 69 | text-decoration: none; |
70 | 70 | width: 2ex; |
71 | | - margin-left: -1.75ex; |
| 71 | + margin-left: -2ex; |
72 | 72 | visibility: hidden; |
73 | | - transform: scale(0.9); |
| 73 | + transform: scale(0.75); |
74 | 74 | text-align: center; |
| 75 | + font-size: 30px; |
75 | 76 | } |
76 | 77 |
|
77 | 78 | .doc h1 a.anchor::before, |
|
80 | 81 | .doc h4 a.anchor::before, |
81 | 82 | .doc h5 a.anchor::before, |
82 | 83 | .doc h6 a.anchor::before { |
83 | | - content: "\00a7"; |
| 84 | + content: "\f0c1"; |
| 85 | + font-family: "Font Awesome 5 Free"; font-weight: 900; |
84 | 86 | } |
85 | 87 |
|
86 | 88 | .doc h1:hover a.anchor, |
|
507 | 509 |
|
508 | 510 | /* NOTE assume pre.highlight contains code[data-lang] */ |
509 | 511 |
|
510 | | -.doc pre.highlight code::after, |
| 512 | +/* .doc pre.highlight code::after, |
511 | 513 | .doc pre:not(.highlight)::after{ |
512 | 514 | content: ''; |
513 | 515 | display: inline-block; |
|
517 | 519 | position: absolute; |
518 | 520 | right: 0; |
519 | 521 | top: 0; |
520 | | -} |
| 522 | +} */ |
521 | 523 |
|
522 | 524 | .doc pre.highlight { |
523 | 525 | position: relative; |
|
533 | 535 | color: var(--hljs-number); |
534 | 536 | } |
535 | 537 |
|
536 | | -.doc .listingblock code[data-lang]::before { |
| 538 | +/* .doc .listingblock code[data-lang]::before { |
537 | 539 | content: attr(data-lang); |
538 | | - color: var("--color-brand-gray1") /*#f8f8f2*/; |
| 540 | + color: var("--color-brand-gray1"); |
539 | 541 | display: none; |
540 | 542 | font-size: 0.75rem; |
541 | 543 | font-weight: var(--weight-normal); |
|
554 | 556 | display: block; |
555 | 557 | } |
556 | 558 |
|
| 559 | +*/ |
| 560 | + |
| 561 | +.doc .listingblock code[data-lang] + .data-source { |
| 562 | + content: attr(data-lang); |
| 563 | + color: var("--color-brand-gray1"); |
| 564 | + display: none; |
| 565 | + font-size: 0.75rem; |
| 566 | + font-weight: var(--weight-normal); |
| 567 | + letter-spacing: 1px; |
| 568 | + line-height: 18px; |
| 569 | + text-transform: uppercase; |
| 570 | + position: absolute; |
| 571 | + top: 0.375rem; |
| 572 | + right: 2rem; |
| 573 | + font-family: "Source Sans Pro", sans-serif; |
| 574 | + padding-right: 6px; |
| 575 | + border-right: 1px solid var(--color-brand-gray9); |
| 576 | +} |
| 577 | + |
| 578 | +.doc .listingblock:hover code[data-lang] + .data-source { |
| 579 | + display: block; |
| 580 | +} |
| 581 | + |
| 582 | +.doc .listingblock pre .fade-shadow { |
| 583 | + content: ''; |
| 584 | + display: inline-block; |
| 585 | + background: transparent linear-gradient(180deg, #F1F7FE0D 0%, #F1F7FE40 18%, #F1F7FE 68%, #F1F7FE 100%) 0% 0% no-repeat padding-box; |
| 586 | + width: 65px; |
| 587 | + height: 80%; |
| 588 | + position: absolute; |
| 589 | + right: 0; |
| 590 | + top: 0; |
| 591 | +} |
| 592 | + |
| 593 | +code.language-console.hljs.shell{ |
| 594 | + white-space: nowrap; |
| 595 | + overflow-x: auto; |
| 596 | +} |
| 597 | + |
557 | 598 | .doc .dlist { |
558 | 599 | margin: 1.5rem 0; |
559 | 600 | } |
|
0 commit comments