MediaWiki:Vector-2022.css

From SmashWiki, the Super Smash Bros. wiki
Revision as of 11:05, February 28, 2024 by Porplemontage (talk | contribs)
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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will affect users of the Vector 2022 skin */

/* Standard changes */
#siteSub { display: block; }
.mw-sidebar-action { display: none; }
.mw-logo-container { max-width: none; }
.mw-page-container { overflow: hidden; }
.mw-page-container, .mw-logo { min-width: 0; }
img.mw-logo-wordmark {
	width: 160px !important;
	height: auto !important;
}
#p-lang-btn.mw-portlet-empty {
	float: right;
	display: block;
}
@media all and (max-width: 719px) {
	#p-lang-btn .vector-menu-heading-label {
		display: none;
	}
	#p-search .mw-ui-button {
		padding-right: 0;
	}
}

/* Width fixes */
.mw-parser-output > table[border="1"],
.mw-parser-output > table.wikitable:not(.mw-collapsible) {
	width: auto !important;
	display: block !important;
	overflow: auto !important;
	max-width: max-content !important;
	min-width: 150px !important;
}
.mw-parser-output > table.wikitable:not(.mw-collapsible) {
	border: 0 !important;
}
table.wikitable img {
	min-width: 15px !important;
	max-width: 100% !important;
	height: auto !important;
}
.mw-parser-output table:not(.wikitable) {
	min-width: 0 !important;
}