timesheet.css (599B)
1 table { 2 border-collapse: collapse; 3 border-spacing: 0; 4 } 5 6 tr > :nth-child(-n+6) { 7 border-collapse: collapse; 8 border-spacing: 0; 9 border: 1px solid black; 10 } 11 12 tr:nth-child(even) > :nth-child(-n+6) { 13 background-color: #F3F3F3; 14 } 15 16 th, td { 17 text-align: left; 18 padding: 0.2rem; 19 } 20 21 th[scope=col]:nth-child(-n+6) { 22 background-color: lightblue; 23 } 24 25 td > form { 26 display: inline; 27 } 28 29 tr:nth-child(even) > td:nth-child(-n+6) > form > input[type="submit"] { 30 background-color: white; 31 } 32 33 td > form > input[type="submit"] { 34 margin: 0; 35 width: 100%; 36 height: 100%; 37 border-width: 0.1rem; 38 border-radius: 0; 39 }