diff options
Diffstat (limited to 'theme/sass')
-rw-r--r-- | theme/sass/phone.scss | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/theme/sass/phone.scss b/theme/sass/phone.scss new file mode 100644 index 0000000..d291d9e --- /dev/null +++ b/theme/sass/phone.scss | |||
@@ -0,0 +1,27 @@ | |||
1 | @import "compass/css3/transition"; | ||
2 | |||
3 | /* Smartphones (portrait) ----------- */ | ||
4 | //@media only screen and (max-device-width: 480px) { | ||
5 | /* Styles */ | ||
6 | $slide-width: 350px; | ||
7 | $slide-height: 500px; | ||
8 | |||
9 | slides > slide { | ||
10 | /* width: $slide-width !important; | ||
11 | height: $slide-height !important; | ||
12 | margin-left: -$slide-width / 2 !important; | ||
13 | margin-top: -$slide-height / 2 !important; | ||
14 | */ | ||
15 | // Don't do full slide transitions on mobile. | ||
16 | -webkit-transition: none !important; // Bug in compass? Not sure why the below is not working | ||
17 | @include transition(none !important); | ||
18 | } | ||
19 | |||
20 | //} | ||
21 | |||
22 | /* iPhone 4 ----------- */ | ||
23 | @media | ||
24 | only screen and (-webkit-min-device-pixel-ratio : 1.5), | ||
25 | only screen and (min-device-pixel-ratio : 1.5) { | ||
26 | /* Styles */ | ||
27 | } \ No newline at end of file | ||