├── slides ├── stop-emception.html ├── index.md ├── quick-demo.html ├── itcss.html ├── calculating-ems-and-rems.html ├── realtive-sizing-good.html ├── best-css.html ├── rems-and-ems.html ├── typography.html ├── what-makes-good-css.html ├── emception-2.html ├── specificity.html ├── list.json ├── emception.html ├── rem-reset.html ├── bem.html └── base-font-size.html ├── resources └── .gitkeep ├── .bowerrc ├── .gitignore ├── img ├── calculate.jpg ├── specificity.jpg └── itcss.svg ├── bower.json ├── .yo-rc.json ├── .editorconfig ├── .jshintrc ├── templates ├── _section.html └── _index.html ├── package.json ├── css ├── template │ ├── settings.scss │ ├── mixins.scss │ └── theme.scss ├── README.md ├── source │ └── theme.scss ├── onedarkhl.css ├── night.css ├── serif.css ├── moon.css ├── solarized.css ├── theme.css ├── white.css ├── black.css ├── simple.css ├── sky.css ├── blood.css ├── beige.css └── league.css ├── js └── loadhtmlslides.js └── Gruntfile.coffee /slides/stop-emception.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/.gitkeep: -------------------------------------------------------------------------------- 1 | Used to store static assets -------------------------------------------------------------------------------- /slides/index.md: -------------------------------------------------------------------------------- 1 | # Practical tips for Scalable CSS 2 | -------------------------------------------------------------------------------- /slides/quick-demo.html: -------------------------------------------------------------------------------- 1 |

Quick demo

2 | 3 | -------------------------------------------------------------------------------- /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "bower_components" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | bower_components 3 | dist 4 | *.log 5 | .sass-cache 6 | /index.html 7 | -------------------------------------------------------------------------------- /slides/itcss.html: -------------------------------------------------------------------------------- 1 |

Organizing and categorizing

2 | 3 | -------------------------------------------------------------------------------- /img/calculate.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/presentation-practical-tips-for-scalable-css/master/img/calculate.jpg -------------------------------------------------------------------------------- /slides/calculating-ems-and-rems.html: -------------------------------------------------------------------------------- 1 |
2 | 3 |
4 | -------------------------------------------------------------------------------- /img/specificity.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhq/presentation-practical-tips-for-scalable-css/master/img/specificity.jpg -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "practical-tips-for-scalable-css", 3 | "version": "1.0.0", 4 | "dependencies": { 5 | "reveal.js": "~3.2.0", 6 | "highlightjs": "~9.0.0" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /.yo-rc.json: -------------------------------------------------------------------------------- 1 | { 2 | "generator-reveal": { 3 | "presentationTitle": "Practical tips for Scalable CSS", 4 | "packageVersion": "1.0.0", 5 | "useSass": true, 6 | "deployToGithubPages": false 7 | } 8 | } -------------------------------------------------------------------------------- /slides/realtive-sizing-good.html: -------------------------------------------------------------------------------- 1 |

Relative sizing is for...

2 | 8 | 9 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 4 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | -------------------------------------------------------------------------------- /slides/best-css.html: -------------------------------------------------------------------------------- 1 |

main.scss:1923

2 |
3 |     
4 |     html body #get-this#damn-modalDialog#to-the-front#god-damnit {
5 |         z-index: 9999999999 !important;
6 |     }
7 |      
8 | 
9 | -------------------------------------------------------------------------------- /slides/rems-and-ems.html: -------------------------------------------------------------------------------- 1 |

REM's and EM's

2 | 9 | -------------------------------------------------------------------------------- /slides/typography.html: -------------------------------------------------------------------------------- 1 |

Flexible components

2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /slides/what-makes-good-css.html: -------------------------------------------------------------------------------- 1 |

What makes good css?

2 | 9 | 10 | -------------------------------------------------------------------------------- /slides/emception-2.html: -------------------------------------------------------------------------------- 1 |
 2 | 
 3 |     
10 | 
11 | 
12 |
13 |     
14 |        li { font-size: .5em; }
15 |     
16 | 
17 | -------------------------------------------------------------------------------- /slides/specificity.html: -------------------------------------------------------------------------------- 1 |

Specificity

2 | 3 | 4 |
 5 | 
 6 |     #main #header button { background-color: red; }   //201
 7 |     #header .button      { background-color: blue; }  //110
 8 |     .header .button      { background-color: green; } //20
 9 | 
10 | 
11 | -------------------------------------------------------------------------------- /slides/list.json: -------------------------------------------------------------------------------- 1 | [ 2 | "index.md", 3 | "best-css.html", 4 | "what-makes-good-css.html", 5 | "specificity.html", 6 | "bem.html", 7 | "itcss.html", 8 | "typography.html", 9 | "rems-and-ems.html", 10 | "calculating-ems-and-rems.html", 11 | "emception.html", 12 | "emception-2.html", 13 | "base-font-size.html", 14 | "realtive-sizing-good.html", 15 | "quick-demo.html" 16 | ] 17 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "esnext": true, 3 | "bitwise": true, 4 | "camelcase": true, 5 | "curly": true, 6 | "eqeqeq": true, 7 | "immed": true, 8 | "indent": 4, 9 | "latedef": true, 10 | "newcap": true, 11 | "noarg": true, 12 | "quotmark": "single", 13 | "undef": true, 14 | "unused": true, 15 | "strict": true, 16 | "trailing": true, 17 | "smarttabs": true, 18 | "white": true 19 | } 20 | -------------------------------------------------------------------------------- /templates/_section.html: -------------------------------------------------------------------------------- 1 | <% if (!_.isString(slide) && !_.isArray(slide) && _.isObject(slide)) { %> 2 |
<% if (_.isString(slide.filename)) { %>data-<% if (slide.filename.indexOf('.html') !== -1) { %>html<% } else { %>markdown<% }%>="slides/<%= slide.filename %>"<% } %>>
3 | <% } %><% if (_.isString(slide)) { %> 4 |
html<% } else { %>markdown<% }%>="slides/<%= slide %>">
5 | <% } %> 6 | -------------------------------------------------------------------------------- /slides/emception.html: -------------------------------------------------------------------------------- 1 |

Emception

2 | 3 |
4 |
 5 |         
 6 |         
11 |         
12 |     
13 |
14 |         
15 |         .sidebar { font-size: 1em; }
16 |         .article-list { font-size: .75em; }
17 |         .article-teaser { font-size: .5em; }
18 |         
19 |     
20 | 21 |
22 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "practical-tips-for-scalable-css", 3 | "version": "1.0.0", 4 | "private": true, 5 | "devDependencies": { 6 | "grunt": "^0.4.5", 7 | "grunt-sass": "^1.1.0", 8 | "grunt-contrib-connect": "^0.10.1", 9 | "grunt-contrib-watch": "^0.6.1", 10 | "grunt-contrib-copy": "^0.8.0", 11 | "grunt-contrib-jshint": "^0.11.2", 12 | "load-grunt-tasks": "^3.2.0", 13 | "grunt-coffeelint": "0.0.13", 14 | "coffeelint": "^1.0.0" 15 | }, 16 | "engines": { 17 | "node": ">=0.10.0", 18 | "npm": ">=1.3.7" 19 | }, 20 | "scripts": { 21 | "test": "grunt test" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /slides/rem-reset.html: -------------------------------------------------------------------------------- 1 |
 2 |     
 3 |     .sidebar {
 4 |     font-size: 2.5rem;
 5 |         .sidebar__content {
 6 |             font-size: 2em;
 7 |         }
 8 |     }
 9 | 
10 |     .news-item {
11 |         font-size: 1.25rem;
12 | 
13 |         &__title {
14 |             font-size: 1.5em;
15 |             margin-bottom: .75em;
16 |         }
17 |     }
18 |      
19 | 
20 |
21 |     
22 |         
29 |      
30 | 
31 | -------------------------------------------------------------------------------- /slides/bem.html: -------------------------------------------------------------------------------- 1 |

BEM

2 |

Block Element Modifier

3 | 4 |
 5 |     
 6 |     .news-list {
 7 |         &__header {}
 8 | 
 9 |         &__intro {}
10 | 
11 |         &--featured {}
12 |     }
13 |     
14 | 
15 | 16 |
17 |     
18 |     
19 |

List of news

20 |

Lorem enim quaerat explicabo

21 |
22 |
23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /slides/base-font-size.html: -------------------------------------------------------------------------------- 1 |
 2 |     
 3 |     html { font-size: 62.5%; } //Most often 10px
 4 |      
 5 | 
6 |
 7 |     
 8 |     body { font-size: 1.6rem; }
 9 |      
10 | 
11 |
12 |     
13 |     
20 |     
21 |     
22 |
23 |     
24 |     .sidebar { font-size: 1.6rem; }
25 |     .article-list { font-size: 1.2rem; }
26 |     .article-list__container { font-size: .6em; }
27 |     .article-teaser { font-size: 1.6rem; }
28 |     
29 | 
30 | -------------------------------------------------------------------------------- /css/template/settings.scss: -------------------------------------------------------------------------------- 1 | // Base settings for all themes that can optionally be 2 | // overridden by the super-theme 3 | 4 | // Background of the presentation 5 | $backgroundColor: #2b2b2b; 6 | 7 | // Primary/body text 8 | $mainFont: 'Lato', sans-serif; 9 | $mainFontSize: 36px; 10 | $mainColor: #eee; 11 | 12 | // Vertical spacing between blocks of text 13 | $blockMargin: 20px; 14 | 15 | // Headings 16 | $headingMargin: 0 0 $blockMargin 0; 17 | $headingFont: 'League Gothic', Impact, sans-serif; 18 | $headingColor: #eee; 19 | $headingLineHeight: 1.2; 20 | $headingLetterSpacing: normal; 21 | $headingTextTransform: uppercase; 22 | $headingTextShadow: none; 23 | $headingFontWeight: normal; 24 | $heading1TextShadow: $headingTextShadow; 25 | 26 | $heading1Size: 3.77em; 27 | $heading2Size: 2.11em; 28 | $heading3Size: 1.55em; 29 | $heading4Size: 1.00em; 30 | 31 | // Links and actions 32 | $linkColor: #13DAEC; 33 | $linkColorHover: lighten( $linkColor, 20% ); 34 | 35 | // Text selection 36 | $selectionBackgroundColor: #FF5E99; 37 | $selectionColor: #fff; 38 | 39 | // Generates the presentation background, can be overridden 40 | // to return a background image or gradient 41 | @mixin bodyBackground() { 42 | background: $backgroundColor; 43 | } -------------------------------------------------------------------------------- /css/README.md: -------------------------------------------------------------------------------- 1 | ## Dependencies 2 | 3 | Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Make sure that you have the reveal.js development environment including the Grunt dependencies installed before proceding: https://github.com/hakimel/reveal.js#full-setup 4 | 5 | ## Creating a Theme 6 | 7 | To create your own theme, start by duplicating a ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source). It will be automatically compiled by Grunt from Sass to CSS (see the [Gruntfile](https://github.com/hakimel/reveal.js/blob/master/Gruntfile.js)) when you run `grunt css-themes`. 8 | 9 | Each theme file does four things in the following order: 10 | 11 | 1. **Include [/css/theme/template/mixins.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/mixins.scss)** 12 | Shared utility functions. 13 | 14 | 2. **Include [/css/theme/template/settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss)** 15 | Declares a set of custom variables that the template file (step 4) expects. Can be overridden in step 3. 16 | 17 | 3. **Override** 18 | This is where you override the default theme. Either by specifying variables (see [settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss) for reference) or by adding any selectors and styles you please. 19 | 20 | 4. **Include [/css/theme/template/theme.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/theme.scss)** 21 | The template theme file which will generate final CSS output based on the currently defined variables. 22 | -------------------------------------------------------------------------------- /css/template/mixins.scss: -------------------------------------------------------------------------------- 1 | @mixin vertical-gradient( $top, $bottom ) { 2 | background: $top; 3 | background: -moz-linear-gradient( top, $top 0%, $bottom 100% ); 4 | background: -webkit-gradient( linear, left top, left bottom, color-stop(0%,$top), color-stop(100%,$bottom) ); 5 | background: -webkit-linear-gradient( top, $top 0%, $bottom 100% ); 6 | background: -o-linear-gradient( top, $top 0%, $bottom 100% ); 7 | background: -ms-linear-gradient( top, $top 0%, $bottom 100% ); 8 | background: linear-gradient( top, $top 0%, $bottom 100% ); 9 | } 10 | 11 | @mixin horizontal-gradient( $top, $bottom ) { 12 | background: $top; 13 | background: -moz-linear-gradient( left, $top 0%, $bottom 100% ); 14 | background: -webkit-gradient( linear, left top, right top, color-stop(0%,$top), color-stop(100%,$bottom) ); 15 | background: -webkit-linear-gradient( left, $top 0%, $bottom 100% ); 16 | background: -o-linear-gradient( left, $top 0%, $bottom 100% ); 17 | background: -ms-linear-gradient( left, $top 0%, $bottom 100% ); 18 | background: linear-gradient( left, $top 0%, $bottom 100% ); 19 | } 20 | 21 | @mixin radial-gradient( $outer, $inner, $type: circle ) { 22 | background: $outer; 23 | background: -moz-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 24 | background: -webkit-gradient( radial, center center, 0px, center center, 100%, color-stop(0%,$inner), color-stop(100%,$outer) ); 25 | background: -webkit-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 26 | background: -o-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 27 | background: -ms-radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 28 | background: radial-gradient( center, $type cover, $inner 0%, $outer 100% ); 29 | } -------------------------------------------------------------------------------- /css/source/theme.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. This is the opposite of the 'white' theme. 3 | * 4 | * Copyright (C) 2015 Hakim El Hattab, http://hakim.se 5 | */ 6 | 7 | // This file has been copied over from 8 | // ../../bower_components/reveal.js/css/theme/source/black.scss 9 | 10 | // See ../../bower_components/reveal.js/css/theme/README.md 11 | // for further explanations on how to create a custom reveal.js theme. 12 | 13 | // Default mixins and settings ----------------- 14 | @import "../../bower_components/reveal.js/css/theme/template/mixins"; 15 | @import "../../bower_components/reveal.js/css/theme/template/settings"; 16 | // --------------------------------------------- 17 | 18 | 19 | // Include theme-specific fonts 20 | @import url(../bower_components/reveal.js/lib/font/source-sans-pro/source-sans-pro.css); 21 | 22 | 23 | // Override theme settings (see ../../bower_components/reveal.js/css/theme/template/settings.scss) 24 | $backgroundColor: #222; 25 | 26 | $mainColor: #fff; 27 | $headingColor: #fff; 28 | 29 | $mainFontSize: 38px; 30 | $mainFont: 'Source Sans Pro', Helvetica, sans-serif; 31 | $headingFont: 'Source Sans Pro', Helvetica, sans-serif; 32 | $headingTextShadow: none; 33 | $headingLetterSpacing: normal; 34 | $headingTextTransform: uppercase; 35 | $headingFontWeight: 600; 36 | $linkColor: #42affa; 37 | $linkColorHover: lighten( $linkColor, 15% ); 38 | $selectionBackgroundColor: lighten( $linkColor, 25% ); 39 | 40 | $heading1Size: 2.5em; 41 | $heading2Size: 1.6em; 42 | $heading3Size: 1.3em; 43 | $heading4Size: 1.0em; 44 | 45 | section.has-light-background { 46 | &, h1, h2, h3, h4, h5, h6 { 47 | color: #222; 48 | } 49 | } 50 | 51 | // Theme template ------------------------------ 52 | @import "../../bower_components/reveal.js/css/theme/template/theme"; 53 | // --------------------------------------------- 54 | -------------------------------------------------------------------------------- /js/loadhtmlslides.js: -------------------------------------------------------------------------------- 1 | // Modified from markdown.js from Hakim to handle external html files 2 | (function () { 3 | /*jslint loopfunc: true, browser: true*/ 4 | /*globals alert*/ 5 | 'use strict'; 6 | 7 | var querySlidingHtml = function () { 8 | var sections = document.querySelectorAll('[data-html]'), 9 | section, j, jlen; 10 | 11 | for (j = 0, jlen = sections.length; j < jlen; j++) { 12 | section = sections[j]; 13 | 14 | if (section.getAttribute('data-html').length) { 15 | 16 | var xhr = new XMLHttpRequest(), 17 | url = section.getAttribute('data-html'), 18 | cb = function () { 19 | if (xhr.readyState === 4) { 20 | if ( 21 | (xhr.status >= 200 && xhr.status < 300) || 22 | xhr.status === 0 // file protocol yields status code 0 (useful for local debug, mobile applications etc.) 23 | ) { 24 | section.innerHTML = xhr.responseText; 25 | } else { 26 | section.outerHTML = '
ERROR: The attempt to fetch ' + url + ' failed with the HTTP status ' + xhr.status + '. Check your browser\'s JavaScript console for more details.

'; 27 | } 28 | } 29 | }; 30 | 31 | xhr.onreadystatechange = cb; 32 | 33 | xhr.open('GET', url, false); 34 | try { 35 | xhr.send(); 36 | } catch (e) { 37 | alert('Failed to get file' + url + '.' + e); 38 | } 39 | } 40 | } 41 | }; 42 | 43 | querySlidingHtml(); 44 | })(); 45 | -------------------------------------------------------------------------------- /css/onedarkhl.css: -------------------------------------------------------------------------------- 1 | /* 2 | One-dark by Atom 3 | https://github.com/atom/one-dark-syntax 4 | https://atom.io/ 5 | 6 | Highlight.js port by MegaXLR 7 | https://github.com/megaxlr/Highlight.js-One-Dark 8 | http://megaxlr.net/ 9 | 10 | Base theme Railcasts by 11 | Railscasts-like style (c) Visoft, Inc. (Damien White) 12 | http://visoftinc.com/ (I hope that is the right URL, didn't really check :-/) 13 | */ 14 | @import url(https://fonts.googleapis.com/css?family=Inconsolata); 15 | .hljs { 16 | display: block; 17 | overflow-x: auto; 18 | padding: 0.5em; 19 | background: #282c34; 20 | color: #abb2bf; 21 | font-family: "Inconsolata"; 22 | font-size: 1.1em; 23 | font-weight: bold; 24 | } 25 | .hljs > *::selection { 26 | background-color: #3e4451; 27 | } 28 | .hljs-comment { 29 | color: #5c6370; 30 | font-style: italic; 31 | } 32 | 33 | .hljs-selector-tag { 34 | color: #e06c75; 35 | } 36 | 37 | .hljs-string { 38 | color: #98c379; 39 | } 40 | .hljs-number, 41 | .hljs-regexp, 42 | .hljs-variable, 43 | .hljs-template-variable { 44 | color: #d19a66; 45 | } 46 | 47 | .hljs-subst { 48 | color: #519f50; 49 | } 50 | .hljs-keyword { 51 | color: #c678dd; 52 | } 53 | .hljs-function > .hljs-title { 54 | color: #61afef; 55 | } 56 | .hljs-tag { 57 | color: #abb2bf; 58 | } 59 | .hljs-name { 60 | color: #e06c75; 61 | } 62 | .hljs-type { 63 | color: #da4939; 64 | } 65 | 66 | .hljs-attr { 67 | color: #d19a66; 68 | } 69 | .hljs-symbol, 70 | .hljs-bullet, 71 | .hljs-built_in, 72 | .hljs-builtin-name, 73 | .hljs-link { 74 | color: #6d9cbe; 75 | } 76 | 77 | .hljs-params { 78 | color: #d0d0ff; 79 | } 80 | 81 | 82 | .hljs-meta { 83 | color: #; 84 | } 85 | 86 | .hljs-title, 87 | .hljs-section { 88 | color: #ffc66d; 89 | } 90 | 91 | .hljs-addition { 92 | background-color: #144212; 93 | color: #e6e1dc; 94 | display: inline-block; 95 | width: 100%; 96 | } 97 | 98 | .hljs-deletion { 99 | background-color: #600; 100 | color: #e6e1dc; 101 | display: inline-block; 102 | width: 100%; 103 | } 104 | 105 | .hljs-selector-class { 106 | color: #9b703f; 107 | } 108 | 109 | .hljs-selector-id { 110 | color: #8b98ab; 111 | } 112 | 113 | .hljs-emphasis { 114 | font-style: italic; 115 | } 116 | 117 | .hljs-strong { 118 | font-weight: bold; 119 | } 120 | 121 | .hljs-link { 122 | text-decoration: underline; 123 | } 124 | -------------------------------------------------------------------------------- /img/itcss.svg: -------------------------------------------------------------------------------- 1 | itcss-layers1TRUMPSCOMPONENTSTOOLSGENERICELEMENTSOBJECTSSETTINGS -------------------------------------------------------------------------------- /templates/_index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Practical tips for Scalable CSS 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 27 | 28 | 29 | 30 | 37 | 38 | 41 | 42 | 43 | 44 | 45 |
46 | 47 |
48 | 49 | <% _.forEach(slides, function(slide) { %> 50 | <% if (!_.isArray(slide)) { %> 51 | <%= section(slide) %> 52 | <% } %> 53 | <% if (_.isArray(slide)) { %> 54 |
55 | <% _.forEach(slide, function(verticalslide) { %> 56 | <%= section(verticalslide) %> 57 | <% }); %> 58 |
59 | <% } %> 60 | <% }); %> 61 |
62 | 63 |
64 | 65 | 66 | 67 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /Gruntfile.coffee: -------------------------------------------------------------------------------- 1 | # Generated on 2016-09-17 using generator-reveal 0.5.9 2 | module.exports = (grunt) -> 3 | 4 | grunt.initConfig 5 | pkg: grunt.file.readJSON 'package.json' 6 | 7 | watch: 8 | 9 | livereload: 10 | options: 11 | livereload: true 12 | files: [ 13 | 'index.html' 14 | 'slides/{,*/}*.{md,html}' 15 | 'js/*.js' 16 | 'css/*.css' 17 | 'resources/**' 18 | ] 19 | 20 | index: 21 | files: [ 22 | 'templates/_index.html' 23 | 'templates/_section.html' 24 | 'slides/list.json' 25 | ] 26 | tasks: ['buildIndex'] 27 | 28 | coffeelint: 29 | files: ['Gruntfile.coffee'] 30 | tasks: ['coffeelint'] 31 | 32 | jshint: 33 | files: ['js/*.js'] 34 | tasks: ['jshint'] 35 | 36 | sass: 37 | files: ['css/source/theme.scss'] 38 | tasks: ['sass'] 39 | 40 | sass: 41 | 42 | theme: 43 | files: 44 | 'css/theme.css': 'css/source/theme.scss' 45 | 46 | connect: 47 | 48 | livereload: 49 | options: 50 | port: 9000 51 | # Change hostname to '0.0.0.0' to access 52 | # the server from outside. 53 | hostname: 'localhost' 54 | base: '.' 55 | open: true 56 | livereload: true 57 | 58 | coffeelint: 59 | 60 | options: 61 | indentation: 62 | value: 4 63 | max_line_length: 64 | level: 'ignore' 65 | 66 | all: ['Gruntfile.coffee'] 67 | 68 | jshint: 69 | 70 | options: 71 | jshintrc: '.jshintrc' 72 | 73 | all: ['js/*.js'] 74 | 75 | copy: 76 | 77 | dist: 78 | files: [{ 79 | expand: true 80 | src: [ 81 | 'slides/**' 82 | 'bower_components/**' 83 | 'js/**' 84 | 'css/*.css' 85 | 'resources/**' 86 | ] 87 | dest: 'dist/' 88 | },{ 89 | expand: true 90 | src: ['index.html'] 91 | dest: 'dist/' 92 | filter: 'isFile' 93 | }] 94 | 95 | 96 | 97 | 98 | # Load all grunt tasks. 99 | require('load-grunt-tasks')(grunt) 100 | 101 | grunt.registerTask 'buildIndex', 102 | 'Build index.html from templates/_index.html and slides/list.json.', 103 | -> 104 | indexTemplate = grunt.file.read 'templates/_index.html' 105 | sectionTemplate = grunt.file.read 'templates/_section.html' 106 | slides = grunt.file.readJSON 'slides/list.json' 107 | 108 | html = grunt.template.process indexTemplate, data: 109 | slides: 110 | slides 111 | section: (slide) -> 112 | grunt.template.process sectionTemplate, data: 113 | slide: 114 | slide 115 | grunt.file.write 'index.html', html 116 | 117 | grunt.registerTask 'test', 118 | '*Lint* javascript and coffee files.', [ 119 | 'coffeelint' 120 | 'jshint' 121 | ] 122 | 123 | grunt.registerTask 'serve', 124 | 'Run presentation locally and start watch process (living document).', [ 125 | 'buildIndex' 126 | 'sass' 127 | 'connect:livereload' 128 | 'watch' 129 | ] 130 | 131 | grunt.registerTask 'dist', 132 | 'Save presentation files to *dist* directory.', [ 133 | 'test' 134 | 'sass' 135 | 'buildIndex' 136 | 'copy' 137 | ] 138 | 139 | 140 | 141 | # Define default task. 142 | grunt.registerTask 'default', [ 143 | 'test' 144 | 'serve' 145 | ] 146 | -------------------------------------------------------------------------------- /css/night.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | @import url(https://fonts.googleapis.com/css?family=Montserrat:700); 7 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); 8 | /********************************************* 9 | * GLOBAL STYLES 10 | *********************************************/ 11 | body { 12 | background: #111; 13 | background-color: #111; } 14 | 15 | .reveal { 16 | font-family: "Open Sans", sans-serif; 17 | font-size: 30px; 18 | font-weight: normal; 19 | color: #eee; } 20 | 21 | ::selection { 22 | color: #fff; 23 | background: #e7ad52; 24 | text-shadow: none; } 25 | 26 | .reveal .slides > section, 27 | .reveal .slides > section > section { 28 | line-height: 1.3; 29 | font-weight: inherit; } 30 | 31 | /********************************************* 32 | * HEADERS 33 | *********************************************/ 34 | .reveal h1, 35 | .reveal h2, 36 | .reveal h3, 37 | .reveal h4, 38 | .reveal h5, 39 | .reveal h6 { 40 | margin: 0 0 20px 0; 41 | color: #eee; 42 | font-family: "Montserrat", Impact, sans-serif; 43 | font-weight: normal; 44 | line-height: 1.2; 45 | letter-spacing: -0.03em; 46 | text-transform: none; 47 | text-shadow: none; 48 | word-wrap: break-word; } 49 | 50 | .reveal h1 { 51 | font-size: 3.77em; } 52 | 53 | .reveal h2 { 54 | font-size: 2.11em; } 55 | 56 | .reveal h3 { 57 | font-size: 1.55em; } 58 | 59 | .reveal h4 { 60 | font-size: 1em; } 61 | 62 | .reveal h1 { 63 | text-shadow: none; } 64 | 65 | /********************************************* 66 | * OTHER 67 | *********************************************/ 68 | .reveal p { 69 | margin: 20px 0; 70 | line-height: 1.3; } 71 | 72 | /* Ensure certain elements are never larger than the slide itself */ 73 | .reveal img, 74 | .reveal video, 75 | .reveal iframe { 76 | max-width: 95%; 77 | max-height: 95%; } 78 | 79 | .reveal strong, 80 | .reveal b { 81 | font-weight: bold; } 82 | 83 | .reveal em { 84 | font-style: italic; } 85 | 86 | .reveal ol, 87 | .reveal dl, 88 | .reveal ul { 89 | display: inline-block; 90 | text-align: left; 91 | margin: 0 0 0 1em; } 92 | 93 | .reveal ol { 94 | list-style-type: decimal; } 95 | 96 | .reveal ul { 97 | list-style-type: disc; } 98 | 99 | .reveal ul ul { 100 | list-style-type: square; } 101 | 102 | .reveal ul ul ul { 103 | list-style-type: circle; } 104 | 105 | .reveal ul ul, 106 | .reveal ul ol, 107 | .reveal ol ol, 108 | .reveal ol ul { 109 | display: block; 110 | margin-left: 40px; } 111 | 112 | .reveal dt { 113 | font-weight: bold; } 114 | 115 | .reveal dd { 116 | margin-left: 40px; } 117 | 118 | .reveal q, 119 | .reveal blockquote { 120 | quotes: none; } 121 | 122 | .reveal blockquote { 123 | display: block; 124 | position: relative; 125 | width: 70%; 126 | margin: 20px auto; 127 | padding: 5px; 128 | font-style: italic; 129 | background: rgba(255, 255, 255, 0.05); 130 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 131 | 132 | .reveal blockquote p:first-child, 133 | .reveal blockquote p:last-child { 134 | display: inline-block; } 135 | 136 | .reveal q { 137 | font-style: italic; } 138 | 139 | .reveal pre { 140 | display: block; 141 | position: relative; 142 | width: 90%; 143 | margin: 20px auto; 144 | text-align: left; 145 | font-size: 0.55em; 146 | font-family: monospace; 147 | line-height: 1.2em; 148 | word-wrap: break-word; 149 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 150 | 151 | .reveal code { 152 | font-family: monospace; } 153 | 154 | .reveal pre code { 155 | display: block; 156 | padding: 5px; 157 | overflow: auto; 158 | max-height: 400px; 159 | word-wrap: normal; } 160 | 161 | .reveal table { 162 | margin: auto; 163 | border-collapse: collapse; 164 | border-spacing: 0; } 165 | 166 | .reveal table th { 167 | font-weight: bold; } 168 | 169 | .reveal table th, 170 | .reveal table td { 171 | text-align: left; 172 | padding: 0.2em 0.5em 0.2em 0.5em; 173 | border-bottom: 1px solid; } 174 | 175 | .reveal table th[align="center"], 176 | .reveal table td[align="center"] { 177 | text-align: center; } 178 | 179 | .reveal table th[align="right"], 180 | .reveal table td[align="right"] { 181 | text-align: right; } 182 | 183 | .reveal table tbody tr:last-child th, 184 | .reveal table tbody tr:last-child td { 185 | border-bottom: none; } 186 | 187 | .reveal sup { 188 | vertical-align: super; } 189 | 190 | .reveal sub { 191 | vertical-align: sub; } 192 | 193 | .reveal small { 194 | display: inline-block; 195 | font-size: 0.6em; 196 | line-height: 1.2em; 197 | vertical-align: top; } 198 | 199 | .reveal small * { 200 | vertical-align: top; } 201 | 202 | /********************************************* 203 | * LINKS 204 | *********************************************/ 205 | .reveal a { 206 | color: #e7ad52; 207 | text-decoration: none; 208 | -webkit-transition: color .15s ease; 209 | -moz-transition: color .15s ease; 210 | transition: color .15s ease; } 211 | 212 | .reveal a:hover { 213 | color: #f3d7ac; 214 | text-shadow: none; 215 | border: none; } 216 | 217 | .reveal .roll span:after { 218 | color: #fff; 219 | background: #d08a1d; } 220 | 221 | /********************************************* 222 | * IMAGES 223 | *********************************************/ 224 | .reveal section img { 225 | margin: 15px 0px; 226 | background: rgba(255, 255, 255, 0.12); 227 | border: 4px solid #eee; 228 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 229 | 230 | .reveal section img.plain { 231 | border: 0; 232 | box-shadow: none; } 233 | 234 | .reveal a img { 235 | -webkit-transition: all .15s linear; 236 | -moz-transition: all .15s linear; 237 | transition: all .15s linear; } 238 | 239 | .reveal a:hover img { 240 | background: rgba(255, 255, 255, 0.2); 241 | border-color: #e7ad52; 242 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 243 | 244 | /********************************************* 245 | * NAVIGATION CONTROLS 246 | *********************************************/ 247 | .reveal .controls .navigate-left, 248 | .reveal .controls .navigate-left.enabled { 249 | border-right-color: #e7ad52; } 250 | 251 | .reveal .controls .navigate-right, 252 | .reveal .controls .navigate-right.enabled { 253 | border-left-color: #e7ad52; } 254 | 255 | .reveal .controls .navigate-up, 256 | .reveal .controls .navigate-up.enabled { 257 | border-bottom-color: #e7ad52; } 258 | 259 | .reveal .controls .navigate-down, 260 | .reveal .controls .navigate-down.enabled { 261 | border-top-color: #e7ad52; } 262 | 263 | .reveal .controls .navigate-left.enabled:hover { 264 | border-right-color: #f3d7ac; } 265 | 266 | .reveal .controls .navigate-right.enabled:hover { 267 | border-left-color: #f3d7ac; } 268 | 269 | .reveal .controls .navigate-up.enabled:hover { 270 | border-bottom-color: #f3d7ac; } 271 | 272 | .reveal .controls .navigate-down.enabled:hover { 273 | border-top-color: #f3d7ac; } 274 | 275 | /********************************************* 276 | * PROGRESS BAR 277 | *********************************************/ 278 | .reveal .progress { 279 | background: rgba(0, 0, 0, 0.2); } 280 | 281 | .reveal .progress span { 282 | background: #e7ad52; 283 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 284 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 285 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 286 | -------------------------------------------------------------------------------- /css/serif.css: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple theme for reveal.js presentations, similar 3 | * to the default theme. The accent color is brown. 4 | * 5 | * This theme is Copyright (C) 2012-2013 Owen Versteeg, http://owenversteeg.com - it is MIT licensed. 6 | */ 7 | .reveal a { 8 | line-height: 1.3em; } 9 | 10 | /********************************************* 11 | * GLOBAL STYLES 12 | *********************************************/ 13 | body { 14 | background: #F0F1EB; 15 | background-color: #F0F1EB; } 16 | 17 | .reveal { 18 | font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif; 19 | font-size: 36px; 20 | font-weight: normal; 21 | color: #000; } 22 | 23 | ::selection { 24 | color: #fff; 25 | background: #26351C; 26 | text-shadow: none; } 27 | 28 | .reveal .slides > section, 29 | .reveal .slides > section > section { 30 | line-height: 1.3; 31 | font-weight: inherit; } 32 | 33 | /********************************************* 34 | * HEADERS 35 | *********************************************/ 36 | .reveal h1, 37 | .reveal h2, 38 | .reveal h3, 39 | .reveal h4, 40 | .reveal h5, 41 | .reveal h6 { 42 | margin: 0 0 20px 0; 43 | color: #383D3D; 44 | font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif; 45 | font-weight: normal; 46 | line-height: 1.2; 47 | letter-spacing: normal; 48 | text-transform: none; 49 | text-shadow: none; 50 | word-wrap: break-word; } 51 | 52 | .reveal h1 { 53 | font-size: 3.77em; } 54 | 55 | .reveal h2 { 56 | font-size: 2.11em; } 57 | 58 | .reveal h3 { 59 | font-size: 1.55em; } 60 | 61 | .reveal h4 { 62 | font-size: 1em; } 63 | 64 | .reveal h1 { 65 | text-shadow: none; } 66 | 67 | /********************************************* 68 | * OTHER 69 | *********************************************/ 70 | .reveal p { 71 | margin: 20px 0; 72 | line-height: 1.3; } 73 | 74 | /* Ensure certain elements are never larger than the slide itself */ 75 | .reveal img, 76 | .reveal video, 77 | .reveal iframe { 78 | max-width: 95%; 79 | max-height: 95%; } 80 | 81 | .reveal strong, 82 | .reveal b { 83 | font-weight: bold; } 84 | 85 | .reveal em { 86 | font-style: italic; } 87 | 88 | .reveal ol, 89 | .reveal dl, 90 | .reveal ul { 91 | display: inline-block; 92 | text-align: left; 93 | margin: 0 0 0 1em; } 94 | 95 | .reveal ol { 96 | list-style-type: decimal; } 97 | 98 | .reveal ul { 99 | list-style-type: disc; } 100 | 101 | .reveal ul ul { 102 | list-style-type: square; } 103 | 104 | .reveal ul ul ul { 105 | list-style-type: circle; } 106 | 107 | .reveal ul ul, 108 | .reveal ul ol, 109 | .reveal ol ol, 110 | .reveal ol ul { 111 | display: block; 112 | margin-left: 40px; } 113 | 114 | .reveal dt { 115 | font-weight: bold; } 116 | 117 | .reveal dd { 118 | margin-left: 40px; } 119 | 120 | .reveal q, 121 | .reveal blockquote { 122 | quotes: none; } 123 | 124 | .reveal blockquote { 125 | display: block; 126 | position: relative; 127 | width: 70%; 128 | margin: 20px auto; 129 | padding: 5px; 130 | font-style: italic; 131 | background: rgba(255, 255, 255, 0.05); 132 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 133 | 134 | .reveal blockquote p:first-child, 135 | .reveal blockquote p:last-child { 136 | display: inline-block; } 137 | 138 | .reveal q { 139 | font-style: italic; } 140 | 141 | .reveal pre { 142 | display: block; 143 | position: relative; 144 | width: 90%; 145 | margin: 20px auto; 146 | text-align: left; 147 | font-size: 0.55em; 148 | font-family: monospace; 149 | line-height: 1.2em; 150 | word-wrap: break-word; 151 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 152 | 153 | .reveal code { 154 | font-family: monospace; } 155 | 156 | .reveal pre code { 157 | display: block; 158 | padding: 5px; 159 | overflow: auto; 160 | max-height: 400px; 161 | word-wrap: normal; } 162 | 163 | .reveal table { 164 | margin: auto; 165 | border-collapse: collapse; 166 | border-spacing: 0; } 167 | 168 | .reveal table th { 169 | font-weight: bold; } 170 | 171 | .reveal table th, 172 | .reveal table td { 173 | text-align: left; 174 | padding: 0.2em 0.5em 0.2em 0.5em; 175 | border-bottom: 1px solid; } 176 | 177 | .reveal table th[align="center"], 178 | .reveal table td[align="center"] { 179 | text-align: center; } 180 | 181 | .reveal table th[align="right"], 182 | .reveal table td[align="right"] { 183 | text-align: right; } 184 | 185 | .reveal table tbody tr:last-child th, 186 | .reveal table tbody tr:last-child td { 187 | border-bottom: none; } 188 | 189 | .reveal sup { 190 | vertical-align: super; } 191 | 192 | .reveal sub { 193 | vertical-align: sub; } 194 | 195 | .reveal small { 196 | display: inline-block; 197 | font-size: 0.6em; 198 | line-height: 1.2em; 199 | vertical-align: top; } 200 | 201 | .reveal small * { 202 | vertical-align: top; } 203 | 204 | /********************************************* 205 | * LINKS 206 | *********************************************/ 207 | .reveal a { 208 | color: #51483D; 209 | text-decoration: none; 210 | -webkit-transition: color .15s ease; 211 | -moz-transition: color .15s ease; 212 | transition: color .15s ease; } 213 | 214 | .reveal a:hover { 215 | color: #8b7c69; 216 | text-shadow: none; 217 | border: none; } 218 | 219 | .reveal .roll span:after { 220 | color: #fff; 221 | background: #25211c; } 222 | 223 | /********************************************* 224 | * IMAGES 225 | *********************************************/ 226 | .reveal section img { 227 | margin: 15px 0px; 228 | background: rgba(255, 255, 255, 0.12); 229 | border: 4px solid #000; 230 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 231 | 232 | .reveal section img.plain { 233 | border: 0; 234 | box-shadow: none; } 235 | 236 | .reveal a img { 237 | -webkit-transition: all .15s linear; 238 | -moz-transition: all .15s linear; 239 | transition: all .15s linear; } 240 | 241 | .reveal a:hover img { 242 | background: rgba(255, 255, 255, 0.2); 243 | border-color: #51483D; 244 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 245 | 246 | /********************************************* 247 | * NAVIGATION CONTROLS 248 | *********************************************/ 249 | .reveal .controls .navigate-left, 250 | .reveal .controls .navigate-left.enabled { 251 | border-right-color: #51483D; } 252 | 253 | .reveal .controls .navigate-right, 254 | .reveal .controls .navigate-right.enabled { 255 | border-left-color: #51483D; } 256 | 257 | .reveal .controls .navigate-up, 258 | .reveal .controls .navigate-up.enabled { 259 | border-bottom-color: #51483D; } 260 | 261 | .reveal .controls .navigate-down, 262 | .reveal .controls .navigate-down.enabled { 263 | border-top-color: #51483D; } 264 | 265 | .reveal .controls .navigate-left.enabled:hover { 266 | border-right-color: #8b7c69; } 267 | 268 | .reveal .controls .navigate-right.enabled:hover { 269 | border-left-color: #8b7c69; } 270 | 271 | .reveal .controls .navigate-up.enabled:hover { 272 | border-bottom-color: #8b7c69; } 273 | 274 | .reveal .controls .navigate-down.enabled:hover { 275 | border-top-color: #8b7c69; } 276 | 277 | /********************************************* 278 | * PROGRESS BAR 279 | *********************************************/ 280 | .reveal .progress { 281 | background: rgba(0, 0, 0, 0.2); } 282 | 283 | .reveal .progress span { 284 | background: #51483D; 285 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 286 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 287 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 288 | -------------------------------------------------------------------------------- /css/moon.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Solarized Dark theme for reveal.js. 3 | * Author: Achim Staebler 4 | */ 5 | @import url(../../lib/font/league-gothic/league-gothic.css); 6 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 7 | /** 8 | * Solarized colors by Ethan Schoonover 9 | */ 10 | html * { 11 | color-profile: sRGB; 12 | rendering-intent: auto; } 13 | 14 | /********************************************* 15 | * GLOBAL STYLES 16 | *********************************************/ 17 | body { 18 | background: #002b36; 19 | background-color: #002b36; } 20 | 21 | .reveal { 22 | font-family: "Lato", sans-serif; 23 | font-size: 36px; 24 | font-weight: normal; 25 | color: #93a1a1; } 26 | 27 | ::selection { 28 | color: #fff; 29 | background: #d33682; 30 | text-shadow: none; } 31 | 32 | .reveal .slides > section, 33 | .reveal .slides > section > section { 34 | line-height: 1.3; 35 | font-weight: inherit; } 36 | 37 | /********************************************* 38 | * HEADERS 39 | *********************************************/ 40 | .reveal h1, 41 | .reveal h2, 42 | .reveal h3, 43 | .reveal h4, 44 | .reveal h5, 45 | .reveal h6 { 46 | margin: 0 0 20px 0; 47 | color: #eee8d5; 48 | font-family: "League Gothic", Impact, sans-serif; 49 | font-weight: normal; 50 | line-height: 1.2; 51 | letter-spacing: normal; 52 | text-transform: uppercase; 53 | text-shadow: none; 54 | word-wrap: break-word; } 55 | 56 | .reveal h1 { 57 | font-size: 3.77em; } 58 | 59 | .reveal h2 { 60 | font-size: 2.11em; } 61 | 62 | .reveal h3 { 63 | font-size: 1.55em; } 64 | 65 | .reveal h4 { 66 | font-size: 1em; } 67 | 68 | .reveal h1 { 69 | text-shadow: none; } 70 | 71 | /********************************************* 72 | * OTHER 73 | *********************************************/ 74 | .reveal p { 75 | margin: 20px 0; 76 | line-height: 1.3; } 77 | 78 | /* Ensure certain elements are never larger than the slide itself */ 79 | .reveal img, 80 | .reveal video, 81 | .reveal iframe { 82 | max-width: 95%; 83 | max-height: 95%; } 84 | 85 | .reveal strong, 86 | .reveal b { 87 | font-weight: bold; } 88 | 89 | .reveal em { 90 | font-style: italic; } 91 | 92 | .reveal ol, 93 | .reveal dl, 94 | .reveal ul { 95 | display: inline-block; 96 | text-align: left; 97 | margin: 0 0 0 1em; } 98 | 99 | .reveal ol { 100 | list-style-type: decimal; } 101 | 102 | .reveal ul { 103 | list-style-type: disc; } 104 | 105 | .reveal ul ul { 106 | list-style-type: square; } 107 | 108 | .reveal ul ul ul { 109 | list-style-type: circle; } 110 | 111 | .reveal ul ul, 112 | .reveal ul ol, 113 | .reveal ol ol, 114 | .reveal ol ul { 115 | display: block; 116 | margin-left: 40px; } 117 | 118 | .reveal dt { 119 | font-weight: bold; } 120 | 121 | .reveal dd { 122 | margin-left: 40px; } 123 | 124 | .reveal q, 125 | .reveal blockquote { 126 | quotes: none; } 127 | 128 | .reveal blockquote { 129 | display: block; 130 | position: relative; 131 | width: 70%; 132 | margin: 20px auto; 133 | padding: 5px; 134 | font-style: italic; 135 | background: rgba(255, 255, 255, 0.05); 136 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 137 | 138 | .reveal blockquote p:first-child, 139 | .reveal blockquote p:last-child { 140 | display: inline-block; } 141 | 142 | .reveal q { 143 | font-style: italic; } 144 | 145 | .reveal pre { 146 | display: block; 147 | position: relative; 148 | width: 90%; 149 | margin: 20px auto; 150 | text-align: left; 151 | font-size: 0.55em; 152 | font-family: monospace; 153 | line-height: 1.2em; 154 | word-wrap: break-word; 155 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 156 | 157 | .reveal code { 158 | font-family: monospace; } 159 | 160 | .reveal pre code { 161 | display: block; 162 | padding: 5px; 163 | overflow: auto; 164 | max-height: 400px; 165 | word-wrap: normal; } 166 | 167 | .reveal table { 168 | margin: auto; 169 | border-collapse: collapse; 170 | border-spacing: 0; } 171 | 172 | .reveal table th { 173 | font-weight: bold; } 174 | 175 | .reveal table th, 176 | .reveal table td { 177 | text-align: left; 178 | padding: 0.2em 0.5em 0.2em 0.5em; 179 | border-bottom: 1px solid; } 180 | 181 | .reveal table th[align="center"], 182 | .reveal table td[align="center"] { 183 | text-align: center; } 184 | 185 | .reveal table th[align="right"], 186 | .reveal table td[align="right"] { 187 | text-align: right; } 188 | 189 | .reveal table tbody tr:last-child th, 190 | .reveal table tbody tr:last-child td { 191 | border-bottom: none; } 192 | 193 | .reveal sup { 194 | vertical-align: super; } 195 | 196 | .reveal sub { 197 | vertical-align: sub; } 198 | 199 | .reveal small { 200 | display: inline-block; 201 | font-size: 0.6em; 202 | line-height: 1.2em; 203 | vertical-align: top; } 204 | 205 | .reveal small * { 206 | vertical-align: top; } 207 | 208 | /********************************************* 209 | * LINKS 210 | *********************************************/ 211 | .reveal a { 212 | color: #268bd2; 213 | text-decoration: none; 214 | -webkit-transition: color .15s ease; 215 | -moz-transition: color .15s ease; 216 | transition: color .15s ease; } 217 | 218 | .reveal a:hover { 219 | color: #78b9e6; 220 | text-shadow: none; 221 | border: none; } 222 | 223 | .reveal .roll span:after { 224 | color: #fff; 225 | background: #1a6091; } 226 | 227 | /********************************************* 228 | * IMAGES 229 | *********************************************/ 230 | .reveal section img { 231 | margin: 15px 0px; 232 | background: rgba(255, 255, 255, 0.12); 233 | border: 4px solid #93a1a1; 234 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 235 | 236 | .reveal section img.plain { 237 | border: 0; 238 | box-shadow: none; } 239 | 240 | .reveal a img { 241 | -webkit-transition: all .15s linear; 242 | -moz-transition: all .15s linear; 243 | transition: all .15s linear; } 244 | 245 | .reveal a:hover img { 246 | background: rgba(255, 255, 255, 0.2); 247 | border-color: #268bd2; 248 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 249 | 250 | /********************************************* 251 | * NAVIGATION CONTROLS 252 | *********************************************/ 253 | .reveal .controls .navigate-left, 254 | .reveal .controls .navigate-left.enabled { 255 | border-right-color: #268bd2; } 256 | 257 | .reveal .controls .navigate-right, 258 | .reveal .controls .navigate-right.enabled { 259 | border-left-color: #268bd2; } 260 | 261 | .reveal .controls .navigate-up, 262 | .reveal .controls .navigate-up.enabled { 263 | border-bottom-color: #268bd2; } 264 | 265 | .reveal .controls .navigate-down, 266 | .reveal .controls .navigate-down.enabled { 267 | border-top-color: #268bd2; } 268 | 269 | .reveal .controls .navigate-left.enabled:hover { 270 | border-right-color: #78b9e6; } 271 | 272 | .reveal .controls .navigate-right.enabled:hover { 273 | border-left-color: #78b9e6; } 274 | 275 | .reveal .controls .navigate-up.enabled:hover { 276 | border-bottom-color: #78b9e6; } 277 | 278 | .reveal .controls .navigate-down.enabled:hover { 279 | border-top-color: #78b9e6; } 280 | 281 | /********************************************* 282 | * PROGRESS BAR 283 | *********************************************/ 284 | .reveal .progress { 285 | background: rgba(0, 0, 0, 0.2); } 286 | 287 | .reveal .progress span { 288 | background: #268bd2; 289 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 290 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 291 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 292 | -------------------------------------------------------------------------------- /css/solarized.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Solarized Light theme for reveal.js. 3 | * Author: Achim Staebler 4 | */ 5 | @import url(../../lib/font/league-gothic/league-gothic.css); 6 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 7 | /** 8 | * Solarized colors by Ethan Schoonover 9 | */ 10 | html * { 11 | color-profile: sRGB; 12 | rendering-intent: auto; } 13 | 14 | /********************************************* 15 | * GLOBAL STYLES 16 | *********************************************/ 17 | body { 18 | background: #fdf6e3; 19 | background-color: #fdf6e3; } 20 | 21 | .reveal { 22 | font-family: "Lato", sans-serif; 23 | font-size: 36px; 24 | font-weight: normal; 25 | color: #657b83; } 26 | 27 | ::selection { 28 | color: #fff; 29 | background: #d33682; 30 | text-shadow: none; } 31 | 32 | .reveal .slides > section, 33 | .reveal .slides > section > section { 34 | line-height: 1.3; 35 | font-weight: inherit; } 36 | 37 | /********************************************* 38 | * HEADERS 39 | *********************************************/ 40 | .reveal h1, 41 | .reveal h2, 42 | .reveal h3, 43 | .reveal h4, 44 | .reveal h5, 45 | .reveal h6 { 46 | margin: 0 0 20px 0; 47 | color: #586e75; 48 | font-family: "League Gothic", Impact, sans-serif; 49 | font-weight: normal; 50 | line-height: 1.2; 51 | letter-spacing: normal; 52 | text-transform: uppercase; 53 | text-shadow: none; 54 | word-wrap: break-word; } 55 | 56 | .reveal h1 { 57 | font-size: 3.77em; } 58 | 59 | .reveal h2 { 60 | font-size: 2.11em; } 61 | 62 | .reveal h3 { 63 | font-size: 1.55em; } 64 | 65 | .reveal h4 { 66 | font-size: 1em; } 67 | 68 | .reveal h1 { 69 | text-shadow: none; } 70 | 71 | /********************************************* 72 | * OTHER 73 | *********************************************/ 74 | .reveal p { 75 | margin: 20px 0; 76 | line-height: 1.3; } 77 | 78 | /* Ensure certain elements are never larger than the slide itself */ 79 | .reveal img, 80 | .reveal video, 81 | .reveal iframe { 82 | max-width: 95%; 83 | max-height: 95%; } 84 | 85 | .reveal strong, 86 | .reveal b { 87 | font-weight: bold; } 88 | 89 | .reveal em { 90 | font-style: italic; } 91 | 92 | .reveal ol, 93 | .reveal dl, 94 | .reveal ul { 95 | display: inline-block; 96 | text-align: left; 97 | margin: 0 0 0 1em; } 98 | 99 | .reveal ol { 100 | list-style-type: decimal; } 101 | 102 | .reveal ul { 103 | list-style-type: disc; } 104 | 105 | .reveal ul ul { 106 | list-style-type: square; } 107 | 108 | .reveal ul ul ul { 109 | list-style-type: circle; } 110 | 111 | .reveal ul ul, 112 | .reveal ul ol, 113 | .reveal ol ol, 114 | .reveal ol ul { 115 | display: block; 116 | margin-left: 40px; } 117 | 118 | .reveal dt { 119 | font-weight: bold; } 120 | 121 | .reveal dd { 122 | margin-left: 40px; } 123 | 124 | .reveal q, 125 | .reveal blockquote { 126 | quotes: none; } 127 | 128 | .reveal blockquote { 129 | display: block; 130 | position: relative; 131 | width: 70%; 132 | margin: 20px auto; 133 | padding: 5px; 134 | font-style: italic; 135 | background: rgba(255, 255, 255, 0.05); 136 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 137 | 138 | .reveal blockquote p:first-child, 139 | .reveal blockquote p:last-child { 140 | display: inline-block; } 141 | 142 | .reveal q { 143 | font-style: italic; } 144 | 145 | .reveal pre { 146 | display: block; 147 | position: relative; 148 | width: 90%; 149 | margin: 20px auto; 150 | text-align: left; 151 | font-size: 0.55em; 152 | font-family: monospace; 153 | line-height: 1.2em; 154 | word-wrap: break-word; 155 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 156 | 157 | .reveal code { 158 | font-family: monospace; } 159 | 160 | .reveal pre code { 161 | display: block; 162 | padding: 5px; 163 | overflow: auto; 164 | max-height: 400px; 165 | word-wrap: normal; } 166 | 167 | .reveal table { 168 | margin: auto; 169 | border-collapse: collapse; 170 | border-spacing: 0; } 171 | 172 | .reveal table th { 173 | font-weight: bold; } 174 | 175 | .reveal table th, 176 | .reveal table td { 177 | text-align: left; 178 | padding: 0.2em 0.5em 0.2em 0.5em; 179 | border-bottom: 1px solid; } 180 | 181 | .reveal table th[align="center"], 182 | .reveal table td[align="center"] { 183 | text-align: center; } 184 | 185 | .reveal table th[align="right"], 186 | .reveal table td[align="right"] { 187 | text-align: right; } 188 | 189 | .reveal table tbody tr:last-child th, 190 | .reveal table tbody tr:last-child td { 191 | border-bottom: none; } 192 | 193 | .reveal sup { 194 | vertical-align: super; } 195 | 196 | .reveal sub { 197 | vertical-align: sub; } 198 | 199 | .reveal small { 200 | display: inline-block; 201 | font-size: 0.6em; 202 | line-height: 1.2em; 203 | vertical-align: top; } 204 | 205 | .reveal small * { 206 | vertical-align: top; } 207 | 208 | /********************************************* 209 | * LINKS 210 | *********************************************/ 211 | .reveal a { 212 | color: #268bd2; 213 | text-decoration: none; 214 | -webkit-transition: color .15s ease; 215 | -moz-transition: color .15s ease; 216 | transition: color .15s ease; } 217 | 218 | .reveal a:hover { 219 | color: #78b9e6; 220 | text-shadow: none; 221 | border: none; } 222 | 223 | .reveal .roll span:after { 224 | color: #fff; 225 | background: #1a6091; } 226 | 227 | /********************************************* 228 | * IMAGES 229 | *********************************************/ 230 | .reveal section img { 231 | margin: 15px 0px; 232 | background: rgba(255, 255, 255, 0.12); 233 | border: 4px solid #657b83; 234 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 235 | 236 | .reveal section img.plain { 237 | border: 0; 238 | box-shadow: none; } 239 | 240 | .reveal a img { 241 | -webkit-transition: all .15s linear; 242 | -moz-transition: all .15s linear; 243 | transition: all .15s linear; } 244 | 245 | .reveal a:hover img { 246 | background: rgba(255, 255, 255, 0.2); 247 | border-color: #268bd2; 248 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 249 | 250 | /********************************************* 251 | * NAVIGATION CONTROLS 252 | *********************************************/ 253 | .reveal .controls .navigate-left, 254 | .reveal .controls .navigate-left.enabled { 255 | border-right-color: #268bd2; } 256 | 257 | .reveal .controls .navigate-right, 258 | .reveal .controls .navigate-right.enabled { 259 | border-left-color: #268bd2; } 260 | 261 | .reveal .controls .navigate-up, 262 | .reveal .controls .navigate-up.enabled { 263 | border-bottom-color: #268bd2; } 264 | 265 | .reveal .controls .navigate-down, 266 | .reveal .controls .navigate-down.enabled { 267 | border-top-color: #268bd2; } 268 | 269 | .reveal .controls .navigate-left.enabled:hover { 270 | border-right-color: #78b9e6; } 271 | 272 | .reveal .controls .navigate-right.enabled:hover { 273 | border-left-color: #78b9e6; } 274 | 275 | .reveal .controls .navigate-up.enabled:hover { 276 | border-bottom-color: #78b9e6; } 277 | 278 | .reveal .controls .navigate-down.enabled:hover { 279 | border-top-color: #78b9e6; } 280 | 281 | /********************************************* 282 | * PROGRESS BAR 283 | *********************************************/ 284 | .reveal .progress { 285 | background: rgba(0, 0, 0, 0.2); } 286 | 287 | .reveal .progress span { 288 | background: #268bd2; 289 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 290 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 291 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 292 | -------------------------------------------------------------------------------- /css/theme.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. This is the opposite of the 'white' theme. 3 | * 4 | * Copyright (C) 2015 Hakim El Hattab, http://hakim.se 5 | */ 6 | @import url(../bower_components/reveal.js/lib/font/source-sans-pro/source-sans-pro.css); 7 | section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 { 8 | color: #222; } 9 | 10 | /********************************************* 11 | * GLOBAL STYLES 12 | *********************************************/ 13 | body { 14 | background: #222; 15 | background-color: #222; } 16 | 17 | .reveal { 18 | font-family: "Source Sans Pro", Helvetica, sans-serif; 19 | font-size: 38px; 20 | font-weight: normal; 21 | color: #fff; } 22 | 23 | ::selection { 24 | color: #fff; 25 | background: #bee4fd; 26 | text-shadow: none; } 27 | 28 | .reveal .slides > section, 29 | .reveal .slides > section > section { 30 | line-height: 1.3; 31 | font-weight: inherit; } 32 | 33 | /********************************************* 34 | * HEADERS 35 | *********************************************/ 36 | .reveal h1, 37 | .reveal h2, 38 | .reveal h3, 39 | .reveal h4, 40 | .reveal h5, 41 | .reveal h6 { 42 | margin: 0 0 20px 0; 43 | color: #fff; 44 | font-family: "Source Sans Pro", Helvetica, sans-serif; 45 | font-weight: 600; 46 | line-height: 1.2; 47 | letter-spacing: normal; 48 | text-transform: uppercase; 49 | text-shadow: none; 50 | word-wrap: break-word; } 51 | 52 | .reveal h1 { 53 | font-size: 2.5em; } 54 | 55 | .reveal h2 { 56 | font-size: 1.6em; } 57 | 58 | .reveal h3 { 59 | font-size: 1.3em; } 60 | 61 | .reveal h4 { 62 | font-size: 1em; } 63 | 64 | .reveal h1 { 65 | text-shadow: none; } 66 | 67 | /********************************************* 68 | * OTHER 69 | *********************************************/ 70 | .reveal p { 71 | margin: 20px 0; 72 | line-height: 1.3; } 73 | 74 | /* Ensure certain elements are never larger than the slide itself */ 75 | .reveal img, 76 | .reveal video, 77 | .reveal iframe { 78 | max-width: 95%; 79 | max-height: 95%; } 80 | 81 | .reveal strong, 82 | .reveal b { 83 | font-weight: bold; } 84 | 85 | .reveal em { 86 | font-style: italic; } 87 | 88 | .reveal ol, 89 | .reveal dl, 90 | .reveal ul { 91 | display: inline-block; 92 | text-align: left; 93 | margin: 0 0 0 1em; } 94 | 95 | .reveal ol { 96 | list-style-type: decimal; } 97 | 98 | .reveal ul { 99 | list-style-type: disc; } 100 | 101 | .reveal ul ul { 102 | list-style-type: square; } 103 | 104 | .reveal ul ul ul { 105 | list-style-type: circle; } 106 | 107 | .reveal ul ul, 108 | .reveal ul ol, 109 | .reveal ol ol, 110 | .reveal ol ul { 111 | display: block; 112 | margin-left: 40px; } 113 | 114 | .reveal dt { 115 | font-weight: bold; } 116 | 117 | .reveal dd { 118 | margin-left: 40px; } 119 | 120 | .reveal q, 121 | .reveal blockquote { 122 | quotes: none; } 123 | 124 | .reveal blockquote { 125 | display: block; 126 | position: relative; 127 | width: 70%; 128 | margin: 20px auto; 129 | padding: 5px; 130 | font-style: italic; 131 | background: rgba(255, 255, 255, 0.05); 132 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 133 | 134 | .reveal blockquote p:first-child, 135 | .reveal blockquote p:last-child { 136 | display: inline-block; } 137 | 138 | .reveal q { 139 | font-style: italic; } 140 | 141 | .reveal pre { 142 | display: block; 143 | position: relative; 144 | width: 90%; 145 | margin: 20px auto; 146 | text-align: left; 147 | font-size: 0.55em; 148 | font-family: monospace; 149 | line-height: 1.2em; 150 | word-wrap: break-word; 151 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 152 | 153 | .reveal code { 154 | font-family: monospace; } 155 | 156 | .reveal pre code { 157 | display: block; 158 | padding: 5px; 159 | overflow: auto; 160 | max-height: 400px; 161 | word-wrap: normal; } 162 | 163 | .reveal table { 164 | margin: auto; 165 | border-collapse: collapse; 166 | border-spacing: 0; } 167 | 168 | .reveal table th { 169 | font-weight: bold; } 170 | 171 | .reveal table th, 172 | .reveal table td { 173 | text-align: left; 174 | padding: 0.2em 0.5em 0.2em 0.5em; 175 | border-bottom: 1px solid; } 176 | 177 | .reveal table th[align="center"], 178 | .reveal table td[align="center"] { 179 | text-align: center; } 180 | 181 | .reveal table th[align="right"], 182 | .reveal table td[align="right"] { 183 | text-align: right; } 184 | 185 | .reveal table tr:last-child td { 186 | border-bottom: none; } 187 | 188 | .reveal sup { 189 | vertical-align: super; } 190 | 191 | .reveal sub { 192 | vertical-align: sub; } 193 | 194 | .reveal small { 195 | display: inline-block; 196 | font-size: 0.6em; 197 | line-height: 1.2em; 198 | vertical-align: top; } 199 | 200 | .reveal small * { 201 | vertical-align: top; } 202 | 203 | /********************************************* 204 | * LINKS 205 | *********************************************/ 206 | .reveal a { 207 | color: #42affa; 208 | text-decoration: none; 209 | -webkit-transition: color .15s ease; 210 | -moz-transition: color .15s ease; 211 | transition: color .15s ease; } 212 | 213 | .reveal a:hover { 214 | color: #8dcffc; 215 | text-shadow: none; 216 | border: none; } 217 | 218 | .reveal .roll span:after { 219 | color: #fff; 220 | background: #068de9; } 221 | 222 | /********************************************* 223 | * IMAGES 224 | *********************************************/ 225 | .reveal section img { 226 | margin: 15px 0px; 227 | background: rgba(255, 255, 255, 0.12); 228 | border: 4px solid #fff; 229 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 230 | 231 | .reveal section img.plain { 232 | border: 0; 233 | box-shadow: none; } 234 | 235 | .reveal a img { 236 | -webkit-transition: all .15s linear; 237 | -moz-transition: all .15s linear; 238 | transition: all .15s linear; } 239 | 240 | .reveal a:hover img { 241 | background: rgba(255, 255, 255, 0.2); 242 | border-color: #42affa; 243 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 244 | 245 | /********************************************* 246 | * NAVIGATION CONTROLS 247 | *********************************************/ 248 | .reveal .controls .navigate-left, 249 | .reveal .controls .navigate-left.enabled { 250 | border-right-color: #42affa; } 251 | 252 | .reveal .controls .navigate-right, 253 | .reveal .controls .navigate-right.enabled { 254 | border-left-color: #42affa; } 255 | 256 | .reveal .controls .navigate-up, 257 | .reveal .controls .navigate-up.enabled { 258 | border-bottom-color: #42affa; } 259 | 260 | .reveal .controls .navigate-down, 261 | .reveal .controls .navigate-down.enabled { 262 | border-top-color: #42affa; } 263 | 264 | .reveal .controls .navigate-left.enabled:hover { 265 | border-right-color: #8dcffc; } 266 | 267 | .reveal .controls .navigate-right.enabled:hover { 268 | border-left-color: #8dcffc; } 269 | 270 | .reveal .controls .navigate-up.enabled:hover { 271 | border-bottom-color: #8dcffc; } 272 | 273 | .reveal .controls .navigate-down.enabled:hover { 274 | border-top-color: #8dcffc; } 275 | 276 | /********************************************* 277 | * PROGRESS BAR 278 | *********************************************/ 279 | .reveal .progress { 280 | background: rgba(0, 0, 0, 0.2); } 281 | 282 | .reveal .progress span { 283 | background: #42affa; 284 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 285 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 286 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 287 | -------------------------------------------------------------------------------- /css/white.css: -------------------------------------------------------------------------------- 1 | /** 2 | * White theme for reveal.js. This is the opposite of the 'black' theme. 3 | * 4 | * By Hakim El Hattab, http://hakim.se 5 | */ 6 | @import url(../../lib/font/source-sans-pro/source-sans-pro.css); 7 | section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 { 8 | color: #fff; } 9 | 10 | /********************************************* 11 | * GLOBAL STYLES 12 | *********************************************/ 13 | body { 14 | background: #fff; 15 | background-color: #fff; } 16 | 17 | .reveal { 18 | font-family: "Source Sans Pro", Helvetica, sans-serif; 19 | font-size: 38px; 20 | font-weight: normal; 21 | color: #222; } 22 | 23 | ::selection { 24 | color: #fff; 25 | background: #98bdef; 26 | text-shadow: none; } 27 | 28 | .reveal .slides > section, 29 | .reveal .slides > section > section { 30 | line-height: 1.3; 31 | font-weight: inherit; } 32 | 33 | /********************************************* 34 | * HEADERS 35 | *********************************************/ 36 | .reveal h1, 37 | .reveal h2, 38 | .reveal h3, 39 | .reveal h4, 40 | .reveal h5, 41 | .reveal h6 { 42 | margin: 0 0 20px 0; 43 | color: #222; 44 | font-family: "Source Sans Pro", Helvetica, sans-serif; 45 | font-weight: 600; 46 | line-height: 1.2; 47 | letter-spacing: normal; 48 | text-transform: uppercase; 49 | text-shadow: none; 50 | word-wrap: break-word; } 51 | 52 | .reveal h1 { 53 | font-size: 2.5em; } 54 | 55 | .reveal h2 { 56 | font-size: 1.6em; } 57 | 58 | .reveal h3 { 59 | font-size: 1.3em; } 60 | 61 | .reveal h4 { 62 | font-size: 1em; } 63 | 64 | .reveal h1 { 65 | text-shadow: none; } 66 | 67 | /********************************************* 68 | * OTHER 69 | *********************************************/ 70 | .reveal p { 71 | margin: 20px 0; 72 | line-height: 1.3; } 73 | 74 | /* Ensure certain elements are never larger than the slide itself */ 75 | .reveal img, 76 | .reveal video, 77 | .reveal iframe { 78 | max-width: 95%; 79 | max-height: 95%; } 80 | 81 | .reveal strong, 82 | .reveal b { 83 | font-weight: bold; } 84 | 85 | .reveal em { 86 | font-style: italic; } 87 | 88 | .reveal ol, 89 | .reveal dl, 90 | .reveal ul { 91 | display: inline-block; 92 | text-align: left; 93 | margin: 0 0 0 1em; } 94 | 95 | .reveal ol { 96 | list-style-type: decimal; } 97 | 98 | .reveal ul { 99 | list-style-type: disc; } 100 | 101 | .reveal ul ul { 102 | list-style-type: square; } 103 | 104 | .reveal ul ul ul { 105 | list-style-type: circle; } 106 | 107 | .reveal ul ul, 108 | .reveal ul ol, 109 | .reveal ol ol, 110 | .reveal ol ul { 111 | display: block; 112 | margin-left: 40px; } 113 | 114 | .reveal dt { 115 | font-weight: bold; } 116 | 117 | .reveal dd { 118 | margin-left: 40px; } 119 | 120 | .reveal q, 121 | .reveal blockquote { 122 | quotes: none; } 123 | 124 | .reveal blockquote { 125 | display: block; 126 | position: relative; 127 | width: 70%; 128 | margin: 20px auto; 129 | padding: 5px; 130 | font-style: italic; 131 | background: rgba(255, 255, 255, 0.05); 132 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 133 | 134 | .reveal blockquote p:first-child, 135 | .reveal blockquote p:last-child { 136 | display: inline-block; } 137 | 138 | .reveal q { 139 | font-style: italic; } 140 | 141 | .reveal pre { 142 | display: block; 143 | position: relative; 144 | width: 90%; 145 | margin: 20px auto; 146 | text-align: left; 147 | font-size: 0.55em; 148 | font-family: monospace; 149 | line-height: 1.2em; 150 | word-wrap: break-word; 151 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 152 | 153 | .reveal code { 154 | font-family: monospace; } 155 | 156 | .reveal pre code { 157 | display: block; 158 | padding: 5px; 159 | overflow: auto; 160 | max-height: 400px; 161 | word-wrap: normal; } 162 | 163 | .reveal table { 164 | margin: auto; 165 | border-collapse: collapse; 166 | border-spacing: 0; } 167 | 168 | .reveal table th { 169 | font-weight: bold; } 170 | 171 | .reveal table th, 172 | .reveal table td { 173 | text-align: left; 174 | padding: 0.2em 0.5em 0.2em 0.5em; 175 | border-bottom: 1px solid; } 176 | 177 | .reveal table th[align="center"], 178 | .reveal table td[align="center"] { 179 | text-align: center; } 180 | 181 | .reveal table th[align="right"], 182 | .reveal table td[align="right"] { 183 | text-align: right; } 184 | 185 | .reveal table tbody tr:last-child th, 186 | .reveal table tbody tr:last-child td { 187 | border-bottom: none; } 188 | 189 | .reveal sup { 190 | vertical-align: super; } 191 | 192 | .reveal sub { 193 | vertical-align: sub; } 194 | 195 | .reveal small { 196 | display: inline-block; 197 | font-size: 0.6em; 198 | line-height: 1.2em; 199 | vertical-align: top; } 200 | 201 | .reveal small * { 202 | vertical-align: top; } 203 | 204 | /********************************************* 205 | * LINKS 206 | *********************************************/ 207 | .reveal a { 208 | color: #2a76dd; 209 | text-decoration: none; 210 | -webkit-transition: color .15s ease; 211 | -moz-transition: color .15s ease; 212 | transition: color .15s ease; } 213 | 214 | .reveal a:hover { 215 | color: #6ca0e8; 216 | text-shadow: none; 217 | border: none; } 218 | 219 | .reveal .roll span:after { 220 | color: #fff; 221 | background: #1a53a1; } 222 | 223 | /********************************************* 224 | * IMAGES 225 | *********************************************/ 226 | .reveal section img { 227 | margin: 15px 0px; 228 | background: rgba(255, 255, 255, 0.12); 229 | border: 4px solid #222; 230 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 231 | 232 | .reveal section img.plain { 233 | border: 0; 234 | box-shadow: none; } 235 | 236 | .reveal a img { 237 | -webkit-transition: all .15s linear; 238 | -moz-transition: all .15s linear; 239 | transition: all .15s linear; } 240 | 241 | .reveal a:hover img { 242 | background: rgba(255, 255, 255, 0.2); 243 | border-color: #2a76dd; 244 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 245 | 246 | /********************************************* 247 | * NAVIGATION CONTROLS 248 | *********************************************/ 249 | .reveal .controls .navigate-left, 250 | .reveal .controls .navigate-left.enabled { 251 | border-right-color: #2a76dd; } 252 | 253 | .reveal .controls .navigate-right, 254 | .reveal .controls .navigate-right.enabled { 255 | border-left-color: #2a76dd; } 256 | 257 | .reveal .controls .navigate-up, 258 | .reveal .controls .navigate-up.enabled { 259 | border-bottom-color: #2a76dd; } 260 | 261 | .reveal .controls .navigate-down, 262 | .reveal .controls .navigate-down.enabled { 263 | border-top-color: #2a76dd; } 264 | 265 | .reveal .controls .navigate-left.enabled:hover { 266 | border-right-color: #6ca0e8; } 267 | 268 | .reveal .controls .navigate-right.enabled:hover { 269 | border-left-color: #6ca0e8; } 270 | 271 | .reveal .controls .navigate-up.enabled:hover { 272 | border-bottom-color: #6ca0e8; } 273 | 274 | .reveal .controls .navigate-down.enabled:hover { 275 | border-top-color: #6ca0e8; } 276 | 277 | /********************************************* 278 | * PROGRESS BAR 279 | *********************************************/ 280 | .reveal .progress { 281 | background: rgba(0, 0, 0, 0.2); } 282 | 283 | .reveal .progress span { 284 | background: #2a76dd; 285 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 286 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 287 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 288 | -------------------------------------------------------------------------------- /css/black.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Black theme for reveal.js. This is the opposite of the 'white' theme. 3 | * 4 | * By Hakim El Hattab, http://hakim.se 5 | */ 6 | @import url(../../lib/font/source-sans-pro/source-sans-pro.css); 7 | section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 { 8 | color: #222; } 9 | 10 | /********************************************* 11 | * GLOBAL STYLES 12 | *********************************************/ 13 | body { 14 | background: #222; 15 | background-color: #222; } 16 | 17 | .reveal { 18 | font-family: "Source Sans Pro", Helvetica, sans-serif; 19 | font-size: 38px; 20 | font-weight: normal; 21 | color: #fff; } 22 | 23 | ::selection { 24 | color: #fff; 25 | background: #bee4fd; 26 | text-shadow: none; } 27 | 28 | .reveal .slides > section, 29 | .reveal .slides > section > section { 30 | line-height: 1.3; 31 | font-weight: inherit; } 32 | 33 | /********************************************* 34 | * HEADERS 35 | *********************************************/ 36 | .reveal h1, 37 | .reveal h2, 38 | .reveal h3, 39 | .reveal h4, 40 | .reveal h5, 41 | .reveal h6 { 42 | margin: 0 0 20px 0; 43 | color: #fff; 44 | font-family: "Source Sans Pro", Helvetica, sans-serif; 45 | font-weight: 600; 46 | line-height: 1.2; 47 | letter-spacing: normal; 48 | text-transform: uppercase; 49 | text-shadow: none; 50 | word-wrap: break-word; } 51 | 52 | .reveal h1 { 53 | font-size: 2.5em; } 54 | 55 | .reveal h2 { 56 | font-size: 1.6em; } 57 | 58 | .reveal h3 { 59 | font-size: 1.3em; } 60 | 61 | .reveal h4 { 62 | font-size: 1em; } 63 | 64 | .reveal h1 { 65 | text-shadow: none; } 66 | 67 | /********************************************* 68 | * OTHER 69 | *********************************************/ 70 | .reveal p { 71 | margin: 20px 0; 72 | line-height: 1.3; } 73 | 74 | /* Ensure certain elements are never larger than the slide itself */ 75 | .reveal img, 76 | .reveal video, 77 | .reveal iframe { 78 | max-width: 95%; 79 | max-height: 95%; } 80 | 81 | .reveal strong, 82 | .reveal b { 83 | font-weight: bold; } 84 | 85 | .reveal em { 86 | font-style: italic; } 87 | 88 | .reveal ol, 89 | .reveal dl, 90 | .reveal ul { 91 | display: inline-block; 92 | text-align: left; 93 | margin: 0 0 0 1em; } 94 | 95 | .reveal ol { 96 | list-style-type: decimal; } 97 | 98 | .reveal ul { 99 | list-style-type: disc; } 100 | 101 | .reveal ul ul { 102 | list-style-type: square; } 103 | 104 | .reveal ul ul ul { 105 | list-style-type: circle; } 106 | 107 | .reveal ul ul, 108 | .reveal ul ol, 109 | .reveal ol ol, 110 | .reveal ol ul { 111 | display: block; 112 | margin-left: 40px; } 113 | 114 | .reveal dt { 115 | font-weight: bold; } 116 | 117 | .reveal dd { 118 | margin-left: 40px; } 119 | 120 | .reveal q, 121 | .reveal blockquote { 122 | quotes: none; } 123 | 124 | .reveal blockquote { 125 | display: block; 126 | position: relative; 127 | width: 70%; 128 | margin: 20px auto; 129 | padding: 5px; 130 | font-style: italic; 131 | background: rgba(255, 255, 255, 0.05); 132 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 133 | 134 | .reveal blockquote p:first-child, 135 | .reveal blockquote p:last-child { 136 | display: inline-block; } 137 | 138 | .reveal q { 139 | font-style: italic; } 140 | 141 | .reveal pre { 142 | display: block; 143 | position: relative; 144 | width: 90%; 145 | margin: 20px auto; 146 | text-align: left; 147 | font-size: 0.55em; 148 | font-family: monospace; 149 | line-height: 1.2em; 150 | word-wrap: break-word; 151 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 152 | 153 | .reveal code { 154 | font-family: monospace; } 155 | 156 | .reveal pre code { 157 | display: block; 158 | padding: 5px; 159 | overflow: auto; 160 | max-height: 400px; 161 | word-wrap: normal; } 162 | 163 | .reveal table { 164 | margin: auto; 165 | border-collapse: collapse; 166 | border-spacing: 0; } 167 | 168 | .reveal table th { 169 | font-weight: bold; } 170 | 171 | .reveal table th, 172 | .reveal table td { 173 | text-align: left; 174 | padding: 0.2em 0.5em 0.2em 0.5em; 175 | border-bottom: 1px solid; } 176 | 177 | .reveal table th[align="center"], 178 | .reveal table td[align="center"] { 179 | text-align: center; } 180 | 181 | .reveal table th[align="right"], 182 | .reveal table td[align="right"] { 183 | text-align: right; } 184 | 185 | .reveal table tbody tr:last-child th, 186 | .reveal table tbody tr:last-child td { 187 | border-bottom: none; } 188 | 189 | .reveal sup { 190 | vertical-align: super; } 191 | 192 | .reveal sub { 193 | vertical-align: sub; } 194 | 195 | .reveal small { 196 | display: inline-block; 197 | font-size: 0.6em; 198 | line-height: 1.2em; 199 | vertical-align: top; } 200 | 201 | .reveal small * { 202 | vertical-align: top; } 203 | 204 | /********************************************* 205 | * LINKS 206 | *********************************************/ 207 | .reveal a { 208 | color: #42affa; 209 | text-decoration: none; 210 | -webkit-transition: color .15s ease; 211 | -moz-transition: color .15s ease; 212 | transition: color .15s ease; } 213 | 214 | .reveal a:hover { 215 | color: #8dcffc; 216 | text-shadow: none; 217 | border: none; } 218 | 219 | .reveal .roll span:after { 220 | color: #fff; 221 | background: #068de9; } 222 | 223 | /********************************************* 224 | * IMAGES 225 | *********************************************/ 226 | .reveal section img { 227 | margin: 15px 0px; 228 | background: rgba(255, 255, 255, 0.12); 229 | border: 4px solid #fff; 230 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 231 | 232 | .reveal section img.plain { 233 | border: 0; 234 | box-shadow: none; } 235 | 236 | .reveal a img { 237 | -webkit-transition: all .15s linear; 238 | -moz-transition: all .15s linear; 239 | transition: all .15s linear; } 240 | 241 | .reveal a:hover img { 242 | background: rgba(255, 255, 255, 0.2); 243 | border-color: #42affa; 244 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 245 | 246 | /********************************************* 247 | * NAVIGATION CONTROLS 248 | *********************************************/ 249 | .reveal .controls .navigate-left, 250 | .reveal .controls .navigate-left.enabled { 251 | border-right-color: #42affa; } 252 | 253 | .reveal .controls .navigate-right, 254 | .reveal .controls .navigate-right.enabled { 255 | border-left-color: #42affa; } 256 | 257 | .reveal .controls .navigate-up, 258 | .reveal .controls .navigate-up.enabled { 259 | border-bottom-color: #42affa; } 260 | 261 | .reveal .controls .navigate-down, 262 | .reveal .controls .navigate-down.enabled { 263 | border-top-color: #42affa; } 264 | 265 | .reveal .controls .navigate-left.enabled:hover { 266 | border-right-color: #8dcffc; } 267 | 268 | .reveal .controls .navigate-right.enabled:hover { 269 | border-left-color: #8dcffc; } 270 | 271 | .reveal .controls .navigate-up.enabled:hover { 272 | border-bottom-color: #8dcffc; } 273 | 274 | .reveal .controls .navigate-down.enabled:hover { 275 | border-top-color: #8dcffc; } 276 | 277 | /********************************************* 278 | * PROGRESS BAR 279 | *********************************************/ 280 | .reveal .progress { 281 | background: rgba(0, 0, 0, 0.2); } 282 | 283 | .reveal .progress span { 284 | background: #42affa; 285 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 286 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 287 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 288 | -------------------------------------------------------------------------------- /css/simple.css: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple theme for reveal.js presentations, similar 3 | * to the default theme. The accent color is darkblue. 4 | * 5 | * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed. 6 | * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 7 | */ 8 | @import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700); 9 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 10 | /********************************************* 11 | * GLOBAL STYLES 12 | *********************************************/ 13 | body { 14 | background: #fff; 15 | background-color: #fff; } 16 | 17 | .reveal { 18 | font-family: "Lato", sans-serif; 19 | font-size: 36px; 20 | font-weight: normal; 21 | color: #000; } 22 | 23 | ::selection { 24 | color: #fff; 25 | background: rgba(0, 0, 0, 0.99); 26 | text-shadow: none; } 27 | 28 | .reveal .slides > section, 29 | .reveal .slides > section > section { 30 | line-height: 1.3; 31 | font-weight: inherit; } 32 | 33 | /********************************************* 34 | * HEADERS 35 | *********************************************/ 36 | .reveal h1, 37 | .reveal h2, 38 | .reveal h3, 39 | .reveal h4, 40 | .reveal h5, 41 | .reveal h6 { 42 | margin: 0 0 20px 0; 43 | color: #000; 44 | font-family: "News Cycle", Impact, sans-serif; 45 | font-weight: normal; 46 | line-height: 1.2; 47 | letter-spacing: normal; 48 | text-transform: none; 49 | text-shadow: none; 50 | word-wrap: break-word; } 51 | 52 | .reveal h1 { 53 | font-size: 3.77em; } 54 | 55 | .reveal h2 { 56 | font-size: 2.11em; } 57 | 58 | .reveal h3 { 59 | font-size: 1.55em; } 60 | 61 | .reveal h4 { 62 | font-size: 1em; } 63 | 64 | .reveal h1 { 65 | text-shadow: none; } 66 | 67 | /********************************************* 68 | * OTHER 69 | *********************************************/ 70 | .reveal p { 71 | margin: 20px 0; 72 | line-height: 1.3; } 73 | 74 | /* Ensure certain elements are never larger than the slide itself */ 75 | .reveal img, 76 | .reveal video, 77 | .reveal iframe { 78 | max-width: 95%; 79 | max-height: 95%; } 80 | 81 | .reveal strong, 82 | .reveal b { 83 | font-weight: bold; } 84 | 85 | .reveal em { 86 | font-style: italic; } 87 | 88 | .reveal ol, 89 | .reveal dl, 90 | .reveal ul { 91 | display: inline-block; 92 | text-align: left; 93 | margin: 0 0 0 1em; } 94 | 95 | .reveal ol { 96 | list-style-type: decimal; } 97 | 98 | .reveal ul { 99 | list-style-type: disc; } 100 | 101 | .reveal ul ul { 102 | list-style-type: square; } 103 | 104 | .reveal ul ul ul { 105 | list-style-type: circle; } 106 | 107 | .reveal ul ul, 108 | .reveal ul ol, 109 | .reveal ol ol, 110 | .reveal ol ul { 111 | display: block; 112 | margin-left: 40px; } 113 | 114 | .reveal dt { 115 | font-weight: bold; } 116 | 117 | .reveal dd { 118 | margin-left: 40px; } 119 | 120 | .reveal q, 121 | .reveal blockquote { 122 | quotes: none; } 123 | 124 | .reveal blockquote { 125 | display: block; 126 | position: relative; 127 | width: 70%; 128 | margin: 20px auto; 129 | padding: 5px; 130 | font-style: italic; 131 | background: rgba(255, 255, 255, 0.05); 132 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 133 | 134 | .reveal blockquote p:first-child, 135 | .reveal blockquote p:last-child { 136 | display: inline-block; } 137 | 138 | .reveal q { 139 | font-style: italic; } 140 | 141 | .reveal pre { 142 | display: block; 143 | position: relative; 144 | width: 90%; 145 | margin: 20px auto; 146 | text-align: left; 147 | font-size: 0.55em; 148 | font-family: monospace; 149 | line-height: 1.2em; 150 | word-wrap: break-word; 151 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 152 | 153 | .reveal code { 154 | font-family: monospace; } 155 | 156 | .reveal pre code { 157 | display: block; 158 | padding: 5px; 159 | overflow: auto; 160 | max-height: 400px; 161 | word-wrap: normal; } 162 | 163 | .reveal table { 164 | margin: auto; 165 | border-collapse: collapse; 166 | border-spacing: 0; } 167 | 168 | .reveal table th { 169 | font-weight: bold; } 170 | 171 | .reveal table th, 172 | .reveal table td { 173 | text-align: left; 174 | padding: 0.2em 0.5em 0.2em 0.5em; 175 | border-bottom: 1px solid; } 176 | 177 | .reveal table th[align="center"], 178 | .reveal table td[align="center"] { 179 | text-align: center; } 180 | 181 | .reveal table th[align="right"], 182 | .reveal table td[align="right"] { 183 | text-align: right; } 184 | 185 | .reveal table tbody tr:last-child th, 186 | .reveal table tbody tr:last-child td { 187 | border-bottom: none; } 188 | 189 | .reveal sup { 190 | vertical-align: super; } 191 | 192 | .reveal sub { 193 | vertical-align: sub; } 194 | 195 | .reveal small { 196 | display: inline-block; 197 | font-size: 0.6em; 198 | line-height: 1.2em; 199 | vertical-align: top; } 200 | 201 | .reveal small * { 202 | vertical-align: top; } 203 | 204 | /********************************************* 205 | * LINKS 206 | *********************************************/ 207 | .reveal a { 208 | color: #00008B; 209 | text-decoration: none; 210 | -webkit-transition: color .15s ease; 211 | -moz-transition: color .15s ease; 212 | transition: color .15s ease; } 213 | 214 | .reveal a:hover { 215 | color: #0000f1; 216 | text-shadow: none; 217 | border: none; } 218 | 219 | .reveal .roll span:after { 220 | color: #fff; 221 | background: #00003f; } 222 | 223 | /********************************************* 224 | * IMAGES 225 | *********************************************/ 226 | .reveal section img { 227 | margin: 15px 0px; 228 | background: rgba(255, 255, 255, 0.12); 229 | border: 4px solid #000; 230 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 231 | 232 | .reveal section img.plain { 233 | border: 0; 234 | box-shadow: none; } 235 | 236 | .reveal a img { 237 | -webkit-transition: all .15s linear; 238 | -moz-transition: all .15s linear; 239 | transition: all .15s linear; } 240 | 241 | .reveal a:hover img { 242 | background: rgba(255, 255, 255, 0.2); 243 | border-color: #00008B; 244 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 245 | 246 | /********************************************* 247 | * NAVIGATION CONTROLS 248 | *********************************************/ 249 | .reveal .controls .navigate-left, 250 | .reveal .controls .navigate-left.enabled { 251 | border-right-color: #00008B; } 252 | 253 | .reveal .controls .navigate-right, 254 | .reveal .controls .navigate-right.enabled { 255 | border-left-color: #00008B; } 256 | 257 | .reveal .controls .navigate-up, 258 | .reveal .controls .navigate-up.enabled { 259 | border-bottom-color: #00008B; } 260 | 261 | .reveal .controls .navigate-down, 262 | .reveal .controls .navigate-down.enabled { 263 | border-top-color: #00008B; } 264 | 265 | .reveal .controls .navigate-left.enabled:hover { 266 | border-right-color: #0000f1; } 267 | 268 | .reveal .controls .navigate-right.enabled:hover { 269 | border-left-color: #0000f1; } 270 | 271 | .reveal .controls .navigate-up.enabled:hover { 272 | border-bottom-color: #0000f1; } 273 | 274 | .reveal .controls .navigate-down.enabled:hover { 275 | border-top-color: #0000f1; } 276 | 277 | /********************************************* 278 | * PROGRESS BAR 279 | *********************************************/ 280 | .reveal .progress { 281 | background: rgba(0, 0, 0, 0.2); } 282 | 283 | .reveal .progress span { 284 | background: #00008B; 285 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 286 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 287 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 288 | -------------------------------------------------------------------------------- /css/template/theme.scss: -------------------------------------------------------------------------------- 1 | // Base theme template for reveal.js 2 | 3 | /********************************************* 4 | * GLOBAL STYLES 5 | *********************************************/ 6 | 7 | body { 8 | @include bodyBackground(); 9 | background-color: $backgroundColor; 10 | } 11 | 12 | .reveal { 13 | font-family: $mainFont; 14 | font-size: $mainFontSize; 15 | font-weight: normal; 16 | color: $mainColor; 17 | } 18 | 19 | ::selection { 20 | color: $selectionColor; 21 | background: $selectionBackgroundColor; 22 | text-shadow: none; 23 | } 24 | 25 | .reveal .slides>section, 26 | .reveal .slides>section>section { 27 | line-height: 1.3; 28 | font-weight: inherit; 29 | } 30 | 31 | /********************************************* 32 | * HEADERS 33 | *********************************************/ 34 | 35 | .reveal h1, 36 | .reveal h2, 37 | .reveal h3, 38 | .reveal h4, 39 | .reveal h5, 40 | .reveal h6 { 41 | margin: $headingMargin; 42 | color: $headingColor; 43 | 44 | font-family: $headingFont; 45 | font-weight: $headingFontWeight; 46 | line-height: $headingLineHeight; 47 | letter-spacing: $headingLetterSpacing; 48 | 49 | text-transform: $headingTextTransform; 50 | text-shadow: $headingTextShadow; 51 | 52 | word-wrap: break-word; 53 | } 54 | 55 | .reveal h1 {font-size: $heading1Size; } 56 | .reveal h2 {font-size: $heading2Size; } 57 | .reveal h3 {font-size: $heading3Size; } 58 | .reveal h4 {font-size: $heading4Size; } 59 | 60 | .reveal h1 { 61 | text-shadow: $heading1TextShadow; 62 | } 63 | 64 | 65 | /********************************************* 66 | * OTHER 67 | *********************************************/ 68 | 69 | .reveal p { 70 | margin: $blockMargin 0; 71 | line-height: 1.3; 72 | } 73 | 74 | /* Ensure certain elements are never larger than the slide itself */ 75 | .reveal img, 76 | .reveal video, 77 | .reveal iframe { 78 | max-width: 95%; 79 | max-height: 95%; 80 | } 81 | .reveal strong, 82 | .reveal b { 83 | font-weight: bold; 84 | } 85 | 86 | .reveal em { 87 | font-style: italic; 88 | } 89 | 90 | .reveal ol, 91 | .reveal dl, 92 | .reveal ul { 93 | display: inline-block; 94 | 95 | text-align: left; 96 | margin: 0 0 0 1em; 97 | } 98 | 99 | .reveal ol { 100 | list-style-type: decimal; 101 | } 102 | 103 | .reveal ul { 104 | list-style-type: disc; 105 | } 106 | 107 | .reveal ul ul { 108 | list-style-type: square; 109 | } 110 | 111 | .reveal ul ul ul { 112 | list-style-type: circle; 113 | } 114 | 115 | .reveal ul ul, 116 | .reveal ul ol, 117 | .reveal ol ol, 118 | .reveal ol ul { 119 | display: block; 120 | margin-left: 40px; 121 | } 122 | 123 | .reveal dt { 124 | font-weight: bold; 125 | } 126 | 127 | .reveal dd { 128 | margin-left: 40px; 129 | } 130 | 131 | .reveal q, 132 | .reveal blockquote { 133 | quotes: none; 134 | } 135 | 136 | .reveal blockquote { 137 | display: block; 138 | position: relative; 139 | width: 70%; 140 | margin: $blockMargin auto; 141 | padding: 5px; 142 | 143 | font-style: italic; 144 | background: rgba(255, 255, 255, 0.05); 145 | box-shadow: 0px 0px 2px rgba(0,0,0,0.2); 146 | } 147 | .reveal blockquote p:first-child, 148 | .reveal blockquote p:last-child { 149 | display: inline-block; 150 | } 151 | 152 | .reveal q { 153 | font-style: italic; 154 | } 155 | 156 | .reveal pre { 157 | display: block; 158 | position: relative; 159 | width: 90%; 160 | margin: $blockMargin auto; 161 | 162 | text-align: left; 163 | font-size: 0.55em; 164 | font-family: monospace; 165 | line-height: 1.2em; 166 | 167 | word-wrap: break-word; 168 | 169 | box-shadow: 0px 0px 6px rgba(0,0,0,0.3); 170 | } 171 | .reveal code { 172 | font-family: monospace; 173 | } 174 | 175 | .reveal pre code { 176 | display: block; 177 | padding: 5px; 178 | overflow: auto; 179 | max-height: 400px; 180 | word-wrap: normal; 181 | } 182 | 183 | .reveal table { 184 | margin: auto; 185 | border-collapse: collapse; 186 | border-spacing: 0; 187 | } 188 | 189 | .reveal table th { 190 | font-weight: bold; 191 | } 192 | 193 | .reveal table th, 194 | .reveal table td { 195 | text-align: left; 196 | padding: 0.2em 0.5em 0.2em 0.5em; 197 | border-bottom: 1px solid; 198 | } 199 | 200 | .reveal table th[align="center"], 201 | .reveal table td[align="center"] { 202 | text-align: center; 203 | } 204 | 205 | .reveal table th[align="right"], 206 | .reveal table td[align="right"] { 207 | text-align: right; 208 | } 209 | 210 | .reveal table tbody tr:last-child th, 211 | .reveal table tbody tr:last-child td { 212 | border-bottom: none; 213 | } 214 | 215 | .reveal sup { 216 | vertical-align: super; 217 | } 218 | .reveal sub { 219 | vertical-align: sub; 220 | } 221 | 222 | .reveal small { 223 | display: inline-block; 224 | font-size: 0.6em; 225 | line-height: 1.2em; 226 | vertical-align: top; 227 | } 228 | 229 | .reveal small * { 230 | vertical-align: top; 231 | } 232 | 233 | 234 | /********************************************* 235 | * LINKS 236 | *********************************************/ 237 | 238 | .reveal a { 239 | color: $linkColor; 240 | text-decoration: none; 241 | 242 | -webkit-transition: color .15s ease; 243 | -moz-transition: color .15s ease; 244 | transition: color .15s ease; 245 | } 246 | .reveal a:hover { 247 | color: $linkColorHover; 248 | 249 | text-shadow: none; 250 | border: none; 251 | } 252 | 253 | .reveal .roll span:after { 254 | color: #fff; 255 | background: darken( $linkColor, 15% ); 256 | } 257 | 258 | 259 | /********************************************* 260 | * IMAGES 261 | *********************************************/ 262 | 263 | .reveal section img { 264 | margin: 15px 0px; 265 | background: rgba(255,255,255,0.12); 266 | border: 4px solid $mainColor; 267 | 268 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); 269 | } 270 | 271 | .reveal section img.plain { 272 | border: 0; 273 | box-shadow: none; 274 | } 275 | 276 | .reveal a img { 277 | -webkit-transition: all .15s linear; 278 | -moz-transition: all .15s linear; 279 | transition: all .15s linear; 280 | } 281 | 282 | .reveal a:hover img { 283 | background: rgba(255,255,255,0.2); 284 | border-color: $linkColor; 285 | 286 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); 287 | } 288 | 289 | 290 | /********************************************* 291 | * NAVIGATION CONTROLS 292 | *********************************************/ 293 | 294 | .reveal .controls .navigate-left, 295 | .reveal .controls .navigate-left.enabled { 296 | border-right-color: $linkColor; 297 | } 298 | 299 | .reveal .controls .navigate-right, 300 | .reveal .controls .navigate-right.enabled { 301 | border-left-color: $linkColor; 302 | } 303 | 304 | .reveal .controls .navigate-up, 305 | .reveal .controls .navigate-up.enabled { 306 | border-bottom-color: $linkColor; 307 | } 308 | 309 | .reveal .controls .navigate-down, 310 | .reveal .controls .navigate-down.enabled { 311 | border-top-color: $linkColor; 312 | } 313 | 314 | .reveal .controls .navigate-left.enabled:hover { 315 | border-right-color: $linkColorHover; 316 | } 317 | 318 | .reveal .controls .navigate-right.enabled:hover { 319 | border-left-color: $linkColorHover; 320 | } 321 | 322 | .reveal .controls .navigate-up.enabled:hover { 323 | border-bottom-color: $linkColorHover; 324 | } 325 | 326 | .reveal .controls .navigate-down.enabled:hover { 327 | border-top-color: $linkColorHover; 328 | } 329 | 330 | 331 | /********************************************* 332 | * PROGRESS BAR 333 | *********************************************/ 334 | 335 | .reveal .progress { 336 | background: rgba(0,0,0,0.2); 337 | } 338 | .reveal .progress span { 339 | background: $linkColor; 340 | 341 | -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); 342 | -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); 343 | transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); 344 | } 345 | 346 | 347 | -------------------------------------------------------------------------------- /css/sky.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Sky theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | @import url(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic); 7 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); 8 | .reveal a { 9 | line-height: 1.3em; } 10 | 11 | /********************************************* 12 | * GLOBAL STYLES 13 | *********************************************/ 14 | body { 15 | background: #add9e4; 16 | background: -moz-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); 17 | background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #f7fbfc), color-stop(100%, #add9e4)); 18 | background: -webkit-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); 19 | background: -o-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); 20 | background: -ms-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); 21 | background: radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); 22 | background-color: #f7fbfc; } 23 | 24 | .reveal { 25 | font-family: "Open Sans", sans-serif; 26 | font-size: 36px; 27 | font-weight: normal; 28 | color: #333; } 29 | 30 | ::selection { 31 | color: #fff; 32 | background: #134674; 33 | text-shadow: none; } 34 | 35 | .reveal .slides > section, 36 | .reveal .slides > section > section { 37 | line-height: 1.3; 38 | font-weight: inherit; } 39 | 40 | /********************************************* 41 | * HEADERS 42 | *********************************************/ 43 | .reveal h1, 44 | .reveal h2, 45 | .reveal h3, 46 | .reveal h4, 47 | .reveal h5, 48 | .reveal h6 { 49 | margin: 0 0 20px 0; 50 | color: #333; 51 | font-family: "Quicksand", sans-serif; 52 | font-weight: normal; 53 | line-height: 1.2; 54 | letter-spacing: -0.08em; 55 | text-transform: uppercase; 56 | text-shadow: none; 57 | word-wrap: break-word; } 58 | 59 | .reveal h1 { 60 | font-size: 3.77em; } 61 | 62 | .reveal h2 { 63 | font-size: 2.11em; } 64 | 65 | .reveal h3 { 66 | font-size: 1.55em; } 67 | 68 | .reveal h4 { 69 | font-size: 1em; } 70 | 71 | .reveal h1 { 72 | text-shadow: none; } 73 | 74 | /********************************************* 75 | * OTHER 76 | *********************************************/ 77 | .reveal p { 78 | margin: 20px 0; 79 | line-height: 1.3; } 80 | 81 | /* Ensure certain elements are never larger than the slide itself */ 82 | .reveal img, 83 | .reveal video, 84 | .reveal iframe { 85 | max-width: 95%; 86 | max-height: 95%; } 87 | 88 | .reveal strong, 89 | .reveal b { 90 | font-weight: bold; } 91 | 92 | .reveal em { 93 | font-style: italic; } 94 | 95 | .reveal ol, 96 | .reveal dl, 97 | .reveal ul { 98 | display: inline-block; 99 | text-align: left; 100 | margin: 0 0 0 1em; } 101 | 102 | .reveal ol { 103 | list-style-type: decimal; } 104 | 105 | .reveal ul { 106 | list-style-type: disc; } 107 | 108 | .reveal ul ul { 109 | list-style-type: square; } 110 | 111 | .reveal ul ul ul { 112 | list-style-type: circle; } 113 | 114 | .reveal ul ul, 115 | .reveal ul ol, 116 | .reveal ol ol, 117 | .reveal ol ul { 118 | display: block; 119 | margin-left: 40px; } 120 | 121 | .reveal dt { 122 | font-weight: bold; } 123 | 124 | .reveal dd { 125 | margin-left: 40px; } 126 | 127 | .reveal q, 128 | .reveal blockquote { 129 | quotes: none; } 130 | 131 | .reveal blockquote { 132 | display: block; 133 | position: relative; 134 | width: 70%; 135 | margin: 20px auto; 136 | padding: 5px; 137 | font-style: italic; 138 | background: rgba(255, 255, 255, 0.05); 139 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 140 | 141 | .reveal blockquote p:first-child, 142 | .reveal blockquote p:last-child { 143 | display: inline-block; } 144 | 145 | .reveal q { 146 | font-style: italic; } 147 | 148 | .reveal pre { 149 | display: block; 150 | position: relative; 151 | width: 90%; 152 | margin: 20px auto; 153 | text-align: left; 154 | font-size: 0.55em; 155 | font-family: monospace; 156 | line-height: 1.2em; 157 | word-wrap: break-word; 158 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 159 | 160 | .reveal code { 161 | font-family: monospace; } 162 | 163 | .reveal pre code { 164 | display: block; 165 | padding: 5px; 166 | overflow: auto; 167 | max-height: 400px; 168 | word-wrap: normal; } 169 | 170 | .reveal table { 171 | margin: auto; 172 | border-collapse: collapse; 173 | border-spacing: 0; } 174 | 175 | .reveal table th { 176 | font-weight: bold; } 177 | 178 | .reveal table th, 179 | .reveal table td { 180 | text-align: left; 181 | padding: 0.2em 0.5em 0.2em 0.5em; 182 | border-bottom: 1px solid; } 183 | 184 | .reveal table th[align="center"], 185 | .reveal table td[align="center"] { 186 | text-align: center; } 187 | 188 | .reveal table th[align="right"], 189 | .reveal table td[align="right"] { 190 | text-align: right; } 191 | 192 | .reveal table tbody tr:last-child th, 193 | .reveal table tbody tr:last-child td { 194 | border-bottom: none; } 195 | 196 | .reveal sup { 197 | vertical-align: super; } 198 | 199 | .reveal sub { 200 | vertical-align: sub; } 201 | 202 | .reveal small { 203 | display: inline-block; 204 | font-size: 0.6em; 205 | line-height: 1.2em; 206 | vertical-align: top; } 207 | 208 | .reveal small * { 209 | vertical-align: top; } 210 | 211 | /********************************************* 212 | * LINKS 213 | *********************************************/ 214 | .reveal a { 215 | color: #3b759e; 216 | text-decoration: none; 217 | -webkit-transition: color .15s ease; 218 | -moz-transition: color .15s ease; 219 | transition: color .15s ease; } 220 | 221 | .reveal a:hover { 222 | color: #74a7cb; 223 | text-shadow: none; 224 | border: none; } 225 | 226 | .reveal .roll span:after { 227 | color: #fff; 228 | background: #264c66; } 229 | 230 | /********************************************* 231 | * IMAGES 232 | *********************************************/ 233 | .reveal section img { 234 | margin: 15px 0px; 235 | background: rgba(255, 255, 255, 0.12); 236 | border: 4px solid #333; 237 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 238 | 239 | .reveal section img.plain { 240 | border: 0; 241 | box-shadow: none; } 242 | 243 | .reveal a img { 244 | -webkit-transition: all .15s linear; 245 | -moz-transition: all .15s linear; 246 | transition: all .15s linear; } 247 | 248 | .reveal a:hover img { 249 | background: rgba(255, 255, 255, 0.2); 250 | border-color: #3b759e; 251 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 252 | 253 | /********************************************* 254 | * NAVIGATION CONTROLS 255 | *********************************************/ 256 | .reveal .controls .navigate-left, 257 | .reveal .controls .navigate-left.enabled { 258 | border-right-color: #3b759e; } 259 | 260 | .reveal .controls .navigate-right, 261 | .reveal .controls .navigate-right.enabled { 262 | border-left-color: #3b759e; } 263 | 264 | .reveal .controls .navigate-up, 265 | .reveal .controls .navigate-up.enabled { 266 | border-bottom-color: #3b759e; } 267 | 268 | .reveal .controls .navigate-down, 269 | .reveal .controls .navigate-down.enabled { 270 | border-top-color: #3b759e; } 271 | 272 | .reveal .controls .navigate-left.enabled:hover { 273 | border-right-color: #74a7cb; } 274 | 275 | .reveal .controls .navigate-right.enabled:hover { 276 | border-left-color: #74a7cb; } 277 | 278 | .reveal .controls .navigate-up.enabled:hover { 279 | border-bottom-color: #74a7cb; } 280 | 281 | .reveal .controls .navigate-down.enabled:hover { 282 | border-top-color: #74a7cb; } 283 | 284 | /********************************************* 285 | * PROGRESS BAR 286 | *********************************************/ 287 | .reveal .progress { 288 | background: rgba(0, 0, 0, 0.2); } 289 | 290 | .reveal .progress span { 291 | background: #3b759e; 292 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 293 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 294 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 295 | -------------------------------------------------------------------------------- /css/blood.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Blood theme for reveal.js 3 | * Author: Walther http://github.com/Walther 4 | * 5 | * Designed to be used with highlight.js theme 6 | * "monokai_sublime.css" available from 7 | * https://github.com/isagalaev/highlight.js/ 8 | * 9 | * For other themes, change $codeBackground accordingly. 10 | * 11 | */ 12 | @import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic); 13 | /********************************************* 14 | * GLOBAL STYLES 15 | *********************************************/ 16 | body { 17 | background: #222; 18 | background-color: #222; } 19 | 20 | .reveal { 21 | font-family: Ubuntu, "sans-serif"; 22 | font-size: 36px; 23 | font-weight: normal; 24 | color: #eee; } 25 | 26 | ::selection { 27 | color: #fff; 28 | background: #a23; 29 | text-shadow: none; } 30 | 31 | .reveal .slides > section, 32 | .reveal .slides > section > section { 33 | line-height: 1.3; 34 | font-weight: inherit; } 35 | 36 | /********************************************* 37 | * HEADERS 38 | *********************************************/ 39 | .reveal h1, 40 | .reveal h2, 41 | .reveal h3, 42 | .reveal h4, 43 | .reveal h5, 44 | .reveal h6 { 45 | margin: 0 0 20px 0; 46 | color: #eee; 47 | font-family: Ubuntu, "sans-serif"; 48 | font-weight: normal; 49 | line-height: 1.2; 50 | letter-spacing: normal; 51 | text-transform: uppercase; 52 | text-shadow: 2px 2px 2px #222; 53 | word-wrap: break-word; } 54 | 55 | .reveal h1 { 56 | font-size: 3.77em; } 57 | 58 | .reveal h2 { 59 | font-size: 2.11em; } 60 | 61 | .reveal h3 { 62 | font-size: 1.55em; } 63 | 64 | .reveal h4 { 65 | font-size: 1em; } 66 | 67 | .reveal h1 { 68 | text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15); } 69 | 70 | /********************************************* 71 | * OTHER 72 | *********************************************/ 73 | .reveal p { 74 | margin: 20px 0; 75 | line-height: 1.3; } 76 | 77 | /* Ensure certain elements are never larger than the slide itself */ 78 | .reveal img, 79 | .reveal video, 80 | .reveal iframe { 81 | max-width: 95%; 82 | max-height: 95%; } 83 | 84 | .reveal strong, 85 | .reveal b { 86 | font-weight: bold; } 87 | 88 | .reveal em { 89 | font-style: italic; } 90 | 91 | .reveal ol, 92 | .reveal dl, 93 | .reveal ul { 94 | display: inline-block; 95 | text-align: left; 96 | margin: 0 0 0 1em; } 97 | 98 | .reveal ol { 99 | list-style-type: decimal; } 100 | 101 | .reveal ul { 102 | list-style-type: disc; } 103 | 104 | .reveal ul ul { 105 | list-style-type: square; } 106 | 107 | .reveal ul ul ul { 108 | list-style-type: circle; } 109 | 110 | .reveal ul ul, 111 | .reveal ul ol, 112 | .reveal ol ol, 113 | .reveal ol ul { 114 | display: block; 115 | margin-left: 40px; } 116 | 117 | .reveal dt { 118 | font-weight: bold; } 119 | 120 | .reveal dd { 121 | margin-left: 40px; } 122 | 123 | .reveal q, 124 | .reveal blockquote { 125 | quotes: none; } 126 | 127 | .reveal blockquote { 128 | display: block; 129 | position: relative; 130 | width: 70%; 131 | margin: 20px auto; 132 | padding: 5px; 133 | font-style: italic; 134 | background: rgba(255, 255, 255, 0.05); 135 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 136 | 137 | .reveal blockquote p:first-child, 138 | .reveal blockquote p:last-child { 139 | display: inline-block; } 140 | 141 | .reveal q { 142 | font-style: italic; } 143 | 144 | .reveal pre { 145 | display: block; 146 | position: relative; 147 | width: 90%; 148 | margin: 20px auto; 149 | text-align: left; 150 | font-size: 0.55em; 151 | font-family: monospace; 152 | line-height: 1.2em; 153 | word-wrap: break-word; 154 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 155 | 156 | .reveal code { 157 | font-family: monospace; } 158 | 159 | .reveal pre code { 160 | display: block; 161 | padding: 5px; 162 | overflow: auto; 163 | max-height: 400px; 164 | word-wrap: normal; } 165 | 166 | .reveal table { 167 | margin: auto; 168 | border-collapse: collapse; 169 | border-spacing: 0; } 170 | 171 | .reveal table th { 172 | font-weight: bold; } 173 | 174 | .reveal table th, 175 | .reveal table td { 176 | text-align: left; 177 | padding: 0.2em 0.5em 0.2em 0.5em; 178 | border-bottom: 1px solid; } 179 | 180 | .reveal table th[align="center"], 181 | .reveal table td[align="center"] { 182 | text-align: center; } 183 | 184 | .reveal table th[align="right"], 185 | .reveal table td[align="right"] { 186 | text-align: right; } 187 | 188 | .reveal table tbody tr:last-child th, 189 | .reveal table tbody tr:last-child td { 190 | border-bottom: none; } 191 | 192 | .reveal sup { 193 | vertical-align: super; } 194 | 195 | .reveal sub { 196 | vertical-align: sub; } 197 | 198 | .reveal small { 199 | display: inline-block; 200 | font-size: 0.6em; 201 | line-height: 1.2em; 202 | vertical-align: top; } 203 | 204 | .reveal small * { 205 | vertical-align: top; } 206 | 207 | /********************************************* 208 | * LINKS 209 | *********************************************/ 210 | .reveal a { 211 | color: #a23; 212 | text-decoration: none; 213 | -webkit-transition: color .15s ease; 214 | -moz-transition: color .15s ease; 215 | transition: color .15s ease; } 216 | 217 | .reveal a:hover { 218 | color: #dd5566; 219 | text-shadow: none; 220 | border: none; } 221 | 222 | .reveal .roll span:after { 223 | color: #fff; 224 | background: #6a1520; } 225 | 226 | /********************************************* 227 | * IMAGES 228 | *********************************************/ 229 | .reveal section img { 230 | margin: 15px 0px; 231 | background: rgba(255, 255, 255, 0.12); 232 | border: 4px solid #eee; 233 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 234 | 235 | .reveal section img.plain { 236 | border: 0; 237 | box-shadow: none; } 238 | 239 | .reveal a img { 240 | -webkit-transition: all .15s linear; 241 | -moz-transition: all .15s linear; 242 | transition: all .15s linear; } 243 | 244 | .reveal a:hover img { 245 | background: rgba(255, 255, 255, 0.2); 246 | border-color: #a23; 247 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 248 | 249 | /********************************************* 250 | * NAVIGATION CONTROLS 251 | *********************************************/ 252 | .reveal .controls .navigate-left, 253 | .reveal .controls .navigate-left.enabled { 254 | border-right-color: #a23; } 255 | 256 | .reveal .controls .navigate-right, 257 | .reveal .controls .navigate-right.enabled { 258 | border-left-color: #a23; } 259 | 260 | .reveal .controls .navigate-up, 261 | .reveal .controls .navigate-up.enabled { 262 | border-bottom-color: #a23; } 263 | 264 | .reveal .controls .navigate-down, 265 | .reveal .controls .navigate-down.enabled { 266 | border-top-color: #a23; } 267 | 268 | .reveal .controls .navigate-left.enabled:hover { 269 | border-right-color: #dd5566; } 270 | 271 | .reveal .controls .navigate-right.enabled:hover { 272 | border-left-color: #dd5566; } 273 | 274 | .reveal .controls .navigate-up.enabled:hover { 275 | border-bottom-color: #dd5566; } 276 | 277 | .reveal .controls .navigate-down.enabled:hover { 278 | border-top-color: #dd5566; } 279 | 280 | /********************************************* 281 | * PROGRESS BAR 282 | *********************************************/ 283 | .reveal .progress { 284 | background: rgba(0, 0, 0, 0.2); } 285 | 286 | .reveal .progress span { 287 | background: #a23; 288 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 289 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 290 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 291 | 292 | .reveal p { 293 | font-weight: 300; 294 | text-shadow: 1px 1px #222; } 295 | 296 | .reveal h1, 297 | .reveal h2, 298 | .reveal h3, 299 | .reveal h4, 300 | .reveal h5, 301 | .reveal h6 { 302 | font-weight: 700; } 303 | 304 | .reveal p code { 305 | background-color: #23241f; 306 | display: inline-block; 307 | border-radius: 7px; } 308 | 309 | .reveal small code { 310 | vertical-align: baseline; } 311 | -------------------------------------------------------------------------------- /css/beige.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Beige theme for reveal.js. 3 | * 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 5 | */ 6 | @import url(../../lib/font/league-gothic/league-gothic.css); 7 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 8 | /********************************************* 9 | * GLOBAL STYLES 10 | *********************************************/ 11 | body { 12 | background: #f7f2d3; 13 | background: -moz-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%); 14 | background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, white), color-stop(100%, #f7f2d3)); 15 | background: -webkit-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%); 16 | background: -o-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%); 17 | background: -ms-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%); 18 | background: radial-gradient(center, circle cover, white 0%, #f7f2d3 100%); 19 | background-color: #f7f3de; } 20 | 21 | .reveal { 22 | font-family: "Lato", sans-serif; 23 | font-size: 36px; 24 | font-weight: normal; 25 | color: #333; } 26 | 27 | ::selection { 28 | color: #fff; 29 | background: rgba(79, 64, 28, 0.99); 30 | text-shadow: none; } 31 | 32 | .reveal .slides > section, 33 | .reveal .slides > section > section { 34 | line-height: 1.3; 35 | font-weight: inherit; } 36 | 37 | /********************************************* 38 | * HEADERS 39 | *********************************************/ 40 | .reveal h1, 41 | .reveal h2, 42 | .reveal h3, 43 | .reveal h4, 44 | .reveal h5, 45 | .reveal h6 { 46 | margin: 0 0 20px 0; 47 | color: #333; 48 | font-family: "League Gothic", Impact, sans-serif; 49 | font-weight: normal; 50 | line-height: 1.2; 51 | letter-spacing: normal; 52 | text-transform: uppercase; 53 | text-shadow: none; 54 | word-wrap: break-word; } 55 | 56 | .reveal h1 { 57 | font-size: 3.77em; } 58 | 59 | .reveal h2 { 60 | font-size: 2.11em; } 61 | 62 | .reveal h3 { 63 | font-size: 1.55em; } 64 | 65 | .reveal h4 { 66 | font-size: 1em; } 67 | 68 | .reveal h1 { 69 | text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15); } 70 | 71 | /********************************************* 72 | * OTHER 73 | *********************************************/ 74 | .reveal p { 75 | margin: 20px 0; 76 | line-height: 1.3; } 77 | 78 | /* Ensure certain elements are never larger than the slide itself */ 79 | .reveal img, 80 | .reveal video, 81 | .reveal iframe { 82 | max-width: 95%; 83 | max-height: 95%; } 84 | 85 | .reveal strong, 86 | .reveal b { 87 | font-weight: bold; } 88 | 89 | .reveal em { 90 | font-style: italic; } 91 | 92 | .reveal ol, 93 | .reveal dl, 94 | .reveal ul { 95 | display: inline-block; 96 | text-align: left; 97 | margin: 0 0 0 1em; } 98 | 99 | .reveal ol { 100 | list-style-type: decimal; } 101 | 102 | .reveal ul { 103 | list-style-type: disc; } 104 | 105 | .reveal ul ul { 106 | list-style-type: square; } 107 | 108 | .reveal ul ul ul { 109 | list-style-type: circle; } 110 | 111 | .reveal ul ul, 112 | .reveal ul ol, 113 | .reveal ol ol, 114 | .reveal ol ul { 115 | display: block; 116 | margin-left: 40px; } 117 | 118 | .reveal dt { 119 | font-weight: bold; } 120 | 121 | .reveal dd { 122 | margin-left: 40px; } 123 | 124 | .reveal q, 125 | .reveal blockquote { 126 | quotes: none; } 127 | 128 | .reveal blockquote { 129 | display: block; 130 | position: relative; 131 | width: 70%; 132 | margin: 20px auto; 133 | padding: 5px; 134 | font-style: italic; 135 | background: rgba(255, 255, 255, 0.05); 136 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 137 | 138 | .reveal blockquote p:first-child, 139 | .reveal blockquote p:last-child { 140 | display: inline-block; } 141 | 142 | .reveal q { 143 | font-style: italic; } 144 | 145 | .reveal pre { 146 | display: block; 147 | position: relative; 148 | width: 90%; 149 | margin: 20px auto; 150 | text-align: left; 151 | font-size: 0.55em; 152 | font-family: monospace; 153 | line-height: 1.2em; 154 | word-wrap: break-word; 155 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 156 | 157 | .reveal code { 158 | font-family: monospace; } 159 | 160 | .reveal pre code { 161 | display: block; 162 | padding: 5px; 163 | overflow: auto; 164 | max-height: 400px; 165 | word-wrap: normal; } 166 | 167 | .reveal table { 168 | margin: auto; 169 | border-collapse: collapse; 170 | border-spacing: 0; } 171 | 172 | .reveal table th { 173 | font-weight: bold; } 174 | 175 | .reveal table th, 176 | .reveal table td { 177 | text-align: left; 178 | padding: 0.2em 0.5em 0.2em 0.5em; 179 | border-bottom: 1px solid; } 180 | 181 | .reveal table th[align="center"], 182 | .reveal table td[align="center"] { 183 | text-align: center; } 184 | 185 | .reveal table th[align="right"], 186 | .reveal table td[align="right"] { 187 | text-align: right; } 188 | 189 | .reveal table tbody tr:last-child th, 190 | .reveal table tbody tr:last-child td { 191 | border-bottom: none; } 192 | 193 | .reveal sup { 194 | vertical-align: super; } 195 | 196 | .reveal sub { 197 | vertical-align: sub; } 198 | 199 | .reveal small { 200 | display: inline-block; 201 | font-size: 0.6em; 202 | line-height: 1.2em; 203 | vertical-align: top; } 204 | 205 | .reveal small * { 206 | vertical-align: top; } 207 | 208 | /********************************************* 209 | * LINKS 210 | *********************************************/ 211 | .reveal a { 212 | color: #8b743d; 213 | text-decoration: none; 214 | -webkit-transition: color .15s ease; 215 | -moz-transition: color .15s ease; 216 | transition: color .15s ease; } 217 | 218 | .reveal a:hover { 219 | color: #c0a86e; 220 | text-shadow: none; 221 | border: none; } 222 | 223 | .reveal .roll span:after { 224 | color: #fff; 225 | background: #564826; } 226 | 227 | /********************************************* 228 | * IMAGES 229 | *********************************************/ 230 | .reveal section img { 231 | margin: 15px 0px; 232 | background: rgba(255, 255, 255, 0.12); 233 | border: 4px solid #333; 234 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 235 | 236 | .reveal section img.plain { 237 | border: 0; 238 | box-shadow: none; } 239 | 240 | .reveal a img { 241 | -webkit-transition: all .15s linear; 242 | -moz-transition: all .15s linear; 243 | transition: all .15s linear; } 244 | 245 | .reveal a:hover img { 246 | background: rgba(255, 255, 255, 0.2); 247 | border-color: #8b743d; 248 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 249 | 250 | /********************************************* 251 | * NAVIGATION CONTROLS 252 | *********************************************/ 253 | .reveal .controls .navigate-left, 254 | .reveal .controls .navigate-left.enabled { 255 | border-right-color: #8b743d; } 256 | 257 | .reveal .controls .navigate-right, 258 | .reveal .controls .navigate-right.enabled { 259 | border-left-color: #8b743d; } 260 | 261 | .reveal .controls .navigate-up, 262 | .reveal .controls .navigate-up.enabled { 263 | border-bottom-color: #8b743d; } 264 | 265 | .reveal .controls .navigate-down, 266 | .reveal .controls .navigate-down.enabled { 267 | border-top-color: #8b743d; } 268 | 269 | .reveal .controls .navigate-left.enabled:hover { 270 | border-right-color: #c0a86e; } 271 | 272 | .reveal .controls .navigate-right.enabled:hover { 273 | border-left-color: #c0a86e; } 274 | 275 | .reveal .controls .navigate-up.enabled:hover { 276 | border-bottom-color: #c0a86e; } 277 | 278 | .reveal .controls .navigate-down.enabled:hover { 279 | border-top-color: #c0a86e; } 280 | 281 | /********************************************* 282 | * PROGRESS BAR 283 | *********************************************/ 284 | .reveal .progress { 285 | background: rgba(0, 0, 0, 0.2); } 286 | 287 | .reveal .progress span { 288 | background: #8b743d; 289 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 290 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 291 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 292 | -------------------------------------------------------------------------------- /css/league.css: -------------------------------------------------------------------------------- 1 | /** 2 | * League theme for reveal.js. 3 | * 4 | * This was the default theme pre-3.0.0. 5 | * 6 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se 7 | */ 8 | @import url(../../lib/font/league-gothic/league-gothic.css); 9 | @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); 10 | /********************************************* 11 | * GLOBAL STYLES 12 | *********************************************/ 13 | body { 14 | background: #1c1e20; 15 | background: -moz-radial-gradient(center, circle cover, #555a5f 0%, #1c1e20 100%); 16 | background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #555a5f), color-stop(100%, #1c1e20)); 17 | background: -webkit-radial-gradient(center, circle cover, #555a5f 0%, #1c1e20 100%); 18 | background: -o-radial-gradient(center, circle cover, #555a5f 0%, #1c1e20 100%); 19 | background: -ms-radial-gradient(center, circle cover, #555a5f 0%, #1c1e20 100%); 20 | background: radial-gradient(center, circle cover, #555a5f 0%, #1c1e20 100%); 21 | background-color: #2b2b2b; } 22 | 23 | .reveal { 24 | font-family: "Lato", sans-serif; 25 | font-size: 36px; 26 | font-weight: normal; 27 | color: #eee; } 28 | 29 | ::selection { 30 | color: #fff; 31 | background: #FF5E99; 32 | text-shadow: none; } 33 | 34 | .reveal .slides > section, 35 | .reveal .slides > section > section { 36 | line-height: 1.3; 37 | font-weight: inherit; } 38 | 39 | /********************************************* 40 | * HEADERS 41 | *********************************************/ 42 | .reveal h1, 43 | .reveal h2, 44 | .reveal h3, 45 | .reveal h4, 46 | .reveal h5, 47 | .reveal h6 { 48 | margin: 0 0 20px 0; 49 | color: #eee; 50 | font-family: "League Gothic", Impact, sans-serif; 51 | font-weight: normal; 52 | line-height: 1.2; 53 | letter-spacing: normal; 54 | text-transform: uppercase; 55 | text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); 56 | word-wrap: break-word; } 57 | 58 | .reveal h1 { 59 | font-size: 3.77em; } 60 | 61 | .reveal h2 { 62 | font-size: 2.11em; } 63 | 64 | .reveal h3 { 65 | font-size: 1.55em; } 66 | 67 | .reveal h4 { 68 | font-size: 1em; } 69 | 70 | .reveal h1 { 71 | text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15); } 72 | 73 | /********************************************* 74 | * OTHER 75 | *********************************************/ 76 | .reveal p { 77 | margin: 20px 0; 78 | line-height: 1.3; } 79 | 80 | /* Ensure certain elements are never larger than the slide itself */ 81 | .reveal img, 82 | .reveal video, 83 | .reveal iframe { 84 | max-width: 95%; 85 | max-height: 95%; } 86 | 87 | .reveal strong, 88 | .reveal b { 89 | font-weight: bold; } 90 | 91 | .reveal em { 92 | font-style: italic; } 93 | 94 | .reveal ol, 95 | .reveal dl, 96 | .reveal ul { 97 | display: inline-block; 98 | text-align: left; 99 | margin: 0 0 0 1em; } 100 | 101 | .reveal ol { 102 | list-style-type: decimal; } 103 | 104 | .reveal ul { 105 | list-style-type: disc; } 106 | 107 | .reveal ul ul { 108 | list-style-type: square; } 109 | 110 | .reveal ul ul ul { 111 | list-style-type: circle; } 112 | 113 | .reveal ul ul, 114 | .reveal ul ol, 115 | .reveal ol ol, 116 | .reveal ol ul { 117 | display: block; 118 | margin-left: 40px; } 119 | 120 | .reveal dt { 121 | font-weight: bold; } 122 | 123 | .reveal dd { 124 | margin-left: 40px; } 125 | 126 | .reveal q, 127 | .reveal blockquote { 128 | quotes: none; } 129 | 130 | .reveal blockquote { 131 | display: block; 132 | position: relative; 133 | width: 70%; 134 | margin: 20px auto; 135 | padding: 5px; 136 | font-style: italic; 137 | background: rgba(255, 255, 255, 0.05); 138 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } 139 | 140 | .reveal blockquote p:first-child, 141 | .reveal blockquote p:last-child { 142 | display: inline-block; } 143 | 144 | .reveal q { 145 | font-style: italic; } 146 | 147 | .reveal pre { 148 | display: block; 149 | position: relative; 150 | width: 90%; 151 | margin: 20px auto; 152 | text-align: left; 153 | font-size: 0.55em; 154 | font-family: monospace; 155 | line-height: 1.2em; 156 | word-wrap: break-word; 157 | box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } 158 | 159 | .reveal code { 160 | font-family: monospace; } 161 | 162 | .reveal pre code { 163 | display: block; 164 | padding: 5px; 165 | overflow: auto; 166 | max-height: 400px; 167 | word-wrap: normal; } 168 | 169 | .reveal table { 170 | margin: auto; 171 | border-collapse: collapse; 172 | border-spacing: 0; } 173 | 174 | .reveal table th { 175 | font-weight: bold; } 176 | 177 | .reveal table th, 178 | .reveal table td { 179 | text-align: left; 180 | padding: 0.2em 0.5em 0.2em 0.5em; 181 | border-bottom: 1px solid; } 182 | 183 | .reveal table th[align="center"], 184 | .reveal table td[align="center"] { 185 | text-align: center; } 186 | 187 | .reveal table th[align="right"], 188 | .reveal table td[align="right"] { 189 | text-align: right; } 190 | 191 | .reveal table tbody tr:last-child th, 192 | .reveal table tbody tr:last-child td { 193 | border-bottom: none; } 194 | 195 | .reveal sup { 196 | vertical-align: super; } 197 | 198 | .reveal sub { 199 | vertical-align: sub; } 200 | 201 | .reveal small { 202 | display: inline-block; 203 | font-size: 0.6em; 204 | line-height: 1.2em; 205 | vertical-align: top; } 206 | 207 | .reveal small * { 208 | vertical-align: top; } 209 | 210 | /********************************************* 211 | * LINKS 212 | *********************************************/ 213 | .reveal a { 214 | color: #13DAEC; 215 | text-decoration: none; 216 | -webkit-transition: color .15s ease; 217 | -moz-transition: color .15s ease; 218 | transition: color .15s ease; } 219 | 220 | .reveal a:hover { 221 | color: #71e9f4; 222 | text-shadow: none; 223 | border: none; } 224 | 225 | .reveal .roll span:after { 226 | color: #fff; 227 | background: #0d99a5; } 228 | 229 | /********************************************* 230 | * IMAGES 231 | *********************************************/ 232 | .reveal section img { 233 | margin: 15px 0px; 234 | background: rgba(255, 255, 255, 0.12); 235 | border: 4px solid #eee; 236 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } 237 | 238 | .reveal section img.plain { 239 | border: 0; 240 | box-shadow: none; } 241 | 242 | .reveal a img { 243 | -webkit-transition: all .15s linear; 244 | -moz-transition: all .15s linear; 245 | transition: all .15s linear; } 246 | 247 | .reveal a:hover img { 248 | background: rgba(255, 255, 255, 0.2); 249 | border-color: #13DAEC; 250 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } 251 | 252 | /********************************************* 253 | * NAVIGATION CONTROLS 254 | *********************************************/ 255 | .reveal .controls .navigate-left, 256 | .reveal .controls .navigate-left.enabled { 257 | border-right-color: #13DAEC; } 258 | 259 | .reveal .controls .navigate-right, 260 | .reveal .controls .navigate-right.enabled { 261 | border-left-color: #13DAEC; } 262 | 263 | .reveal .controls .navigate-up, 264 | .reveal .controls .navigate-up.enabled { 265 | border-bottom-color: #13DAEC; } 266 | 267 | .reveal .controls .navigate-down, 268 | .reveal .controls .navigate-down.enabled { 269 | border-top-color: #13DAEC; } 270 | 271 | .reveal .controls .navigate-left.enabled:hover { 272 | border-right-color: #71e9f4; } 273 | 274 | .reveal .controls .navigate-right.enabled:hover { 275 | border-left-color: #71e9f4; } 276 | 277 | .reveal .controls .navigate-up.enabled:hover { 278 | border-bottom-color: #71e9f4; } 279 | 280 | .reveal .controls .navigate-down.enabled:hover { 281 | border-top-color: #71e9f4; } 282 | 283 | /********************************************* 284 | * PROGRESS BAR 285 | *********************************************/ 286 | .reveal .progress { 287 | background: rgba(0, 0, 0, 0.2); } 288 | 289 | .reveal .progress span { 290 | background: #13DAEC; 291 | -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 292 | -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); 293 | transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } 294 | --------------------------------------------------------------------------------