MediaWiki:Common.css/src/system/JSON.scss

From Terraria Wiki
Jump to navigation Jump to search

This page is one of the SCSS pages which are the basis for MediaWiki:Common.css. After you edit this page, you will need to recompile them for your changes to take effect. See Terraria Wiki:CSS to learn more.

/********* Pages with content model "JSON" *********/

/* overwriting styles from here:
 * https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/resources/src/mediawiki.content.json.less */

.mw-json {
	th, td {
		border-color: var(--theme-box-border-color);
	}
	tr {
		background-color: transparent;
	}
	th {
		background-color: var(--theme-box-background);
	}
}

.mw-json-value, .mw-json-single-value {
	background-color: var(--theme-highlight-background);
}

.mw-json-single-value {
	background-color: var(--theme-highlight-background);
}

.mw-json-empty {
	background-color: var(--theme-box-background);
}