refactored general styles