Refactoring style of pages