Darkmode on pre
This commit is contained in:
20
resources/styles/nextbestnetwork/_fixedwidth.scss
Normal file
20
resources/styles/nextbestnetwork/_fixedwidth.scss
Normal 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;
|
||||
}
|
||||
@@ -9,3 +9,5 @@
|
||||
@import "editors";
|
||||
@import "overwrites";
|
||||
@import "print";
|
||||
@import "fixedwidth";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user