Module:Infobox/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
* just replicating the module faithfully | * just replicating the module faithfully | ||
*/ | */ | ||
.infobox { | .infobox { | ||
box-shadow: 0.2em 0.2em 1em 0 black; | box-shadow: 0.2em 0.2em 1em 0 black; | ||
Line 25: | Line 23: | ||
font-size: 90%; | font-size: 90%; | ||
} | } | ||
.infobox-subbox { | .infobox-subbox { | ||
padding: 0; | padding: 0; |
Revision as of 21:39, 26 May 2025
/* {{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 {
box-shadow: 0.2em 0.2em 1em 0 black;
float: right;
clear: right;
margin: 0 0 1em 1em;
padding: 0.5em;
width: 280px;
background-color: #f9f9f9;
color: #000;
border: 1px solid #aaa;
font-size: 90%;
}
.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;
}
.infobox .navbar {
font-size: 100%;
}
.infobox th {
text-align: left;
vertical-align: top;
padding-right: 0.5em;
}
.infobox td {
vertical-align: top;
}
.infobox .infobox-header {
font-weight: bold;
text-align: left;
padding-top: 0.5em;
padding-bottom: 0.2em;
}