A list where items build:
-
-
- Blah -
- Blah -
- Blah +
- Pressing 'h' will highlight code snippets +
- Pressing 'n' will toggle extra notes +
- Pressing 'f' will toggle fullscreen viewing
Another list, but items fade as they build:
-
@@ -368,7 +372,7 @@ function helloWorld(world) {
settings: {
title: 'Title Goes Here
Up To Two Lines', subtitle: 'Subtitle Goes Here', - theme: 'default', + //theme: ['mytheme'], hashtag: '#html5', //TODO useBuilds: true, usePrettify: true, @@ -402,7 +406,7 @@ function helloWorld(world) { - + 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 */ +} 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 @@ +@import "compass/css3/transition"; + +/* Smartphones (portrait) ----------- */ +//@media only screen and (max-device-width: 480px) { +/* Styles */ +$slide-width: 350px; +$slide-height: 500px; + +slides > slide { +/* width: $slide-width !important; + height: $slide-height !important; + margin-left: -$slide-width / 2 !important; + margin-top: -$slide-height / 2 !important; +*/ + // Don't do full slide transitions on mobile. + -webkit-transition: none !important; // Bug in compass? Not sure why the below is not working + @include 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 */ +} \ No newline at end of file -- cgit v1.2.3