Add styling for alternating row colors in table

This commit is contained in:
Lucas Patenaude
2024-04-13 17:33:01 -06:00
parent 333d23db78
commit 48acfe6c49

View File

@@ -45,12 +45,13 @@
margin: 0;
}
#standings-table tbody tr.even {
background-color: #f2f2f2;
/* Define styles for odd and even rows */
#standings-table tbody tr:nth-child(odd) {
background-color: #f2f2f2; /* Light gray for odd rows */
}
#standings-table tbody tr.odd {
background-color: #a2a1a1;
#standings-table tbody tr:nth-child(even) {
background-color: #ffffff; /* White for even rows */
}