From Brotato Wiki

(Template:NavBoxCharacters - Make text and width much smaller)
(add .list-remove-left-margin)
Line 68: Line 68:
     font-size: 11px;
     font-size: 11px;
     max-width: 750px;
     max-width: 750px;
}
/*
============================================================
Special Classes
============================================================
*/
/* 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;
}
}

Revision as of 19: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);
}


/*
============================================================
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;
}


/*
============================================================
Special Classes
============================================================
*/

/* 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;
}