refotmatted styles into separate stylesheets