make auto-generated styles easier to read by removing empty nodes and using \n between declarations