summaryrefslogtreecommitdiff
path: root/slides/final/theme/scss/phone.scss
diff options
context:
space:
mode:
Diffstat (limited to 'slides/final/theme/scss/phone.scss')
-rw-r--r--slides/final/theme/scss/phone.scss35
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
6and (min-width : 320px)
7and (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
17slides > 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
32only screen and (-webkit-min-device-pixel-ratio : 1.5),
33only screen and (min-device-pixel-ratio : 1.5) {
34/* Styles */
35} \ No newline at end of file