table { th, td { padding: 0.75rem; text-align: left; } thead { tr { border-bottom: 2px solid var(--font-color); } } tbody { tr { background-color: var(--default-color); &:nth-child(2n) { background-color: var(--bg-alternate-color); } } } }