separate styles into chunks