_sass/_table.scss in askclass-news-theme-0.4.2 vs _sass/_table.scss in askclass-news-theme-0.4.3
- old
+ new
@@ -1,17 +1,14 @@
-$odd: #2a2a2a;
-$even: #2f2f2f;
+$color-odd: #2a2a2a;
+$color-even: #2f2f2f;
table {
table-layout: fixed;
- th {
- background-color: $even;
- }
tr:nth-child(odd) {
- background-color: $odd;
+ background-color: $color-odd;
}
- tr:nth-child(even) {
- background-color: $even;
+ th, tr:nth-child(even) {
+ background-color: $color-even;
}
td, th {
vertical-align: top;
padding: 7px;
}