diff --git a/cal.css b/cal.css index cc843b1..4a7d762 100644 --- a/cal.css +++ b/cal.css @@ -11,14 +11,14 @@ - -tr:first-child td:first-child {background-color: red; color: black;} -tr:first-child td:first-child + td {background-color: pink;} -tr:first-child td:first-child + td +td {background-color: orange;} -tr:first-child td:nth-child(4) {background-color: lightblue;} -tr:first-child td:nth-child(5) {background-color: peru;} -tr:first-child td:nth-child(6) {background-color: gold;} -tr:first-child td:nth-child(7) {background-color: dodgerblue; color: black;} +td {text-align: right;} +tr:first-child td:first-child {background-color: red; color: black; text-align: center;} +tr:first-child td:first-child + td {background-color: pink; text-align: right;} +tr:first-child td:first-child + td +td {background-color: orange; text-align: right;} +tr:first-child td:nth-child(4) {background-color: lightblue; text-align: right;} +tr:first-child td:nth-child(5) {background-color: peru; text-align: right;} +tr:first-child td:nth-child(6) {background-color: gold; text-align: right;} +tr:first-child td:nth-child(7) {background-color: dodgerblue; color: black; text-align: right;} td:first-child {color: red;} td:nth-child(7) {color: blue;}