extract styles to external sheet