refactor and split stylesheets