From Brotato Wiki
(.starting-weapons-table: Set a fixed width (fixes bad alignments when using multiple rows)) |
(.starting-weapons-table: Reduce font size for mobile) |
||
Line 40: | Line 40: | ||
vertical-align: top; | vertical-align: top; | ||
width: 85px; | width: 85px; | ||
} | |||
@media only screen and (max-width: 640px) { | |||
.starting-weapons-table td { | |||
font-size: 12px; | |||
} | |||
} | } | ||
Revision as of 02:00, 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); } /* ============================================================ Page-Specific ============================================================ */ /* Character's "Starting Weapons" table */ .starting-weapons-table td { text-align: center; vertical-align: top; width: 85px; } @media only screen and (max-width: 640px) { .starting-weapons-table td { font-size: 12px; } } /* ============================================================ Templates ============================================================ */ /* Template:MiniIconbox */ .iconbox--inline { margin: 0; vertical-align: baseline; }