MediaWiki:Vector-2022.css: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the Vector 2022 skin */
/* CSS placed here will affect users of the Vector 2022 skin */
/* Site styles */
#WithText { margin-bottom: 0.9em !important; }
#WelcomeDiv { margin: 0 0 -0.9em !important; }
.mw-logo-wordmark { filter: invert(91%) sepia(100%) saturate(8000%); }
/* Headings */
.vector-body h2 { font-size: 22px; }
.vector-body h3 { font-size: 19px; }
.vector-body h4 { font-size: 17px; }
.vector-body h5 { font-size: 15px; }


/* Standard changes */
/* Standard changes */
#siteSub { display: block; }
#siteSub { display: block; }
.mw-sidebar-action { display: none; }
.mw-logo-container { max-width: none; }
.mw-logo-container { max-width: none; }
.mw-page-container { overflow: hidden; }
.mw-page-container, .mw-logo { min-width: 0; }
img.mw-logo-wordmark {
img.mw-logo-wordmark {
width: 160px !important;
width: 160px !important;
Line 16: Line 30:
display: none;
display: none;
}
}
#p-search .mw-ui-button {
padding-right: 0;
}
}
/* Purge tab gadget */
.mw-ui-icon-vector-gadget-ca-purge {
display: none;
}
.mw-ui-icon-vector-gadget-ca-purge + span {
margin: 0 !important;
}
}


/* Width fixes */
/* Width fixes */
.mw-parser-output > table.wikitable:not(.technicaltable),
.mw-parser-output > table[border="1"],
.mw-parser-output > .table-scroll, .mw-parser-output > table.darker {
.mw-parser-output > table.wikitable:not(.mw-collapsible) {
width: auto !important;
width: auto !important;
display: block !important;
display: block !important;
overflow: auto !important;
overflow: auto !important;
max-width: max-content !important;
max-width: max-content !important;
min-width: 100px !important;
min-width: 150px !important;
border: 0 !important;
}
.mw-parser-output > table.wikitable:not(.mw-collapsible),
.mw-parser-output > table[border="1"][style*="border-collapse"] {
border-width: 0 !important;
}
}
table.wikitable img, table.darker img,
table.wikitable img, .mw-parser-output > table[border="1"] img {
body.khwiki .mw-parser-output table img,
body.mariowiki .mw-parser-output table img {
min-width: 15px !important;
min-width: 15px !important;
max-width: 100% !important;
max-width: 100% !important;
Line 38: Line 64:
min-width: 0 !important;
min-width: 0 !important;
}
}
/* Main page */
#WelcomeDiv { margin: 0 0 -0.9em !important; }
#WithText { margin-bottom: 0.9em !important; }

Latest revision as of 18:43, May 9, 2024

/* CSS placed here will affect users of the Vector 2022 skin */

/* Site styles */
#WithText { margin-bottom: 0.9em !important; }
#WelcomeDiv { margin: 0 0 -0.9em !important; }
.mw-logo-wordmark { filter: invert(91%) sepia(100%) saturate(8000%); }

/* Headings */
.vector-body h2 { font-size: 22px; }
.vector-body h3 { font-size: 19px; }
.vector-body h4 { font-size: 17px; }
.vector-body h5 { font-size: 15px; }

/* 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;
	}
}

/* Purge tab gadget */
.mw-ui-icon-vector-gadget-ca-purge {
	display: none;
}
.mw-ui-icon-vector-gadget-ca-purge + span {
	margin: 0 !important;
}

/* 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),
.mw-parser-output > table[border="1"][style*="border-collapse"] {
	border-width: 0 !important;
}
table.wikitable img, .mw-parser-output > table[border="1"] img {
	min-width: 15px !important;
	max-width: 100% !important;
	height: auto !important;
}
.mw-parser-output table:not(.wikitable) {
	min-width: 0 !important;
}