Refactors table styling