This is a copy of the slides from github.com/kenrussell/siggraph2012course with content added for Canvas and CSS portions of the course. There are also local versions of some popular CSS and Canvas examples from the web (in the demos folder).
The original slides come from http://io-2012-slides.googlecode.com. They have been modified to create a SIGGRAPH 2012 template.
Configuring the slides
Much of the deck is customized by changing the settings in
Some of the customizations include the title, Analytics tracking ID, speaker
information (name, social urls, blog), web fonts to load, themes, and other
The bottom of the slides include
#io12 by default. If you'd like to change
this, please update the variable
$social-tags: '#io12'; in
See the next section on "Editing CSS" before you go editing things.
Compass is a CSS preprocessor used to compile SCSS/SASS into CSS. We chose SCSS for the new slide deck for maintainability, easier browser compatibility, and because...it's the future!
That said, if not comfortable working with SCSS or don't want to learn something
new, not a problem. The generated .css files can already be found in
/theme/css). You can just edit those and bypass SCSS altogether.
However, our recommendation is to use Compass. It's super easy to install and use.
Installing Compass and making changes
First, install compass:
sudo gem update --system sudo gem install compass
Next, you'll want to watch for changes to the exiting .scss files in
and any new one you add:
$ cd io-2012-slides $ compass watch
This command automatically recompiles the .scss file when you make a change.
Its corresponding .css file is output to
config.rb in the main project folder outputs minified
.css. It's a best practice after all! However, if you want unminified files,
run watch with the style output flag:
compass watch -s expanded
Note: You should not need to edit
Running the slides
The slides can be run locally from
file:// making development easy :)
Running from a web server
$ cd io-2012-slides $ ./serve.sh
You can also specify a custom port:
$ ./serve.sh 8080
The slides contain a presenter mode feature (beta) to view + control the slides from a popup window.
To enable presenter mode, add
presentme=true to the URL: http://localhost:8000/template.html?presentme=true
To disable presenter mode, hit http://localhost:8000/template.html?presentme=false
Presenter mode is sticky, so refreshing the page will persist your settings.
That's all she wrote!