|
17 | 17 | --site-gold: #dfb567; |
18 | 18 | --site-gold-strong: #f2d081; |
19 | 19 | --site-line: rgba(223, 181, 103, 0.18); |
| 20 | + --site-shell-max: 120rem; |
20 | 21 | --site-scrollbar-track: rgba(255, 243, 208, 0.035); |
21 | 22 | --site-scrollbar-thumb: rgba(223, 181, 103, 0.56); |
22 | 23 | --site-scrollbar-thumb-strong: rgba(242, 208, 129, 0.76); |
@@ -258,6 +259,24 @@ html[data-theme="dark"] .nextra-sidebar { |
258 | 259 | } |
259 | 260 | } |
260 | 261 |
|
| 262 | +@media (min-width: 2000px) { |
| 263 | + html.dark nav[class*="x:max-w-(--nextra-content-width)"], |
| 264 | + html[data-theme="dark"] nav[class*="x:max-w-(--nextra-content-width)"] { |
| 265 | + width: min(100%, var(--site-shell-max)); |
| 266 | + max-width: var(--site-shell-max) !important; |
| 267 | + margin-left: auto; |
| 268 | + margin-right: auto; |
| 269 | + } |
| 270 | + |
| 271 | + html.dark body > div[class*="x:max-w-(--nextra-content-width)"], |
| 272 | + html[data-theme="dark"] body > div[class*="x:max-w-(--nextra-content-width)"] { |
| 273 | + width: min(100%, var(--site-shell-max)); |
| 274 | + max-width: var(--site-shell-max) !important; |
| 275 | + margin-left: auto; |
| 276 | + margin-right: auto; |
| 277 | + } |
| 278 | +} |
| 279 | + |
261 | 280 | html.dark .nextra-body-typesetting-article h1, |
262 | 281 | html.dark .nextra-body-typesetting-default h1, |
263 | 282 | html.dark .nextra-body-typesetting-article h2, |
|
0 commit comments