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: Difference between revisions

From Eco - English Wiki
[unchecked revision][unchecked revision]
mNo edit summary
mNo edit summary
Line 4: Line 4:
}
}


table.animal-infobox .animal-name {
table.animal-infobox tr.animal-name {
color: #ffffff;
color: #ffffff;
font-size: larger;
font-size: larger;
Line 12: Line 12:
}
}


table.animal-infobox .animal-type {
table.animal-infobox tr.animal-type {
color: #ffffff;
color: #ffffff;
font-weight: bolder;
font-weight: bolder;
Line 18: Line 18:
}
}


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


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


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


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


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


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

Revision as of 18:22, 9 April 2022

table.animal-infobox tr:nth-child(even) {
	/* Mixed in 10% Green Blue Crayola from the palette with the table background color. */
	background-color: #c3e2ec;
}

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 tr.value-column {
	text-align: right;
	padding: 0.2em;
}

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