From Brotato Wiki
(add .list-remove-left-margin) |
m (minor cleanup (no functional changes)) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.infobox { | .infobox { | ||
Line 29: | Line 28: | ||
/* | /*============================================================= | ||
============================================================ | Templates | ||
==============================================================*/ | |||
============================================================ | |||
*/ | /* Template:MiniIconbox */ | ||
.iconbox--inline { | |||
margin: 0; | |||
vertical-align: baseline; | |||
} | |||
/* Template:NavBoxCharacters */ | |||
.navbox-characters { | |||
font-size: 11px; | |||
max-width: 750px; | |||
} | |||
/*============================================================= | |||
Special Classes | |||
==============================================================*/ | |||
/* Character's "Starting Weapons" table */ | /* Character's "Starting Weapons" table */ | ||
Line 49: | Line 63: | ||
} | } | ||
} | } | ||
/* use on lists (ul), ideal for lists inside tables (eg Mod:Extatonion) */ | /* use on lists (ul), ideal for lists inside tables (eg Mod:Extatonion) */ |
Revision as of 22:22, 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);
}
/*=============================================================
Templates
==============================================================*/
/* Template:MiniIconbox */
.iconbox--inline {
margin: 0;
vertical-align: baseline;
}
/* Template:NavBoxCharacters */
.navbox-characters {
font-size: 11px;
max-width: 750px;
}
/*=============================================================
Special Classes
==============================================================*/
/* 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;
}
}
/* use on lists (ul), ideal for lists inside tables (eg Mod:Extatonion) */
ul.list-remove-left-margin,
ol.list-remove-left-margin {
margin-left: 25px;
}