CSS attributes changed depending character class