refactor main.qss