refactored tag styles