Template:Infobox Animal/sandbox/styles.css: Difference between revisions
From Eco - English Wiki
[unchecked revision] | [unchecked revision] |
mNo edit summary |
mNo edit summary |
||
Line 17: | Line 17: | ||
} | } | ||
table.animal-infobox tr.animal-image { | table.animal-infobox tr.animal-image td { | ||
padding: 0; | padding: 0; | ||
} | } |
Latest revision as of 20:03, 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 td:nth-of-type(2) {
text-align: right;
padding: 0.2em;
}
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-image td {
padding: 0;
}
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;
font-weight: bolder;
}
table.animal-infobox td.value-column {
text-align: right;
padding: 0.2em;
}
table.animal-infobox td.wide-column {
max-width: 12em;
}