MediaWiki:Common.css/src/system/filepage.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.

/********* File: namespace *********/

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

#filetoc {
	border-color: var(--theme-box-border-color);
	background-color: var(--theme-highlight-background);
}

.mw_metadata td, .mw_metadata th {
	border-color: var(--theme-box-border-color);
	/* overwrite our "table th, table td" rule and restore MediaWiki default */
	padding-top: 0;
	padding-bottom: 0;
}

.mw_metadata th {
	background-color: var(--theme-box-background);
}

.mw_metadata td {
	background-color: var(--theme-highlight-background);
}

/* space between the "Open in MediaViewer" button and page content
 * (needs the ".fullMedia +" because "#mw-imagepage-content" is different on file
 * page revision diffs) */
.fullMedia + #mw-imagepage-content {
	margin-top: 1em;
}