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; margin: 0;
} }
#standings-table tbody tr.even { /* Define styles for odd and even rows */
background-color: #f2f2f2; #standings-table tbody tr:nth-child(odd) {
background-color: #f2f2f2; /* Light gray for odd rows */
} }
#standings-table tbody tr.odd { #standings-table tbody tr:nth-child(even) {
background-color: #a2a1a1; background-color: #ffffff; /* White for even rows */
} }