don't shade table headings
This commit is contained in:
parent
323da322de
commit
d1056d99e2
1 changed files with 3 additions and 2 deletions
|
@ -5,9 +5,10 @@ table {
|
|||
|
||||
th, td {
|
||||
padding: .5em;
|
||||
line-height: 1.4em;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
tr:nth-child(2n-1) {
|
||||
tbody tr:nth-child(2n-1) {
|
||||
/* We use tbody to ensure that we don't shade the heading - this preserves the order of the shading */
|
||||
background: #ccc; /* Shade every other table row */
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue