Integrating media queries