Refactor .table styles, closes #1