refactor basic styles