From cbcdd0a4fd32621911272bbfaedc7482504f12d0 Mon Sep 17 00:00:00 2001 From: Justin Heideman Date: Thu, 17 Oct 2013 13:50:37 -0500 Subject: [PATCH] simplify media queries for retina-image mixin --- less/preboot.less | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/less/preboot.less b/less/preboot.less index c4f6daf..0113c0f 100644 --- a/less/preboot.less +++ b/less/preboot.less @@ -394,12 +394,8 @@ background-image: url("@{file-1x}"); @media - only screen and (-webkit-min-device-pixel-ratio: 2), - only screen and ( min--moz-device-pixel-ratio: 2), - only screen and ( -o-min-device-pixel-ratio: 2/1), - only screen and ( min-device-pixel-ratio: 2), - only screen and ( min-resolution: 192dpi), - only screen and ( min-resolution: 2dppx) { + only screen and (-webkit-min-device-pixel-ratio: 2), + only screen and (min-resolution: 192dpi) { background-image: url("@{file-2x}"); background-size: @width-1x @height-1x; }