User:Prime Radiant/monacobook.css

From MediaWiki
Revision as of 13:53, 29 April 2021 by Prime Radiant (talk | contribs) (trim down to essential CSS for tabs)
Jump to navigationJump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.

/* Alignment classes */
.gocenter {
	margin-left: auto;
	margin-right: auto;
}
.goleft {
	clear: left;
	float: left;
}
.goright {
	clear: right;
	float: right;
}


.tabber.info {
	display: block;
	float: right;
	margin: 0 0 0.5em 1em;
}
.tabber.info .nav {
	display: block !important;
}
.tabber.info .infobox > tbody > tr:nth-child(2) img {
	max-width: 100% !important;
	height: auto !important;
	image-rendering: auto !important;
}
.tabber.info table {
	display: block !important;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	overflow-x: auto !important;
}
.tabber.info tbody {
	display: table !important;
	width: 100% !important;
}



/* Width fixes */

.tabbertab > .UXdmg {
	width: 100% !important;
}
@media all and (max-width: 1100px) {
	.mw-parser-output table img {
		max-width: 100% !important;
		height: auto !important;
	}
	.tabber.gocenter {
		width: 100% !important;
	}
	.tabbertab > .wikitable,
	.tabbertab > .sortable {
		width: 100% !important;
	}
	.infobox.board div {
		width: auto !important;
	}
	.infobox.board div > div {
		left: 7.5px !important;
		right: 7.5px !important;
	}
	.infobox.board img {
		max-width: 100% !important;
		height: auto !important;
	}
}

/* fulltabs class to allow for full tabber width */
.fulltabs .tabberlive {
	margin-left: 0;
}
.fulltabs .goright {
	clear: none;
	float: none;
}