css style changing, refactoring