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 .land { | table.animal-infobox tr.land { | ||
background-color: #11af53; | background-color: #11af53; | ||
} | } | ||
table.animal-infobox .swimming { | table.animal-infobox tr.swimming { | ||
background-color: #65a9e6; | background-color: #65a9e6; | ||
} | } | ||
table.animal-infobox .flying { | table.animal-infobox tr.flying { | ||
background-color: #e3bd27; | background-color: #e3bd27; | ||
} | } |
Revision as of 19:02, 9 April 2022
table.animal-infobox tr:nth-child(even) {
background-color: red;
}
table.animal-infobox .animal-name {
color: #ffffff;
font-size: larger;
font-weight: bolder;
text-align: center;
background-color: #1165af;
}
table.animal-infobox .animal-type {
color: #ffffff;
font-weight: bolder;
text-align: center;
}
table.animal-infobox tr.land {
background-color: #11af53;
}
table.animal-infobox tr.swimming {
background-color: #65a9e6;
}
table.animal-infobox tr.flying {
background-color: #e3bd27;
}
table.animal-infobox .subheader {
background-color: #4688c0;
text-align: center;
}
table.animal-infobox .value-column {
text-align: right;
padding: 0.2em;
}
table.animal-infobox .wide-column {
max-width: 12em;
}