Cleans up media queries for publications