From Brotato Wiki
m (remove duped comment at the top) |
(Template:NavBoxCharacters - Make text and width much smaller) |
||
Line 62: | Line 62: | ||
margin: 0; | margin: 0; | ||
vertical-align: baseline; | vertical-align: baseline; | ||
} | |||
/* Template:NavBoxCharacters */ | |||
.navbox-characters { | |||
font-size: 11px; | |||
max-width: 750px; | |||
} | } |
Revision as of 02:20, 15 November 2022
/* 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;
}
/* Template:NavBoxCharacters */
.navbox-characters {
font-size: 11px;
max-width: 750px;
}