From Brotato Wiki
(Moved the new addition to server side) Tag: Manual revert |
(add styles for `inline` option for Iconbox) |
||
Line 26: | Line 26: | ||
.wikitable { | .wikitable { | ||
font-size: min(max(1vw,10px), 16px); | font-size: min(max(1vw,10px), 16px); | ||
} | |||
/* | |||
============================================================ | |||
Modifiers (used by template options) | |||
============================================================ | |||
*/ | |||
/* {{Iconbox|inline=1}} */ | |||
.iconbox--inline { | |||
margin-top: 0; | |||
margin-bottom: 0; | |||
vertical-align: baseline; | |||
} | } |
Revision as of 23:55, 9 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-top: 0; margin-bottom: 0; vertical-align: baseline; }