Module:Infobox/styles.css: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
No edit summary
(test)
Line 27: Line 27:
}
}


/* STUFF BELOW IS NOT IN Module:Infobox/styles.css ON WIKIPEDIA BUT IS SUPPOSED TO MATCH WIKIPEDIA STYLES */
/* STUFF BELOW THIS LINE IS NOT IN Module:Infobox/styles.css ON WIKIPEDIA
It is copied from wikipedia:MediaWiki:Common.css to apply styles intended for infoboxes */
.infobox .infobox-above, .infobox .infobox-title, .infobox caption {
.infobox .infobox-above, .infobox .infobox-title, .infobox caption {
     font-size: 125%;
     font-size: 125%;
     font-weight: bold;
     font-weight: bold;
     text-align: center;
     text-align: center;
}
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
}

Revision as of 03:55, 2 January 2022

/* {{pp|small=y}} */
/*
 * This TemplateStyles sheet deliberately does NOT include the full set of
 * infobox styles. We are still working to migrate all of the manual
 * infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]]
 * DO NOT ADD THEM HERE
 */
/*
 * not strictly certain these styles are necessary since the modules now
 * exclusively output infobox-subbox or infobox, not both
 * just replicating the module faithfully
 */
.infobox-subbox {
	padding: 0;
	border: none;
	margin: -3px;
	width: auto;
	min-width: 100%;
	font-size: 100%;
	clear: none;
	float: none;
	background-color: transparent;
}

.infobox-3cols-child {
	margin: auto;
}

/* STUFF BELOW THIS LINE IS NOT IN Module:Infobox/styles.css ON WIKIPEDIA
It is copied from wikipedia:MediaWiki:Common.css to apply styles intended for infoboxes */
.infobox .infobox-above, .infobox .infobox-title, .infobox caption {
    font-size: 125%;
    font-weight: bold;
    text-align: center;
}
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
	text-align: center;
}