diff --git a/main.css b/main.css index fa25d49..31da72a 100644 --- a/main.css +++ b/main.css @@ -22,13 +22,10 @@ background-color: #6495ED; } -th:first-child{background-color:#ff6347;} +th:first-child,td:first-child{background-color:#ff6347;} th:nth-child(2){background-color:#f4a460;} th:nth-child(3){background-color:#fa8072;} th:nth-child(4){background-color:#e6e6fa;} th:nth-child(5){background-color:#deb887;} th:nth-child(6){background-color:#ffd700;} -th:nth-child(7){background-color:#4169e1;} - -td:first-child{color:#ff6347;}//nth-child(番目数字)で色変えられる -td:nth-child(7){color:#4169e1;} +th:nth-child(7),td:nth-child(7){background-color:#4169e1;}