Module:Infobox/styles.css
< Module:Infobox
Jump to navigation
Jump to search
Revision as of 00:53, 19 June 2023 by Penguinplushie (talk | contribs) (Protected "Module:Infobox/styles.css" ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
/* Infobox template style */
/*New styles on Module:Infobox/styles.css */
.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-header,
.infobox-subheader,
.infobox-image,
.infobox-full-data,
.infobox-below {
text-align: center;
}
/* Original Infobox Styles */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
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;
}
.infobox-above,
.infobox-title,
.infobox-caption {
font-size: 125%;
font-weight: bold;
padding: 0.2em;
text-align: center;
}
.infobox-title,
.infobox-caption {
padding: 0.2em;
}
/* .infobox td,
.infobox th */
.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
/* .infobox td,
.infobox th */ {
/* @noflip */
text-align: left;
}
.infobox-navbar {
/* @noflip */
text-align: right;
}