Module:Infobox/styles.css
Jump to navigation
Jump to search
/*
* Infobox stylesheet for 3rd parties who use [[Module:Infobox]]
* and don't have to worry about manual classes lying around (most of you)
*/
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
border-radius: 10px 10px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
/*
* not strictly certain .infobox-subbox 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-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar {
vertical-align: top;
}
.infobox-label,
.infobox-data {
/* @noflip */
text-align: left;
}
.infobox-above,
.infobox-title {
font-size: 125%;
font-weight: bold;
text-align: center;
border-radius: 5px 5px;
}
.infobox-title {
padding: 0.2em;
}
.infobox-header,
.infobox-subheader,
.infobox-image,
.infobox-full-data,
.infobox-below {
text-align: center;
}
.infobox-navbar {
/* @noflip */
text-align: right;
}
.infobox .navbar {
font-size: 100%;
}
.infobox-3cols-child {
margin: auto;
}