refactor stylesheet codebase