Changing css generation to make media and selector nesting symetric