Files
mediawiki-theme/resources/styles/custom.scss

32 lines
859 B
SCSS

/**
* Set custom bootstrap 5 variables here to overwrite
* the bootstrap 5 default variables.
*
* @see node_modules/bootstrap/scss/_variables.scss
*/
@import "nextbestnetwork/variables";
@import "custom/variables";
@import "~bootstrap/scss/bootstrap";
@import "nextbestnetwork/index";
@import "custom/bootswatch";
html[data-bs-theme="dark"] body .wikitable,
html[data-bs-theme="dark"] body .formtable {
--bs-table-color: var(--bs-body-color);
--bs-table-bg: var(--bs-body-bg);
--bs-table-border-color: rgba(255, 255, 255, 0.12);
}
html[data-bs-theme="dark"] body .wikitable > :not(caption) > * > *,
html[data-bs-theme="dark"] body .formtable > :not(caption) > * > * {
color: var(--bs-body-color) !important;
background-color: var(--bs-body-bg);
}
html[data-bs-theme="dark"] body .wikitable a {
color: var(--bs-link-color) !important;
}