Chris@0: Chris@0: body { Chris@0: margin: 1em; Chris@0: background-color: #fff; Chris@0: } Chris@0: [dir="rtl"] body { Chris@0: direction: rtl; Chris@0: } Chris@0: th { Chris@0: text-align: left; /* LTR */ Chris@0: color: #006; Chris@0: border-bottom: 1px solid #ccc; Chris@0: } Chris@0: [dir="rtl"] th { Chris@0: text-align: right; Chris@0: } Chris@0: tr:nth-child(odd) { Chris@0: background-color: #ddd; Chris@0: } Chris@0: tr:nth-child(even) { Chris@0: background-color: #fff; Chris@0: } Chris@0: td { Chris@0: padding: 5px; Chris@0: }