diff options
author | Eric Bidelman | 2012-04-14 14:39:08 -0700 |
---|---|---|
committer | Eric Bidelman | 2012-04-14 14:39:08 -0700 |
commit | ba1842bd2162d4fa3c7189621825afd765bea5fa (patch) | |
tree | a001e4f56275a0c19ce889b5aa44c2d7dc34e6c7 /theme/css | |
parent | 92d59f701df13fe8e99d2c908dcf18450c53b762 (diff) | |
download | io-slides-remote-ba1842bd2162d4fa3c7189621825afd765bea5fa.tar.gz |
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
Diffstat (limited to 'theme/css')
-rw-r--r-- | theme/css/phone.css | 21 |
1 files changed, 21 insertions, 0 deletions
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 @@ | |||
1 | /* Smartphones (portrait) ----------- */ | ||
2 | /* Styles */ | ||
3 | /* line 9, ../sass/phone.scss */ | ||
4 | slides > slide { | ||
5 | /* width: $slide-width !important; | ||
6 | height: $slide-height !important; | ||
7 | margin-left: -$slide-width / 2 !important; | ||
8 | margin-top: -$slide-height / 2 !important; | ||
9 | */ | ||
10 | -webkit-transition: none !important; | ||
11 | -webkit-transition: none !important; | ||
12 | -moz-transition: none !important; | ||
13 | -ms-transition: none !important; | ||
14 | -o-transition: none !important; | ||
15 | transition: none !important; | ||
16 | } | ||
17 | |||
18 | /* iPhone 4 ----------- */ | ||
19 | @media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) { | ||
20 | /* Styles */ | ||
21 | } | ||