From ba1842bd2162d4fa3c7189621825afd765bea5fa Mon Sep 17 00:00:00 2001 From: Eric Bidelman Date: Sat, 14 Apr 2012 14:39:08 -0700 Subject: Hammer.js instead. Touch working on mobile style sheets now in main .html file. Better for mobile rather than dynamically loading in js matcMedia polyfill --- theme/css/phone.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 theme/css/phone.css (limited to 'theme/css/phone.css') diff --git a/theme/css/phone.css b/theme/css/phone.css new file mode 100644 index 0000000..3f211dd --- /dev/null +++ b/theme/css/phone.css @@ -0,0 +1,21 @@ +/* Smartphones (portrait) ----------- */ +/* Styles */ +/* line 9, ../sass/phone.scss */ +slides > slide { + /* width: $slide-width !important; + height: $slide-height !important; + margin-left: -$slide-width / 2 !important; + margin-top: -$slide-height / 2 !important; + */ + -webkit-transition: none !important; + -webkit-transition: none !important; + -moz-transition: none !important; + -ms-transition: none !important; + -o-transition: none !important; + transition: none !important; +} + +/* iPhone 4 ----------- */ +@media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) { + /* Styles */ +} -- cgit v1.2.3