Difference between revisions of "Template:COVID-19 pandemic data/Nepal medical cases/styles.css"
Jump to navigation
Jump to search
imported>Inimesh m (Background color for nth-child(12)) |
imported>Inimesh m (+ missing commas) |
||
| Line 23: | Line 23: | ||
} | } | ||
td:nth-child(7), | td:nth-child(7), | ||
| − | td:nth-child(8) | + | td:nth-child(8), |
td:nth-child(11) { | td:nth-child(11) { | ||
background-color: lightgray; | background-color: lightgray; | ||
} | } | ||
td:nth-child(9), | td:nth-child(9), | ||
| − | td:nth-child(10) | + | td:nth-child(10), |
td:nth-child(12) { | td:nth-child(12) { | ||
background-color: #c4e3ed; | background-color: #c4e3ed; | ||
} | } | ||
Revision as of 02:41, 19 September 2020
td:first-child,
td:last-child {
text-align: left;
}
td:nth-child(1),
td:nth-child(2),
td:nth-child(5),
td:nth-child(7),
td:nth-child(9) {
font-weight: bold;
}
td:nth-child(1) {
background-color: #eaecf0;
}
td:nth-child(2),
td:nth-child(3),
td:nth-child(4) {
background-color: #ffb3b3;
}
td:nth-child(5),
td:nth-child(6) {
background-color: #bdf5bd;
}
td:nth-child(7),
td:nth-child(8),
td:nth-child(11) {
background-color: lightgray;
}
td:nth-child(9),
td:nth-child(10),
td:nth-child(12) {
background-color: #c4e3ed;
}