From Brotato Wiki
(add styles for `inline` option for Iconbox) |
(.iconbox--inline: Completely remove margin (as left/right margins can disrupt content)) |
||
Line 38: | Line 38: | ||
/* {{Iconbox|inline=1}} */ | /* {{Iconbox|inline=1}} */ | ||
.iconbox--inline { | .iconbox--inline { | ||
margin | margin: 0; | ||
vertical-align: baseline; | vertical-align: baseline; | ||
} | } |
Revision as of 00:09, 10 November 2022
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox td {
vertical-align: top;
}
.wikitable {
font-size: min(max(1vw,10px), 16px);
}
/*
============================================================
Modifiers (used by template options)
============================================================
*/
/* {{Iconbox|inline=1}} */
.iconbox--inline {
margin: 0;
vertical-align: baseline;
}