| 1 | table { |
| 2 | margin-left: auto; |
| 3 | margin-right: auto; |
| 4 | width: 100%; |
| 5 | } |
| 6 | |
| 7 | @media screen and (min-width: 768px) { |
| 8 | table { |
| 9 | width: 95%; |
| 10 | } |
| 11 | } |
| 12 | |
| 13 | table, th, td { |
| 14 | text-align: center; |
| 15 | } |
| 16 | |
| 17 | table > thead > tr > th { |
| 18 | border: 1px solid #ccc; |
| 19 | background-color: #E6FFCC; |
| 20 | padding: 13px 5px 13px 5px; |
| 21 | } |
| 22 | |
| 23 | table > tbody > tr > td { |
| 24 | border: 1px solid #ccc; |
| 25 | } |
| 26 | |
| 27 | tr:nth-of-type(even) { |
| 28 | background: #eee; |
| 29 | } |
| 30 | |
| 31 | tr:nth-of-type(odd) { |
| 32 | background: #fff; |
| 33 | } |
| 34 | |
| 35 | td a { |
| 36 | color: #2C3E50; |
| 37 | text-decoration: none; |
| 38 | display: block; |
| 39 | padding: 13px 5px 13px 5px; |
| 40 | } |
| 41 | |
| 42 | td a:hover { |
| 43 | text-decoration: none; |
| 44 | color: #2C3E50; |
| 45 | } |
| 46 | |
| 47 | th[data-sort]{ |
| 48 | cursor:pointer; |
| 49 | color: #480000; |
| 50 | } |