From Brotato Wiki
(.starting-weapons-table: Reduce font size for mobile) |
(.starting-weapons-table: Add same margins as <p>) |
||
Line 36: | Line 36: | ||
/* Character's "Starting Weapons" table */ | /* Character's "Starting Weapons" table */ | ||
.starting-weapons-table { | |||
margin: 0.4em 0 0.5em 0; | |||
} | |||
.starting-weapons-table td { | .starting-weapons-table td { | ||
text-align: center; | text-align: center; |
Revision as of 02:44, 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 {
margin: 0.4em 0 0.5em 0;
}
.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;
}