Darkmode on pre

This commit is contained in:
D. Rimron-Soutter
2025-12-30 20:14:25 +00:00
parent 13c73ac9de
commit 62623cbbaa
3 changed files with 23 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,20 @@
code {
color: var(--bs-body-color) !important;
background-color: var(--bs-secondary-bg) !important;
border: 1px solid var(--bs-border-color) !important;
border-radius: 2px;
padding: 1px 4px;
}
pre, .mw-code {
color: var(--bs-body-color) !important;
background-color: var(--bs-secondary-bg) !important;
border: 1px solid var(--bs-border-color) !important;
padding: 1em;
}
pre code {
color: inherit !important;
background-color: transparent !important;
border: none !important;
}

View File

@@ -9,3 +9,5 @@
@import "editors";
@import "overwrites";
@import "print";
@import "fixedwidth";