Extract the style definitions to a css file