extract internal css into a single file