Consolidating media queries