ATTENTION! The process of updating WiKi to version Eco 10.x has begun. Those wishing to participate can find out more Information on our ECO Contribution Wiki Discord.

Template:Infobox Animal/sandbox/styles.css

From Eco - English Wiki
Revision as of 17:54, 9 April 2022 by Demian (talk | contribs) (Try out automatic alternate row coloring)
table.animal-infobox tr:nth-child(even) {
	background-color: red;
}

table.animal-infobox tr.animal-name {
	color: #ffffff;
	font-size: larger;
	font-weight: bolder;
	text-align: center;
	background-color: #1165af;
}

table.animal-infobox tr.animal-type {
	color: #ffffff;
	font-weight: bolder;
	text-align: center;
}

table.animal-infobox tr.animal-type .land {
	background-color: #11af53;
}

table.animal-infobox tr.animal-type .swimming {
	background-color: #65a9e6;
}

table.animal-infobox tr.animal-type .flying {
	background-color: #e3bd27;
}

table.animal-infobox tr.subheader {
	background-color: #4688c0;
	text-align: center;
}

table.animal-infobox td.value-column {
	text-align: right;
	padding: 0.2em;
}

table.animal-infobox td.wide-column {
	max-width: 12em;
}