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

/***********************************************************************************************************
 * Styles for "real" wiki page content. (in div.mw-parser-output)
 ***********************************************************************************************************/

/* remove external link icon. */
.mw-parser-output a.external {
	padding-right: 0;
	background: none;
}

.mw-parser-output > :first-child {
	margin-top: 0;
}

@media screen and (max-width: 450px) {
	/* images/thumbnails */
	.mw-parser-output .image > img {
		max-width: 100%;
		max-height: 50vh;
		width: auto;
		height: auto;
	}
}

/* used by mobile floating fix, see [[:en:MediaWiki:Common.js]] */
.mobile-floating-fix{
	float: none !important;
	margin-left: 0 !important;
	//margin-left: auto !important;
	//margin-right: auto !important;
	width: fit-content;
}
.mobile-fullwidth{
	width: 100% !important;
}

/* Classic Mode Color */
.tab.normal {
	color: var(--theme-modetabs-classic-text-color-label);
}

/* Expert Mode Color */
.tab.expert {
	color: var(--theme-modetabs-expert-text-color-label);
}

/* Master Mode Color */
.tab.master {
	color: var(--theme-modetabs-master-text-color-label);
}

/* @import content/table.css */
/* @import content/terraria.css */
/* @import content/heading.css */
/* @import content/ToC.css */
/* @import content/thumbnails,gallery.css */