|
| 1 | +/* .highlight { |
| 2 | + --md-code-bg-color:hsla(232,15%,15%,1); |
| 3 | + --md-code-fg-color: hsla(232,18%,86%,1); |
| 4 | + --md-code-hl-color: rgba(66,135,255,0.15); |
| 5 | + --md-code-hl-number-color: #e6695b; |
| 6 | + --md-code-hl-special-color: #f06090; |
| 7 | + --md-code-hl-function-color: #c973d9; |
| 8 | + --md-code-hl-constant-color: #9383e2; |
| 9 | + --md-code-hl-keyword-color: #6791e0; |
| 10 | + --md-code-hl-string-color: #2fb170; |
| 11 | + --md-code-hl-name-color:hsla(232,18%,86%,1); |
| 12 | + --md-code-hl-operator-color:hsla(232,75%,90%,0.62); |
| 13 | + --md-code-hl-punctuation-color:hsla(232,75%,90%,0.62); |
| 14 | + --md-code-hl-comment-color:hsla(232,75%,90%,0.62); |
| 15 | + --md-code-hl-generic-color: hsla(232,75%,90%,0.62); |
| 16 | + --md-code-hl-variable-color: hsla(232,75%,90%,0.62); |
| 17 | +} */ |
| 18 | + |
| 19 | +.highlight { |
| 20 | + --md-code-bg-color: #252A37; /* Dark background */ |
| 21 | + --md-code-fg-color: #d4d4d4; /* Default foreground text */ |
| 22 | + --md-code-hl-color: #264f78; /* Line highlight background */ |
| 23 | + --md-code-hl-number-color: #b5cea8; /* Number color */ |
| 24 | + --md-code-hl-special-color: #569cd6; /* Special character color */ |
| 25 | + --md-code-hl-function-color: #dcdcaa; /* Function name color */ |
| 26 | + --md-code-hl-constant-color: #4ec9b0; /* Constant color */ |
| 27 | + --md-code-hl-keyword-color: #c586c0; /* Keyword color */ |
| 28 | + --md-code-hl-string-color: #ce9178; /* String color */ |
| 29 | + --md-code-hl-name-color: #9cdcfe; /* Variable and other names */ |
| 30 | + --md-code-hl-operator-color: #d4d4d4; /* Operator color */ |
| 31 | + --md-code-hl-punctuation-color: #d4d4d4; /* Punctuation color */ |
| 32 | + --md-code-hl-comment-color: #6a9955; /* Comment color */ |
| 33 | + --md-code-hl-generic-color: #d4d4d4; /* Generic text color */ |
| 34 | + --md-code-hl-variable-color: #9CDCFE; /* Variable color */ |
| 35 | +} |
| 36 | + |
| 37 | +.highlight pre code { |
| 38 | + border-radius: 8px; |
| 39 | + padding: 16px; |
| 40 | +} |
| 41 | + |
| 42 | +.highlight :is(.nx) { |
| 43 | + color: #4EC9B0; |
| 44 | +} |
| 45 | + |
| 46 | +.highlight :is(.na) { |
| 47 | + color: #DCDCAA; |
| 48 | +} |
| 49 | + |
| 50 | +.md-typeset h3 code, .md-typeset h2 code { |
| 51 | + background-color: rgb(62, 97, 230); |
| 52 | + color: #fff; |
| 53 | + padding: 4px 10px; |
| 54 | +} |
| 55 | + |
| 56 | +.video-wrapper { |
| 57 | + position: relative; |
| 58 | + display: block; |
| 59 | + height: 0; |
| 60 | + padding: 0; |
| 61 | + overflow: hidden; |
| 62 | + padding-bottom: 56.25%; |
| 63 | +} |
| 64 | +.video-wrapper > iframe { |
| 65 | + position: absolute; |
| 66 | + top: 0; |
| 67 | + bottom: 0; |
| 68 | + left: 0; |
| 69 | + width: 100%; |
| 70 | + height: 100%; |
| 71 | + border: 0; |
| 72 | +} |
| 73 | + |
| 74 | +constant { |
| 75 | + font-family: monospace; |
| 76 | + background-color: #d5e8ff; |
| 77 | + font-size: 0.7rem; |
| 78 | + color: 333; |
| 79 | + padding: 3px 5px; |
| 80 | + border-radius: 4px; |
| 81 | +} |
| 82 | + |
| 83 | +.md-content a { |
| 84 | + font-weight: bold; |
| 85 | +} |
| 86 | + |
| 87 | +/* Homepage stuff */ |
| 88 | + |
| 89 | + |
| 90 | +.mdx-expect { |
| 91 | + margin:2.4rem 0 |
| 92 | +} |
| 93 | + |
| 94 | +.mdx-expect__list { |
| 95 | + display: flex; |
| 96 | + flex-flow: row wrap; |
| 97 | + gap: 1.6rem; |
| 98 | + padding:0 |
| 99 | +} |
| 100 | + |
| 101 | +.mdx-expect__item { |
| 102 | + display: flex; |
| 103 | + flex: 1 0 48%; |
| 104 | + gap: .6rem; |
| 105 | + margin: 0; |
| 106 | + transition:transform .75s cubic-bezier(.075, .85, .175, 1), opacity .75s |
| 107 | +} |
| 108 | + |
| 109 | +.mdx-expect__item:first-child { |
| 110 | + transition-delay:.2s |
| 111 | +} |
| 112 | + |
| 113 | +.mdx-expect__item:nth-child(2) { |
| 114 | + transition-delay:275ms |
| 115 | +} |
| 116 | + |
| 117 | +.mdx-expect__item:nth-child(3) { |
| 118 | + transition-delay:.35s |
| 119 | +} |
| 120 | + |
| 121 | +.mdx-expect__item:nth-child(4) { |
| 122 | + transition-delay:425ms |
| 123 | +} |
| 124 | + |
| 125 | +.mdx-expect__item:nth-child(5) { |
| 126 | + transition-delay:.5s |
| 127 | +} |
| 128 | + |
| 129 | +.mdx-expect__item:nth-child(6) { |
| 130 | + transition-delay:575ms |
| 131 | +} |
| 132 | + |
| 133 | + |
| 134 | +.mdx-expect__icon { |
| 135 | + fill: currentcolor; |
| 136 | + background-color: var(--md-default-fg-color--lightest); |
| 137 | + border-radius: 100%; |
| 138 | + flex-shrink: 0; |
| 139 | + height: 2.2rem; |
| 140 | + padding: .4rem; |
| 141 | + width:2.2rem |
| 142 | +} |
| 143 | + |
| 144 | +.mdx-expect__description > :last-child { |
| 145 | + margin-bottom:0 |
| 146 | +} |
| 147 | + |
| 148 | +@media screen and (max-width: 76.234375em) { |
| 149 | + .mdx-expect__description > :last-child { |
| 150 | + margin-left:-2.8rem |
| 151 | + } |
| 152 | +} |
0 commit comments