refactor css structure