refactor css tag styles