|
181 | 181 | color: transparent;
|
182 | 182 | }
|
183 | 183 |
|
184 |
| -/* Light mode background and text fix */ |
185 |
| -[data-theme='light'] { |
| 184 | +/* Light mode background and text fix - EXCLUDE community page */ |
| 185 | +[data-theme='light'] body:not(:has(.community-page)) { |
186 | 186 | --ifm-background-color: #ffffff; /* white background */
|
187 | 187 | --ifm-font-color-base: #000000; /* black text */
|
188 | 188 | background-color: var(--ifm-background-color);
|
189 | 189 | color: var(--ifm-font-color-base);
|
190 | 190 | }
|
191 | 191 |
|
192 |
| -/* Dark mode overrides (already there, ensure it's working) */ |
193 |
| -[data-theme='dark'] { |
| 192 | +/* Dark mode overrides - EXCLUDE community page */ |
| 193 | +[data-theme='dark'] body:not(:has(.community-page)) { |
194 | 194 | background-color: var(--dark-bg-primary);
|
195 | 195 | color: var(--dark-text-primary);
|
196 | 196 | }
|
|
357 | 357 |
|
358 | 358 | /* ===== DOCUSAURUS DOCUMENTATION PAGES DARK THEME ===== */
|
359 | 359 |
|
360 |
| -/* Main documentation layout */ |
361 |
| -[data-theme='dark'] .main-wrapper { |
| 360 | +/* Main documentation layout - EXCLUDE community page */ |
| 361 | +[data-theme='dark'] body:not(:has(.community-page)) .main-wrapper { |
362 | 362 | background-color: var(--dark-bg-primary) !important;
|
363 | 363 | color: var(--dark-text-primary) !important;
|
364 | 364 | }
|
365 | 365 |
|
366 |
| -[data-theme='dark'] .docusaurus-wrapper { |
| 366 | +[data-theme='dark'] body:not(:has(.community-page)) .docusaurus-wrapper { |
367 | 367 | background-color: var(--dark-bg-primary) !important;
|
368 | 368 | }
|
369 | 369 |
|
370 |
| -/* Documentation content area */ |
371 |
| -[data-theme='dark'] .container { |
| 370 | +/* Documentation content area - EXCLUDE community page */ |
| 371 | +[data-theme='dark'] body:not(:has(.community-page)) .container { |
372 | 372 | background-color: var(--dark-bg-primary) !important;
|
373 | 373 | }
|
374 | 374 |
|
375 |
| -[data-theme='dark'] .row { |
| 375 | +[data-theme='dark'] body:not(:has(.community-page)) .row { |
376 | 376 | background-color: var(--dark-bg-primary) !important;
|
377 | 377 | }
|
378 | 378 |
|
379 |
| -[data-theme='dark'] .col { |
| 379 | +[data-theme='dark'] body:not(:has(.community-page)) .col { |
380 | 380 | background-color: var(--dark-bg-primary) !important;
|
381 | 381 | }
|
382 | 382 |
|
|
0 commit comments