lib/stylesheets/_respond-to.sass in compass-respond-0.2.0 vs lib/stylesheets/_respond-to.sass in compass-respond-0.3.0
- old
+ new
@@ -29,5 +29,11 @@
@media only screen and (min-width: $respond-to-desktops-min)
@content
@else if $device == retina
@media only screen and (-webkit-min-device-pixel-ratio: 2)
@content
+ @else if $device == landscape
+ @media only screen and (orientation: landscape)
+ @content
+ @else if $device == portrait
+ @media only screen and (orientation: portrait)
+ @content