Permalink
Browse files

Initial commit

  • Loading branch information...
mocoso committed Jan 26, 2010
0 parents commit 15bb9ce4fcb33e84625ea4f003b808f30390099f
118 2020.css
@@ -0,0 +1,118 @@
+/* The Puritan font is Ben Weiner's http://openfontlibrary.fontly.org/people/benweiner */
+@font-face {
+ font-family: Puritan;
+ src: url("/file/fonts/benweiner_-_Puritan_Regular.otf") format("opentype")
+ }
+
+@font-face {
+ font-family: Puritan;
+ src: url("/file/fonts/benweiner_-_Puritan_Bold.otf") format("opentype");
+ font-weight: bold;
+ }
+
+@font-face {
+ font-family: Puritan;
+ src: url("/file/fonts/benweiner_-_Puritan_Bold_Italic.otf") format("opentype");
+ font-weight: bold;
+ font-style: italic;
+ }
+
+@font-face {
+ font-family: Puritan;
+ src: url("/file/fonts/benweiner_-_Puritan_Italic.otf") format("opentype");
+ font-style: italic;
+ }
+
+body {
+ font-family: Puritan, Helvetica, Arial, sans-serif;
+ font-size: 0.8em;
+}
+
+#preso {
+ margin: 0;
+ padding: 0;
+ max-width: 800px;
+ max-height: 600px;
+}
+
+#footer {
+ /* visibility: hidden; */
+ margin-top: 5px;
+ max-width: 794px;
+ width: 100%;
+}
+
+.slide {
+ border: none;
+}
+
+.slide p {
+ font-size: 2em;
+ margin-left: 1em;
+ margin-right: 1em;
+}
+
+code {
+ font-size: 0.65em;
+}
+
+h1 {
+ color: red;
+ font-size: 3.2em;
+ font-weight: bold;
+}
+
+h2 {
+ font-size: 2.5em;
+}
+
+.full-page-image img {
+ margin: 0;
+ padding: 0;
+ width: 100%;
+ /* dont enlarge the image more, than its initial resolution */
+ max-width: 800px;
+ max-height: 565px;
+ /* Set the height dynamically depending on the image's current width, keeping the aspect ratio */
+ height: auto;
+}
+
+.full-page-image p {
+ margin: 0 0 0 0;
+}
+
+.full-page-image p:not(:first-child),
+.full-page-image h1,
+.full-page-image h2 {
+ position: relative;
+ z-index: 1;
+ background-image: url('white.png');
+ background-position: top left;
+}
+
+
+.full-page-image p:not(:first-child) {
+ position: relative;
+ opacity: .5;
+ top: -4em;
+ padding: 5px 10px 5px 10px;
+ color: grey;
+ font-size: 0.8em;
+ float: right;
+}
+
+.full-page-image h1 {
+ position: absolute;
+ top: 3em;
+ left: 0px;
+ width: 100%;
+ padding: 10px;
+}
+
+.full-page-image h2 {
+ position: absolute;
+ top: 9em;
+ left: 0px;
+ width: 100%;
+ padding: 10px;
+}
@@ -0,0 +1,11 @@
+!SLIDE
+
+# Customisable #
+
+ @@@ javascript
+ function pechaKucha()
+ {
+ setInterval(function() {
+ nextStep();
+ }, 20000);
+ }
@@ -0,0 +1,12 @@
+!SLIDE full-page-image
+
+![Thank you](thankyou.jpg "Thank you")
+
+Image courtesy of [TheTruthAbout...](http://www.flickr.com/photos/thetruthabout/2668888527/)
+
+
+!SLIDE
+
+# Credits #
+
+List pictures and licenses
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,11 @@
+!SLIDE
+
+# Get started #
+
+ $ git clone git://github.com/schacon/showoff.git
+
+ $ cd showoff
+
+ $ ./bin/showoff serve
+
+And open http://localhost:9090 in your browser
@@ -0,0 +1,60 @@
+var pechaKuchaSetUp = false;
+var pechaKuchaRunning = false;
+
+function setUpPechaKucha()
+{
+ if (pechaKuchaSetUp) { return; }
+
+ pechaKuchaSetUp = true;
+
+ $("#slideInfo").after('<span id="pechaKuchaInfo"></span>');
+
+ $(document).keydown(function(event) {
+ var key = event.keyCode;
+
+ if (event.ctrlKey || event.altKey || event.metaKey) { return; }
+
+ // p for a pecha-kucha 20x20 talk http://www.pecha-kucha.org/
+ if (key == 80)
+ {
+ pechaKucha();
+ }
+ });
+}
+
+// For a pecha-kucha 20x20 talk
+//
+// Will go to the next slide every 20 seconds
+//
+// See http://www.pecha-kucha.org/ for more details
+function pechaKucha()
+{
+ pechaKuchaRunning = true
+ $("#pechaKuchaInfo").text(pechaKuchaStatus(0));
+ if (pechaKuchaRunning) {
+ var seconds = 0;
+ setInterval(function() {
+ seconds++;
+ $("#pechaKuchaInfo").text(pechaKuchaStatus(seconds))
+ if (seconds == 20) {
+ seconds = 0;
+ nextStep();
+ }
+ }, 1000);
+}
+}
+
+function pechaKuchaStatus(seconds) {
+ if (pechaKuchaRunning) {
+ if (seconds > 14) {
+ var transitionCountDown = ' (' + (20 - seconds) + ')';
+ } else {
+ var transitionCountDown = '';
+ }
+ return ' - 20x20 mode' + transitionCountDown;
+ }
+}
+
+$(function(){
+ setUpPechaKucha();
+});
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,16 @@
+!SLIDE full-page-image
+
+![Powerpoint](powerpoint.jpg "Powerpoint")
+
+
+!SLIDE full-page-image
+
+![Lock](lock.jpg "Lock")
+
+Image courtesy of [Chandrachoodan Gopalakrishnan](http://www.flickr.com/photos/ravages/2852578947/)
+
+!SLIDE full-page-image
+
+![Frustration](frustration.jpg "Frustration")
+
+Image courtesy of [Jason Corneveaux](http://www.flickr.com/photos/corneveaux/3248566797/)
@@ -0,0 +1,8 @@
+[
+ {"section":"title"},
+ {"section":"problem"},
+ {"section":"solution"},
+ {"section":"bonus"},
+ {"section":"howto"},
+ {"section":"close"}
+]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,109 @@
+!SLIDE full-page-image
+
+![Exploded](exploded.jpg "Exploded")
+
+Image courtesy of [purplemattfish](http://www.flickr.com/photos/purplemattfish/3299198538/)
+
+
+!SLIDE full-page-image
+
+![Scott Chacon](scott.jpg "Scott Chacon")
+
+Image courtesy of [Fraser Speirs](http://www.flickr.com/photos/fraserspeirs/3395523242/)
+
+
+!SLIDE full-page-image
+
+![Ruby](ruby.jpg "ruby")
+
+Image courtesy of [JOBAfunky](http://www.flickr.com/photos/jobafunky/4055955887/)
+
+
+!SLIDE
+
+# Write slides in markdown #
+
+ ![Showing off](peafowl.jpg "Showing off")
+
+ Image courtesy of [rappensuncle](http://www.flickr.com/photos/rappensuncle/146681779/)
+
+ # Showing off with Ruby #
+
+ ## by Joel Chippindale ##
+
+
+!SLIDE
+
+# ...and sprinkle on a bit of #
+
+## CSS ##
+
+ @@@ css
+ .slide {
+ border: 1px solid #fff;
+ }
+
+## Javascript ##
+
+ @@@ javascript
+ function showFirstSlide() {
+ slidenum = 0;
+ showSlide();
+ }
+
+
+!SLIDE
+
+# Code highlighting #
+
+ @@@ ruby
+ require 'sinatra/base'
+
+ class MyApp < Sinatra::Base
+ set :sessions, true
+ set :foo, 'bar'
+
+ get '/' do
+ 'Hello world!'
+ end
+ end
+
+
+!SLIDE
+
+# In source control #
+
+"Have you checked your files in note like this" http://www.flickr.com/photos/simbolism/3854554155/
+
+
+!SLIDE
+
+ @@@ diff
+ diff --git a/example/bonus/bonus.md b/example/bonus/bonus.md
+ index 7d359ff..3327815 100644
+ --- a/example/bonus/bonus.md
+ +++ b/example/bonus/bonus.md
+ @@ -1,8 +1,7 @@
+ -# Easy to add functionality #
+ +# Customisable #
+
+ + @@@ javascript
+
+
+!SLIDE full-page-image
+
+![Web](spiderweb.jpg "Web")
+
+Image courtesy of [Jared and Corin](http://www.flickr.com/photos/redjar/113716132/)
+
+
+!SLIDE
+
+# Textmate #
+
+Include a picture
+
+
+!SLIDE center
+
+<img src="opera.png" height="512" width="512" alt="Opera" />
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,16 @@
+!SLIDE full-page-image title
+
+![Showing off](peafowl.jpg "Showing off")
+
+Image courtesy of [rappensuncle](http://www.flickr.com/photos/rappensuncle/146681779/)
+
+# Showing off with Ruby #
+
+## by Joel Chippindale ##
+
+!SLIDE full-page-image
+
+![A speaker](lessig.jpg "Lawrence Lessing speaking")
+
+Image courtesy of [Robert Scoble](http://www.flickr.com/photos/scobleizer/2236177028/)
+
BIN white.png
Binary file not shown.

0 comments on commit 15bb9ce

Please sign in to comment.