Module:Infobox/styles.css: Difference between revisions
Jump to navigation
Jump to search
(test) |
(Pronoun changed the content model of the page Module:Infobox/styles.css from "CSS" to "Sanitized CSS": enable templatestyles (hopefully)) Tag: content model change |
(No difference)
|
Revision as of 04:06, 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;
}