|
| 1 | +:root { |
| 2 | + color-scheme: dark; |
| 3 | + --nextra-primary-hue: 39deg; |
| 4 | + --nextra-primary-saturation: 78%; |
| 5 | + --nextra-primary-lightness: 58%; |
| 6 | + --nextra-bg: 15, 13, 10; |
| 7 | + --nextra-content-width: 90rem; |
| 8 | + --font-body-fallback: |
| 9 | + "Manrope", "Segoe UI", "Helvetica Neue", sans-serif; |
| 10 | + --font-heading-fallback: |
| 11 | + "Cormorant Garamond", "Times New Roman", serif; |
| 12 | + --site-bg: #0f0d0a; |
| 13 | + --site-panel: #17120c; |
| 14 | + --site-panel-strong: #21180f; |
| 15 | + --site-text: #f6eedf; |
| 16 | + --site-text-soft: #d0c7b3; |
| 17 | + --site-gold: #dfb567; |
| 18 | + --site-gold-strong: #f2d081; |
| 19 | + --site-line: rgba(223, 181, 103, 0.18); |
| 20 | +} |
| 21 | + |
| 22 | +.dark, |
| 23 | +html[data-theme="dark"] { |
| 24 | + --nextra-primary-hue: 39deg; |
| 25 | + --nextra-primary-saturation: 78%; |
| 26 | + --nextra-primary-lightness: 58%; |
| 27 | + --nextra-bg: 15, 13, 10; |
| 28 | +} |
| 29 | + |
| 30 | +html, |
| 31 | +body { |
| 32 | + min-height: 100%; |
| 33 | +} |
| 34 | + |
| 35 | +html { |
| 36 | + background: rgb(var(--nextra-bg)); |
| 37 | + background: |
| 38 | + radial-gradient(circle at top right, rgba(210, 161, 68, 0.18), transparent 25%), |
| 39 | + linear-gradient(180deg, #16110b 0%, #0f0d0a 100%); |
| 40 | +} |
| 41 | + |
| 42 | +body { |
| 43 | + margin: 0; |
| 44 | + background: transparent; |
| 45 | + color: var(--site-text); |
| 46 | + font-family: var(--font-body), var(--font-body-fallback); |
| 47 | +} |
| 48 | + |
| 49 | +::selection { |
| 50 | + background: hsla(var(--nextra-primary-hue), var(--nextra-primary-saturation), var(--nextra-primary-lightness), 0.3); |
| 51 | +} |
| 52 | + |
| 53 | +a { |
| 54 | + color: var(--site-gold-strong); |
| 55 | +} |
| 56 | + |
| 57 | +code, |
| 58 | +pre, |
| 59 | +kbd, |
| 60 | +samp { |
| 61 | + font-family: |
| 62 | + "JetBrains Mono", "SFMono-Regular", "SF Mono", "Menlo", monospace; |
| 63 | +} |
| 64 | + |
| 65 | +.brand-lockup { |
| 66 | + display: inline-flex; |
| 67 | + align-items: center; |
| 68 | + gap: 0.75rem; |
| 69 | +} |
| 70 | + |
| 71 | +.brand-mark { |
| 72 | + width: 0.95rem; |
| 73 | + height: 0.95rem; |
| 74 | + border-radius: 999px; |
| 75 | + background: |
| 76 | + radial-gradient(circle at 30% 30%, #ffdc94, #d39d3f 62%, #6a4f23 100%); |
| 77 | + box-shadow: |
| 78 | + 0 0 0 1px rgba(255, 229, 170, 0.15), |
| 79 | + 0 0 22px rgba(223, 181, 103, 0.38); |
| 80 | +} |
| 81 | + |
| 82 | +.brand-text { |
| 83 | + display: grid; |
| 84 | + line-height: 1; |
| 85 | +} |
| 86 | + |
| 87 | +.brand-text strong { |
| 88 | + color: var(--site-text); |
| 89 | + font-size: 0.98rem; |
| 90 | + font-weight: 800; |
| 91 | + letter-spacing: 0.02em; |
| 92 | +} |
| 93 | + |
| 94 | +.brand-text span { |
| 95 | + color: #be9a59; |
| 96 | + font-size: 0.72rem; |
| 97 | + font-weight: 700; |
| 98 | + letter-spacing: 0.14em; |
| 99 | + text-transform: uppercase; |
| 100 | +} |
| 101 | + |
| 102 | +.footer-grid { |
| 103 | + display: flex; |
| 104 | + flex-wrap: wrap; |
| 105 | + justify-content: space-between; |
| 106 | + gap: 0.75rem; |
| 107 | + width: 100%; |
| 108 | +} |
| 109 | + |
| 110 | +.footer-grid a { |
| 111 | + color: var(--site-gold-strong); |
| 112 | +} |
| 113 | + |
| 114 | +html.dark .nextra-nav-container, |
| 115 | +html[data-theme="dark"] .nextra-nav-container { |
| 116 | + background: linear-gradient(180deg, rgba(15, 13, 10, 0.88), rgba(15, 13, 10, 0.6)) !important; |
| 117 | + backdrop-filter: blur(14px); |
| 118 | +} |
| 119 | + |
| 120 | +html.dark .nextra-sidebar, |
| 121 | +html[data-theme="dark"] .nextra-sidebar { |
| 122 | + background: |
| 123 | + linear-gradient(180deg, rgba(20, 16, 11, 0.96), rgba(15, 13, 10, 0.92)) !important; |
| 124 | +} |
| 125 | + |
| 126 | +html.dark .nextra-body-typesetting-article h1, |
| 127 | +html.dark .nextra-body-typesetting-default h1, |
| 128 | +html.dark .nextra-body-typesetting-article h2, |
| 129 | +html.dark .nextra-body-typesetting-default h2, |
| 130 | +html.dark .nextra-body-typesetting-article h3, |
| 131 | +html.dark .nextra-body-typesetting-default h3, |
| 132 | +html[data-theme="dark"] .nextra-body-typesetting-article h1, |
| 133 | +html[data-theme="dark"] .nextra-body-typesetting-default h1, |
| 134 | +html[data-theme="dark"] .nextra-body-typesetting-article h2, |
| 135 | +html[data-theme="dark"] .nextra-body-typesetting-default h2, |
| 136 | +html[data-theme="dark"] .nextra-body-typesetting-article h3, |
| 137 | +html[data-theme="dark"] .nextra-body-typesetting-default h3 { |
| 138 | + font-family: var(--font-heading), var(--font-heading-fallback); |
| 139 | + color: #f7eede; |
| 140 | + letter-spacing: -0.03em; |
| 141 | +} |
| 142 | + |
| 143 | +html.dark .nextra-body-typesetting-default, |
| 144 | +html.dark .nextra-body-typesetting-article, |
| 145 | +html[data-theme="dark"] .nextra-body-typesetting-default, |
| 146 | +html[data-theme="dark"] .nextra-body-typesetting-article { |
| 147 | + color: var(--site-text-soft); |
| 148 | +} |
| 149 | + |
| 150 | +html.dark .nextra-body-typesetting-default a, |
| 151 | +html.dark .nextra-body-typesetting-article a, |
| 152 | +html[data-theme="dark"] .nextra-body-typesetting-default a, |
| 153 | +html[data-theme="dark"] .nextra-body-typesetting-article a { |
| 154 | + color: #f1ca72; |
| 155 | +} |
| 156 | + |
| 157 | +html.dark .nextra-body-typesetting-default code, |
| 158 | +html.dark .nextra-body-typesetting-article code, |
| 159 | +html[data-theme="dark"] .nextra-body-typesetting-default code, |
| 160 | +html[data-theme="dark"] .nextra-body-typesetting-article code { |
| 161 | + background: rgba(248, 214, 133, 0.08); |
| 162 | + border: 1px solid rgba(248, 214, 133, 0.12); |
| 163 | +} |
| 164 | + |
| 165 | +html.dark .nextra-toc, |
| 166 | +html.dark .nextra-sidebar-container, |
| 167 | +html.dark .nextra-search, |
| 168 | +html[data-theme="dark"] .nextra-toc, |
| 169 | +html[data-theme="dark"] .nextra-sidebar-container, |
| 170 | +html[data-theme="dark"] .nextra-search { |
| 171 | + --tw-border-opacity: 1; |
| 172 | + border-color: var(--site-line) !important; |
| 173 | +} |
| 174 | + |
| 175 | +html.dark .nextra-callout, |
| 176 | +html[data-theme="dark"] .nextra-callout { |
| 177 | + border-color: rgba(223, 181, 103, 0.28) !important; |
| 178 | + background: rgba(255, 240, 196, 0.04) !important; |
| 179 | +} |
| 180 | + |
| 181 | +html.dark .nextra-filetree, |
| 182 | +html.dark .nextra-cards, |
| 183 | +html.dark .nextra-steps, |
| 184 | +html[data-theme="dark"] .nextra-filetree, |
| 185 | +html[data-theme="dark"] .nextra-cards, |
| 186 | +html[data-theme="dark"] .nextra-steps { |
| 187 | + border-color: var(--site-line); |
| 188 | +} |
| 189 | + |
| 190 | +html.dark .nextra-scrollbar, |
| 191 | +html[data-theme="dark"] .nextra-scrollbar { |
| 192 | + scrollbar-color: rgba(223, 181, 103, 0.28) transparent; |
| 193 | +} |
| 194 | + |
| 195 | +button[title*="theme"], |
| 196 | +button[title*="Theme"] { |
| 197 | + display: none !important; |
| 198 | +} |
0 commit comments