move styles to one class