diff options
author | Pacien TRAN-GIRARD | 2014-06-16 19:30:53 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-06-16 19:30:53 +0200 |
commit | add331408b0f207b82f3ec1b76251c700197e807 (patch) | |
tree | efee398fbd8811adbad16dbe98b1b0506dddc363 /slides/final/theme/scss/phone.scss | |
parent | c59a0f4780502c949c0d19287bea51a4c40fb109 (diff) | |
download | labviewplayer-add331408b0f207b82f3ec1b76251c700197e807.tar.gz |
Diffstat (limited to 'slides/final/theme/scss/phone.scss')
-rw-r--r-- | slides/final/theme/scss/phone.scss | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/slides/final/theme/scss/phone.scss b/slides/final/theme/scss/phone.scss new file mode 100644 index 0000000..c6a4043 --- /dev/null +++ b/slides/final/theme/scss/phone.scss | |||
@@ -0,0 +1,35 @@ | |||
1 | @import "compass/css3/transition"; | ||
2 | |||
3 | |||
4 | /*Smartphones (portrait and landscape) ----------- */ | ||
5 | /*@media only screen | ||
6 | and (min-width : 320px) | ||
7 | and (max-width : 480px) { | ||
8 | |||
9 | }*/ | ||
10 | |||
11 | /* Smartphones (portrait) ----------- */ | ||
12 | //@media only screen and (max-device-width: 480px) { | ||
13 | /* Styles */ | ||
14 | //$slide-width: 350px; | ||
15 | //$slide-height: 500px; | ||
16 | |||
17 | slides > slide { | ||
18 | /* width: $slide-width !important; | ||
19 | height: $slide-height !important; | ||
20 | margin-left: -$slide-width / 2 !important; | ||
21 | margin-top: -$slide-height / 2 !important; | ||
22 | */ | ||
23 | // Don't do full slide transitions on mobile. | ||
24 | -webkit-transition: none !important; // Bug in compass? Not sure why the below is not working | ||
25 | @include transition(none !important); | ||
26 | } | ||
27 | |||
28 | //} | ||
29 | |||
30 | /* iPhone 4 ----------- */ | ||
31 | @media | ||
32 | only screen and (-webkit-min-device-pixel-ratio : 1.5), | ||
33 | only screen and (min-device-pixel-ratio : 1.5) { | ||
34 | /* Styles */ | ||
35 | } \ No newline at end of file | ||