merged dev branch
This commit is contained in:
commit
9bc5b81292
53 changed files with 4920 additions and 2183 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -4,3 +4,5 @@ log/*.log
|
||||||
tmp/**
|
tmp/**
|
||||||
node_modules/
|
node_modules/
|
||||||
.sass-cache
|
.sass-cache
|
||||||
|
css/reveal.min.css
|
||||||
|
js/reveal.min.js
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- 0.8
|
- 0.10
|
||||||
before_script:
|
before_script:
|
||||||
- npm install -g grunt-cli
|
- npm install -g grunt-cli
|
20
CONTRIBUTING.md
Normal file
20
CONTRIBUTING.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
Please keep the [issue tracker](http://github.com/hakimel/reveal.js/issues) limited to **bug reports**, **feature requests** and **pull requests**.
|
||||||
|
|
||||||
|
|
||||||
|
### Personal Support
|
||||||
|
If you have personal support or setup questions the best place to ask those are [StackOverflow](http://stackoverflow.com/questions/tagged/reveal.js).
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Reports
|
||||||
|
When reporting a bug make sure to include information about which browser and operating system you are on as well as the necessary steps to reproduce the issue. If possible please include a link to a sample presentation where the bug can be tested.
|
||||||
|
|
||||||
|
|
||||||
|
### Pull Requests
|
||||||
|
- Should follow the coding style of the file you work in, most importantly:
|
||||||
|
- Tabs to indent
|
||||||
|
- Single-quoted strings
|
||||||
|
- Should be made towards the **dev branch**
|
||||||
|
- Should be submitted from a feature/topic branch (not your master)
|
||||||
|
- Should not include the minified **reveal.min.js** or **reveal.min.css** files
|
14
Gruntfile.js
14
Gruntfile.js
|
@ -70,7 +70,9 @@ module.exports = function(grunt) {
|
||||||
head: false,
|
head: false,
|
||||||
module: false,
|
module: false,
|
||||||
console: false,
|
console: false,
|
||||||
unescape: false
|
unescape: false,
|
||||||
|
define: false,
|
||||||
|
exports: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
files: [ 'Gruntfile.js', 'js/reveal.js' ]
|
files: [ 'Gruntfile.js', 'js/reveal.js' ]
|
||||||
|
@ -96,7 +98,9 @@ module.exports = function(grunt) {
|
||||||
server: {
|
server: {
|
||||||
options: {
|
options: {
|
||||||
port: port,
|
port: port,
|
||||||
base: '.'
|
base: '.',
|
||||||
|
livereload: true,
|
||||||
|
open: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -113,6 +117,9 @@ module.exports = function(grunt) {
|
||||||
},
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
|
options: {
|
||||||
|
livereload: true
|
||||||
|
},
|
||||||
main: {
|
main: {
|
||||||
files: [ 'Gruntfile.js', 'js/reveal.js', 'css/reveal.css' ],
|
files: [ 'Gruntfile.js', 'js/reveal.js', 'css/reveal.css' ],
|
||||||
tasks: 'default'
|
tasks: 'default'
|
||||||
|
@ -124,6 +131,9 @@ module.exports = function(grunt) {
|
||||||
css: {
|
css: {
|
||||||
files: [ 'css/reveal.bare.css' ],
|
files: [ 'css/reveal.bare.css' ],
|
||||||
tasks: 'css'
|
tasks: 'css'
|
||||||
|
},
|
||||||
|
html: {
|
||||||
|
files: [ 'index.html']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
79
README.md
79
README.md
|
@ -13,7 +13,7 @@ reveal.js comes with a broad range of features including [nested slides](https:/
|
||||||
|
|
||||||
## Online Editor
|
## Online Editor
|
||||||
|
|
||||||
Presentations are written using HTML or markdown but there's also an online editor for those of you who prefer a graphical interface. Give it a try at [http://slid.es](http://slid.es).
|
Presentations are written using HTML or markdown but there's also an online editor for those of you who prefer a graphical interface. Give it a try at [http://slides.com](http://slides.com).
|
||||||
|
|
||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
|
@ -59,8 +59,8 @@ When used locally, this feature requires that reveal.js [runs from a local web s
|
||||||
```html
|
```html
|
||||||
<section data-markdown="example.md"
|
<section data-markdown="example.md"
|
||||||
data-separator="^\n\n\n"
|
data-separator="^\n\n\n"
|
||||||
data-vertical="^\n\n"
|
data-separator-vertical="^\n\n"
|
||||||
data-notes="^Note:"
|
data-separator-notes="^Note:"
|
||||||
data-charset="iso-8859-15">
|
data-charset="iso-8859-15">
|
||||||
</section>
|
</section>
|
||||||
```
|
```
|
||||||
|
@ -136,6 +136,10 @@ Reveal.initialize({
|
||||||
// i.e. contained within a limited portion of the screen
|
// i.e. contained within a limited portion of the screen
|
||||||
embedded: false,
|
embedded: false,
|
||||||
|
|
||||||
|
// Flags if we should show a help overlay when the questionmark
|
||||||
|
// key is pressed
|
||||||
|
help: true,
|
||||||
|
|
||||||
// Number of milliseconds between automatically proceeding to the
|
// Number of milliseconds between automatically proceeding to the
|
||||||
// next slide, disabled when set to 0, this value can be overwritten
|
// next slide, disabled when set to 0, this value can be overwritten
|
||||||
// by using a data-autoslide attribute on your slides
|
// by using a data-autoslide attribute on your slides
|
||||||
|
@ -154,13 +158,13 @@ Reveal.initialize({
|
||||||
previewLinks: false,
|
previewLinks: false,
|
||||||
|
|
||||||
// Transition style
|
// Transition style
|
||||||
transition: 'default', // default/cube/page/concave/zoom/linear/fade/none
|
transition: 'default', // none/fade/slide/convex/concave/zoom
|
||||||
|
|
||||||
// Transition speed
|
// Transition speed
|
||||||
transitionSpeed: 'default', // default/fast/slow
|
transitionSpeed: 'default', // default/fast/slow
|
||||||
|
|
||||||
// Transition style for full page slide backgrounds
|
// Transition style for full page slide backgrounds
|
||||||
backgroundTransition: 'default', // default/none/slide/concave/convex/zoom
|
backgroundTransition: 'default', // none/fade/slide/convex/concave/zoom
|
||||||
|
|
||||||
// Number of slides away from the current that are visible
|
// Number of slides away from the current that are visible
|
||||||
viewDistance: 3,
|
viewDistance: 3,
|
||||||
|
@ -175,8 +179,6 @@ Reveal.initialize({
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that the new default vertical centering option will break compatibility with slides that were using transitions with backgrounds (`cube` and `page`). To restore the previous behavior, set `center` to `false`.
|
|
||||||
|
|
||||||
|
|
||||||
The configuration can be updated after initialization using the ```configure``` method:
|
The configuration can be updated after initialization using the ```configure``` method:
|
||||||
|
|
||||||
|
@ -266,15 +268,20 @@ Reveal.configure({
|
||||||
autoSlide: 5000
|
autoSlide: 5000
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
When this is turned on a control element will appear that enables users to pause and resume auto-sliding. Alternatively, sliding can be paused or resumed by pressing »a« on the keyboard. Sliding is paused automatically as soon as the user starts navigating. You can disable these controls by specifying ```autoSlideStoppable: false``` in your reveal.js config.
|
||||||
|
|
||||||
When this is turned on a control element will appear that enables users to pause and resume auto-sliding. Sliding is also paused automatically as soon as the user starts navigating. You can disable these controls by specifying ```autoSlideStoppable: false``` in your reveal.js config.
|
You can also override the slide duration for individual slides and fragments by using the ```data-autoslide``` attribute:
|
||||||
|
|
||||||
You can also override the slide duration for individual slides by using the ```data-autoslide``` attribute on individual sections:
|
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<section data-autoslide="10000">This will remain on screen for 10 seconds</section>
|
<section data-autoslide="2000">
|
||||||
|
<p>After 2 seconds the first fragment will be shown.</p>
|
||||||
|
<p class="fragment" data-autoslide="10000">After 10 seconds the next fragment will be shown.</p>
|
||||||
|
<p class="fragment">Now, the fragment is displayed for 2 seconds before the next slide is shown.</p>
|
||||||
|
</section>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Whenever the auto-slide mode is resumed or paused the ```autoslideresumed``` and ```autoslidepaused``` events are fired.
|
||||||
|
|
||||||
|
|
||||||
### Keyboard Bindings
|
### Keyboard Bindings
|
||||||
|
|
||||||
|
@ -290,6 +297,23 @@ Reveal.configure({
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Lazy Loading
|
||||||
|
|
||||||
|
When working on presentation with a lot of media or iframe content it's important to load lazily. Lazy loading means that reveal.js will only load content for the few slides nearest to the current slide. The number of slides that are preloaded is determined by the `viewDistance` configuration option.
|
||||||
|
|
||||||
|
To enable lazy loading all you need to do is change your "src" attributes to "data-src" as shown below. This is supported for image, video, audio and iframe elements.
|
||||||
|
|
||||||
|
```html
|
||||||
|
<section>
|
||||||
|
<img data-src="image.png">
|
||||||
|
<iframe data-src="http://slides.com">
|
||||||
|
<video>
|
||||||
|
<source data-src="video.webm" type="video/webm" />
|
||||||
|
<source data-src="video.mp4" type="video/mp4" />
|
||||||
|
</video>
|
||||||
|
</section>
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### API
|
### API
|
||||||
|
|
||||||
|
@ -308,6 +332,7 @@ Reveal.prevFragment();
|
||||||
Reveal.nextFragment();
|
Reveal.nextFragment();
|
||||||
Reveal.toggleOverview();
|
Reveal.toggleOverview();
|
||||||
Reveal.togglePause();
|
Reveal.togglePause();
|
||||||
|
Reveal.toggleAutoSlide();
|
||||||
|
|
||||||
// Retrieves the previous and current slide elements
|
// Retrieves the previous and current slide elements
|
||||||
Reveal.getPreviousSlide();
|
Reveal.getPreviousSlide();
|
||||||
|
@ -320,6 +345,7 @@ Reveal.isFirstSlide();
|
||||||
Reveal.isLastSlide();
|
Reveal.isLastSlide();
|
||||||
Reveal.isOverview();
|
Reveal.isOverview();
|
||||||
Reveal.isPaused();
|
Reveal.isPaused();
|
||||||
|
Reveal.isAutoSliding();
|
||||||
```
|
```
|
||||||
|
|
||||||
### Ready Event
|
### Ready Event
|
||||||
|
@ -390,7 +416,7 @@ Reveal.initialize({
|
||||||
parallaxBackgroundSize: '', // CSS syntax, e.g. "2100px 900px" - currently only pixels are supported (don't use % or auto)
|
parallaxBackgroundSize: '', // CSS syntax, e.g. "2100px 900px" - currently only pixels are supported (don't use % or auto)
|
||||||
|
|
||||||
// This slide transition gives best results:
|
// This slide transition gives best results:
|
||||||
transition: linear
|
transition: 'slide'
|
||||||
|
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
@ -563,7 +589,7 @@ Limitations:
|
||||||
Presentations can be exported to PDF via a special print stylesheet. This feature requires that you use [Google Chrome](http://google.com/chrome).
|
Presentations can be exported to PDF via a special print stylesheet. This feature requires that you use [Google Chrome](http://google.com/chrome).
|
||||||
Here's an example of an exported presentation that's been uploaded to SlideShare: http://www.slideshare.net/hakimel/revealjs-13872948.
|
Here's an example of an exported presentation that's been uploaded to SlideShare: http://www.slideshare.net/hakimel/revealjs-13872948.
|
||||||
|
|
||||||
1. Open your presentation with [css/print/pdf.css](https://github.com/hakimel/reveal.js/blob/master/css/print/pdf.css) included on the page. The default index HTML lets you add *print-pdf* anywhere in the query to include the stylesheet, for example: [lab.hakim.se/reveal-js?print-pdf](http://lab.hakim.se/reveal-js?print-pdf).
|
1. Open your presentation with `print-pdf` included anywhere in the query string. This triggers the default index HTML to load the PDF print stylesheet ([css/print/pdf.css](https://github.com/hakimel/reveal.js/blob/master/css/print/pdf.css)). You can test this with [lab.hakim.se/reveal-js?print-pdf](http://lab.hakim.se/reveal-js?print-pdf).
|
||||||
2. Open the in-browser print dialog (CMD+P).
|
2. Open the in-browser print dialog (CMD+P).
|
||||||
3. Change the **Destination** setting to **Save as PDF**.
|
3. Change the **Destination** setting to **Save as PDF**.
|
||||||
4. Change the **Layout** to **Landscape**.
|
4. Change the **Layout** to **Landscape**.
|
||||||
|
@ -614,7 +640,7 @@ When used locally, this feature requires that reveal.js [runs from a local web s
|
||||||
If you're using the external Markdown plugin, you can add notes with the help of a special delimiter:
|
If you're using the external Markdown plugin, you can add notes with the help of a special delimiter:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n" data-notes="^Note:"></section>
|
<section data-markdown="example.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n" data-separator-notes="^Note:"></section>
|
||||||
|
|
||||||
# Title
|
# Title
|
||||||
## Sub-title
|
## Sub-title
|
||||||
|
@ -683,7 +709,7 @@ Reveal.initialize({
|
||||||
|
|
||||||
// Don't forget to add the dependencies
|
// Don't forget to add the dependencies
|
||||||
dependencies: [
|
dependencies: [
|
||||||
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.10/socket.io.min.js', async: true },
|
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js', async: true },
|
||||||
{ src: 'plugin/multiplex/master.js', async: true },
|
{ src: 'plugin/multiplex/master.js', async: true },
|
||||||
|
|
||||||
// and if you want speaker notes
|
// and if you want speaker notes
|
||||||
|
@ -711,7 +737,7 @@ Reveal.initialize({
|
||||||
|
|
||||||
// Don't forget to add the dependencies
|
// Don't forget to add the dependencies
|
||||||
dependencies: [
|
dependencies: [
|
||||||
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.10/socket.io.min.js', async: true },
|
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js', async: true },
|
||||||
{ src: 'plugin/multiplex/client.js', async: true }
|
{ src: 'plugin/multiplex/client.js', async: true }
|
||||||
|
|
||||||
// other dependencies...
|
// other dependencies...
|
||||||
|
@ -749,7 +775,7 @@ Reveal.initialize({
|
||||||
|
|
||||||
// Don't forget to add the dependencies
|
// Don't forget to add the dependencies
|
||||||
dependencies: [
|
dependencies: [
|
||||||
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.10/socket.io.min.js', async: true },
|
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js', async: true },
|
||||||
{ src: 'plugin/multiplex/client.js', async: true }
|
{ src: 'plugin/multiplex/client.js', async: true }
|
||||||
|
|
||||||
// other dependencies...
|
// other dependencies...
|
||||||
|
@ -772,7 +798,7 @@ Reveal.initialize({
|
||||||
|
|
||||||
// Don't forget to add the dependencies
|
// Don't forget to add the dependencies
|
||||||
dependencies: [
|
dependencies: [
|
||||||
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.10/socket.io.min.js', async: true },
|
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js', async: true },
|
||||||
{ src: 'plugin/multiplex/master.js', async: true },
|
{ src: 'plugin/multiplex/master.js', async: true },
|
||||||
{ src: 'plugin/multiplex/client.js', async: true }
|
{ src: 'plugin/multiplex/client.js', async: true }
|
||||||
|
|
||||||
|
@ -909,23 +935,6 @@ Some reveal.js features, like external markdown and speaker notes, require that
|
||||||
- **lib/** All other third party assets (JavaScript, CSS, fonts)
|
- **lib/** All other third party assets (JavaScript, CSS, fonts)
|
||||||
|
|
||||||
|
|
||||||
### Contributing
|
|
||||||
|
|
||||||
Please keep the [issue tracker](http://github.com/hakimel/reveal.js/issues) limited to **bug reports**, **feature requests** and **pull requests**. If you are reporting a bug make sure to include information about which browser and operating system you are using as well as the necessary steps to reproduce the issue.
|
|
||||||
|
|
||||||
If you have personal support questions use [StackOverflow](http://stackoverflow.com/questions/tagged/reveal.js).
|
|
||||||
|
|
||||||
|
|
||||||
#### Pull requests
|
|
||||||
|
|
||||||
- Should follow the coding style of the file you work in, most importantly:
|
|
||||||
- Tabs to indent
|
|
||||||
- Single-quoted strings
|
|
||||||
- Should be made towards the **dev branch**
|
|
||||||
- Should be submitted from a feature/topic branch (not your master)
|
|
||||||
- Should not include the minified **reveal.min.js** file
|
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
MIT licensed
|
MIT licensed
|
||||||
|
|
|
@ -6,44 +6,46 @@
|
||||||
manipulate this file as you see fit. */
|
manipulate this file as you see fit. */
|
||||||
|
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
|
||||||
/* SECTION 1: Set default width, margin, float, and
|
/* SECTION 1: Set default width, margin, float, and
|
||||||
background. This prevents elements from extending
|
background. This prevents elements from extending
|
||||||
beyond the edge of the printed page, and prevents
|
beyond the edge of the printed page, and prevents
|
||||||
unnecessary background images from printing */
|
unnecessary background images from printing */
|
||||||
body {
|
|
||||||
background: #fff;
|
|
||||||
font-size: 13pt;
|
|
||||||
width: auto;
|
|
||||||
height: auto;
|
|
||||||
border: 0;
|
|
||||||
margin: 0 5%;
|
|
||||||
padding: 0;
|
|
||||||
float: none !important;
|
|
||||||
overflow: visible;
|
|
||||||
}
|
|
||||||
html {
|
html {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
body {
|
||||||
|
background: #fff;
|
||||||
|
font-size: 20pt;
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
border: 0;
|
||||||
|
margin: 0 5%;
|
||||||
|
padding: 0;
|
||||||
|
overflow: visible;
|
||||||
|
float: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* SECTION 2: Remove any elements not needed in print.
|
/* SECTION 2: Remove any elements not needed in print.
|
||||||
This would include navigation, ads, sidebars, etc. */
|
This would include navigation, ads, sidebars, etc. */
|
||||||
.nestedarrow,
|
.nestedarrow,
|
||||||
.controls,
|
.controls,
|
||||||
.reveal .progress,
|
|
||||||
.reveal.overview,
|
|
||||||
.fork-reveal,
|
.fork-reveal,
|
||||||
.share-reveal,
|
.share-reveal,
|
||||||
.state-background {
|
.state-background,
|
||||||
|
.reveal .progress,
|
||||||
|
.reveal .backgrounds {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SECTION 3: Set body font face, size, and color.
|
/* SECTION 3: Set body font face, size, and color.
|
||||||
Consider using a serif font for readability. */
|
Consider using a serif font for readability. */
|
||||||
body, p, td, li, div, a {
|
body, p, td, li, div {
|
||||||
font-size: 16pt!important;
|
font-size: 20pt!important;
|
||||||
font-family: Georgia, "Times New Roman", Times, serif !important;
|
font-family: Georgia, "Times New Roman", Times, serif !important;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
@ -61,12 +63,12 @@ h1,h2,h3,h4,h5,h6 {
|
||||||
letter-spacing: normal;
|
letter-spacing: normal;
|
||||||
}
|
}
|
||||||
/* Need to reduce the size of the fonts for printing */
|
/* Need to reduce the size of the fonts for printing */
|
||||||
h1 { font-size: 26pt !important; }
|
h1 { font-size: 28pt !important; }
|
||||||
h2 { font-size: 22pt !important; }
|
h2 { font-size: 24pt !important; }
|
||||||
h3 { font-size: 20pt !important; }
|
h3 { font-size: 22pt !important; }
|
||||||
h4 { font-size: 20pt !important; font-variant: small-caps; }
|
h4 { font-size: 22pt !important; font-variant: small-caps; }
|
||||||
h5 { font-size: 19pt !important; }
|
h5 { font-size: 21pt !important; }
|
||||||
h6 { font-size: 18pt !important; font-style: italic; }
|
h6 { font-size: 20pt !important; font-style: italic; }
|
||||||
|
|
||||||
/* SECTION 5: Make hyperlinks more usable.
|
/* SECTION 5: Make hyperlinks more usable.
|
||||||
Ensure links are underlined, and consider appending
|
Ensure links are underlined, and consider appending
|
||||||
|
@ -95,52 +97,66 @@ ul, ol, div, p {
|
||||||
height: auto;
|
height: auto;
|
||||||
display: block;
|
display: block;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
margin: auto;
|
margin: 0;
|
||||||
text-align: left !important;
|
text-align: left !important;
|
||||||
}
|
}
|
||||||
|
.reveal pre,
|
||||||
|
.reveal table {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
.reveal pre code {
|
||||||
|
padding: 20px;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
.reveal blockquote {
|
||||||
|
margin: 20px 0;
|
||||||
|
}
|
||||||
.reveal .slides {
|
.reveal .slides {
|
||||||
position: static;
|
position: static !important;
|
||||||
width: auto;
|
width: auto !important;
|
||||||
height: auto;
|
height: auto !important;
|
||||||
|
|
||||||
left: auto;
|
left: 0 !important;
|
||||||
top: auto;
|
top: 0 !important;
|
||||||
margin-left: auto;
|
margin-left: 0 !important;
|
||||||
margin-top: auto;
|
margin-top: 0 !important;
|
||||||
padding: auto;
|
padding: 0 !important;
|
||||||
|
zoom: 1 !important;
|
||||||
|
|
||||||
overflow: visible;
|
overflow: visible !important;
|
||||||
display: block;
|
display: block !important;
|
||||||
|
|
||||||
text-align: center;
|
text-align: left !important;
|
||||||
-webkit-perspective: none;
|
-webkit-perspective: none;
|
||||||
-moz-perspective: none;
|
-moz-perspective: none;
|
||||||
-ms-perspective: none;
|
-ms-perspective: none;
|
||||||
perspective: none;
|
perspective: none;
|
||||||
|
|
||||||
-webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */
|
-webkit-perspective-origin: 50% 50%;
|
||||||
-moz-perspective-origin: 50% 50%;
|
-moz-perspective-origin: 50% 50%;
|
||||||
-ms-perspective-origin: 50% 50%;
|
-ms-perspective-origin: 50% 50%;
|
||||||
perspective-origin: 50% 50%;
|
perspective-origin: 50% 50%;
|
||||||
}
|
}
|
||||||
.reveal .slides>section,
|
.reveal .slides section {
|
||||||
.reveal .slides>section>section {
|
|
||||||
|
|
||||||
visibility: visible !important;
|
visibility: visible !important;
|
||||||
position: static !important;
|
position: static !important;
|
||||||
width: 90% !important;
|
width: 100% !important;
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
display: block !important;
|
display: block !important;
|
||||||
overflow: visible !important;
|
overflow: visible !important;
|
||||||
|
|
||||||
left: 0% !important;
|
left: 0 !important;
|
||||||
top: 0% !important;
|
top: 0 !important;
|
||||||
margin-left: 0px !important;
|
margin-left: 0 !important;
|
||||||
margin-top: 0px !important;
|
margin-top: 0 !important;
|
||||||
padding: 20px 0px !important;
|
padding: 60px 20px !important;
|
||||||
|
z-index: auto !important;
|
||||||
|
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
|
|
||||||
|
page-break-after: always !important;
|
||||||
|
|
||||||
-webkit-transform-style: flat !important;
|
-webkit-transform-style: flat !important;
|
||||||
-moz-transform-style: flat !important;
|
-moz-transform-style: flat !important;
|
||||||
-ms-transform-style: flat !important;
|
-ms-transform-style: flat !important;
|
||||||
|
@ -150,10 +166,17 @@ ul, ol, div, p {
|
||||||
-moz-transform: none !important;
|
-moz-transform: none !important;
|
||||||
-ms-transform: none !important;
|
-ms-transform: none !important;
|
||||||
transform: none !important;
|
transform: none !important;
|
||||||
|
|
||||||
|
-webkit-transition: none !important;
|
||||||
|
-moz-transition: none !important;
|
||||||
|
-ms-transition: none !important;
|
||||||
|
transition: none !important;
|
||||||
}
|
}
|
||||||
.reveal section {
|
.reveal .slides section.stack {
|
||||||
page-break-after: always !important;
|
padding: 0 !important;
|
||||||
display: block !important;
|
}
|
||||||
|
.reveal section:last-of-type {
|
||||||
|
page-break-after: avoid !important;
|
||||||
}
|
}
|
||||||
.reveal section .fragment {
|
.reveal section .fragment {
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
|
@ -164,9 +187,6 @@ ul, ol, div, p {
|
||||||
-ms-transform: none !important;
|
-ms-transform: none !important;
|
||||||
transform: none !important;
|
transform: none !important;
|
||||||
}
|
}
|
||||||
.reveal section:last-of-type {
|
|
||||||
page-break-after: avoid !important;
|
|
||||||
}
|
|
||||||
.reveal section img {
|
.reveal section img {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 15px 0px;
|
margin: 15px 0px;
|
||||||
|
@ -174,3 +194,9 @@ ul, ol, div, p {
|
||||||
border: 1px solid #666;
|
border: 1px solid #666;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.reveal section small {
|
||||||
|
font-size: 0.8em;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -16,9 +16,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-size: 18pt;
|
|
||||||
width: 297mm;
|
|
||||||
height: 229mm;
|
|
||||||
margin: 0 auto !important;
|
margin: 0 auto !important;
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -32,16 +29,13 @@ html {
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
@page {
|
|
||||||
size: letter landscape;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* SECTION 2: Remove any elements not needed in print.
|
/* SECTION 2: Remove any elements not needed in print.
|
||||||
This would include navigation, ads, sidebars, etc. */
|
This would include navigation, ads, sidebars, etc. */
|
||||||
.nestedarrow,
|
.nestedarrow,
|
||||||
.controls,
|
.reveal .controls,
|
||||||
.reveal .progress,
|
.reveal .progress,
|
||||||
|
.reveal .slide-number,
|
||||||
|
.reveal .playback,
|
||||||
.reveal.overview,
|
.reveal.overview,
|
||||||
.fork-reveal,
|
.fork-reveal,
|
||||||
.share-reveal,
|
.share-reveal,
|
||||||
|
@ -52,7 +46,7 @@ html {
|
||||||
/* SECTION 3: Set body font face, size, and color.
|
/* SECTION 3: Set body font face, size, and color.
|
||||||
Consider using a serif font for readability. */
|
Consider using a serif font for readability. */
|
||||||
body, p, td, li, div {
|
body, p, td, li, div {
|
||||||
font-size: 18pt;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SECTION 4: Set heading font face, sizes, and color.
|
/* SECTION 4: Set heading font face, sizes, and color.
|
||||||
|
@ -73,7 +67,7 @@ a:visited {
|
||||||
|
|
||||||
.reveal pre code {
|
.reveal pre code {
|
||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
font-family: monospace !important;
|
font-family: Courier, 'Courier New', monospace !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -105,8 +99,6 @@ ul, ol, div, p {
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
text-align: center;
|
|
||||||
|
|
||||||
-webkit-perspective: none;
|
-webkit-perspective: none;
|
||||||
-moz-perspective: none;
|
-moz-perspective: none;
|
||||||
-ms-perspective: none;
|
-ms-perspective: none;
|
||||||
|
@ -118,22 +110,17 @@ ul, ol, div, p {
|
||||||
perspective-origin: 50% 50%;
|
perspective-origin: 50% 50%;
|
||||||
}
|
}
|
||||||
.reveal .slides section {
|
.reveal .slides section {
|
||||||
|
|
||||||
page-break-after: always !important;
|
page-break-after: always !important;
|
||||||
|
|
||||||
visibility: visible !important;
|
visibility: visible !important;
|
||||||
position: relative !important;
|
position: relative !important;
|
||||||
width: 100% !important;
|
|
||||||
height: 229mm !important;
|
|
||||||
min-height: 229mm !important;
|
|
||||||
display: block !important;
|
display: block !important;
|
||||||
overflow: hidden !important;
|
position: relative !important;
|
||||||
|
|
||||||
left: 0 !important;
|
|
||||||
top: 0 !important;
|
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
padding: 2cm 2cm 0 2cm !important;
|
padding: 0 !important;
|
||||||
box-sizing: border-box !important;
|
box-sizing: border-box !important;
|
||||||
|
min-height: 1px;
|
||||||
|
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
|
|
||||||
|
@ -154,30 +141,6 @@ ul, ol, div, p {
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
min-height: auto !important;
|
min-height: auto !important;
|
||||||
}
|
}
|
||||||
.reveal .absolute-element {
|
|
||||||
margin-left: 2.2cm;
|
|
||||||
margin-top: 1.8cm;
|
|
||||||
}
|
|
||||||
.reveal section .fragment {
|
|
||||||
opacity: 1 !important;
|
|
||||||
visibility: visible !important;
|
|
||||||
|
|
||||||
-webkit-transform: none !important;
|
|
||||||
-moz-transform: none !important;
|
|
||||||
-ms-transform: none !important;
|
|
||||||
transform: none !important;
|
|
||||||
}
|
|
||||||
.reveal section .slide-background {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
z-index: 0;
|
|
||||||
}
|
|
||||||
.reveal section>* {
|
|
||||||
position: relative;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
.reveal img {
|
.reveal img {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
@ -185,6 +148,19 @@ ul, ol, div, p {
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
}
|
}
|
||||||
.reveal small a {
|
|
||||||
font-size: 16pt !important;
|
/* Slide backgrounds are placed inside of their slide when exporting to PDF */
|
||||||
|
.reveal section .slide-background {
|
||||||
|
display: block !important;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 0;
|
||||||
}
|
}
|
||||||
|
/* All elements should be above the slide-background */
|
||||||
|
.reveal section>* {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ html, body, .reveal div, .reveal span, .reveal applet, .reveal object, .reveal i
|
||||||
.reveal a, .reveal abbr, .reveal acronym, .reveal address, .reveal big, .reveal cite, .reveal code,
|
.reveal a, .reveal abbr, .reveal acronym, .reveal address, .reveal big, .reveal cite, .reveal code,
|
||||||
.reveal del, .reveal dfn, .reveal em, .reveal img, .reveal ins, .reveal kbd, .reveal q, .reveal s, .reveal samp,
|
.reveal del, .reveal dfn, .reveal em, .reveal img, .reveal ins, .reveal kbd, .reveal q, .reveal s, .reveal samp,
|
||||||
.reveal small, .reveal strike, .reveal strong, .reveal sub, .reveal sup, .reveal tt, .reveal var,
|
.reveal small, .reveal strike, .reveal strong, .reveal sub, .reveal sup, .reveal tt, .reveal var,
|
||||||
.reveal b, .reveal u, .reveal i, .reveal center,
|
.reveal b, .reveal u, .reveal center,
|
||||||
.reveal dl, .reveal dt, .reveal dd, .reveal ol, .reveal ul, .reveal li,
|
.reveal dl, .reveal dt, .reveal dd, .reveal ol, .reveal ul, .reveal li,
|
||||||
.reveal fieldset, .reveal form, .reveal label, .reveal legend,
|
.reveal fieldset, .reveal form, .reveal label, .reveal legend,
|
||||||
.reveal table, .reveal caption, .reveal tbody, .reveal tfoot, .reveal thead, .reveal tr, .reveal th, .reveal td,
|
.reveal table, .reveal caption, .reveal tbody, .reveal tfoot, .reveal thead, .reveal tr, .reveal th, .reveal td,
|
||||||
|
@ -54,6 +54,9 @@ body {
|
||||||
body {
|
body {
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
|
||||||
|
background-color: #fff;
|
||||||
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
|
@ -63,42 +66,23 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
|
||||||
* HEADERS
|
|
||||||
*********************************************/
|
|
||||||
|
|
||||||
.reveal h1,
|
|
||||||
.reveal h2,
|
|
||||||
.reveal h3,
|
|
||||||
.reveal h4,
|
|
||||||
.reveal h5,
|
|
||||||
.reveal h6 {
|
|
||||||
hyphens: auto;
|
|
||||||
|
|
||||||
word-wrap: break-word;
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal h1 { font-size: 3.77em; }
|
|
||||||
.reveal h2 { font-size: 2.11em; }
|
|
||||||
.reveal h3 { font-size: 1.55em; }
|
|
||||||
.reveal h4 { font-size: 1em; }
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* VIEW FRAGMENTS
|
* VIEW FRAGMENTS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal .slides section .fragment {
|
.reveal .slides section .fragment {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
transition: all .2s ease;
|
transition: all .2s ease;
|
||||||
}
|
}
|
||||||
.reveal .slides section .fragment.visible {
|
.reveal .slides section .fragment.visible {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.grow {
|
.reveal .slides section .fragment.grow {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
.reveal .slides section .fragment.grow.visible {
|
.reveal .slides section .fragment.grow.visible {
|
||||||
transform: scale( 1.3 );
|
transform: scale( 1.3 );
|
||||||
|
@ -106,50 +90,52 @@ body {
|
||||||
|
|
||||||
.reveal .slides section .fragment.shrink {
|
.reveal .slides section .fragment.shrink {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
.reveal .slides section .fragment.shrink.visible {
|
.reveal .slides section .fragment.shrink.visible {
|
||||||
transform: scale( 0.7 );
|
transform: scale( 0.7 );
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.zoom-in {
|
.reveal .slides section .fragment.zoom-in {
|
||||||
opacity: 0;
|
|
||||||
transform: scale( 0.1 );
|
transform: scale( 0.1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.zoom-in.visible {
|
.reveal .slides section .fragment.zoom-in.visible {
|
||||||
opacity: 1;
|
|
||||||
transform: scale( 1 );
|
transform: scale( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.roll-in {
|
.reveal .slides section .fragment.roll-in {
|
||||||
opacity: 0;
|
|
||||||
transform: rotateX( 90deg );
|
transform: rotateX( 90deg );
|
||||||
}
|
}
|
||||||
.reveal .slides section .fragment.roll-in.visible {
|
.reveal .slides section .fragment.roll-in.visible {
|
||||||
opacity: 1;
|
|
||||||
transform: rotateX( 0 );
|
transform: rotateX( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.fade-out {
|
.reveal .slides section .fragment.fade-out {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
.reveal .slides section .fragment.fade-out.visible {
|
.reveal .slides section .fragment.fade-out.visible {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.semi-fade-out {
|
.reveal .slides section .fragment.semi-fade-out {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
.reveal .slides section .fragment.semi-fade-out.visible {
|
.reveal .slides section .fragment.semi-fade-out.visible {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.current-visible {
|
.reveal .slides section .fragment.current-visible {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.current-visible.current-fragment {
|
.reveal .slides section .fragment.current-visible.current-fragment {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.highlight-red,
|
.reveal .slides section .fragment.highlight-red,
|
||||||
|
@ -159,6 +145,7 @@ body {
|
||||||
.reveal .slides section .fragment.highlight-blue,
|
.reveal .slides section .fragment.highlight-blue,
|
||||||
.reveal .slides section .fragment.highlight-current-blue {
|
.reveal .slides section .fragment.highlight-current-blue {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
.reveal .slides section .fragment.highlight-red.visible {
|
.reveal .slides section .fragment.highlight-red.visible {
|
||||||
color: #ff2c2d
|
color: #ff2c2d
|
||||||
|
@ -180,6 +167,13 @@ body {
|
||||||
color: #1b91ff;
|
color: #1b91ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.reveal .slides section .fragment.strike {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.reveal .slides section .fragment.strike.visible {
|
||||||
|
text-decoration: line-through;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* DEFAULT ELEMENT STYLES
|
* DEFAULT ELEMENT STYLES
|
||||||
|
@ -195,154 +189,22 @@ body {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ensure certain elements are never larger than the slide itself */
|
|
||||||
.reveal img,
|
|
||||||
.reveal video,
|
|
||||||
.reveal iframe {
|
|
||||||
max-width: 95%;
|
|
||||||
max-height: 95%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Prevents layering issues in certain browser/transition combinations */
|
/** Prevents layering issues in certain browser/transition combinations */
|
||||||
.reveal a {
|
.reveal a {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal strong,
|
.reveal .stretch {
|
||||||
.reveal b {
|
max-width: none;
|
||||||
font-weight: bold;
|
max-height: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal em,
|
|
||||||
.reveal i {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal ol,
|
|
||||||
.reveal ul {
|
|
||||||
display: inline-block;
|
|
||||||
|
|
||||||
text-align: left;
|
|
||||||
margin: 0 0 0 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal ol {
|
|
||||||
list-style-type: decimal;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal ul {
|
|
||||||
list-style-type: disc;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal ul ul {
|
|
||||||
list-style-type: square;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal ul ul ul {
|
|
||||||
list-style-type: circle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal ul ul,
|
|
||||||
.reveal ul ol,
|
|
||||||
.reveal ol ol,
|
|
||||||
.reveal ol ul {
|
|
||||||
display: block;
|
|
||||||
margin-left: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal p {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
line-height: 1.2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal q,
|
|
||||||
.reveal blockquote {
|
|
||||||
quotes: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal blockquote {
|
|
||||||
display: block;
|
|
||||||
position: relative;
|
|
||||||
width: 70%;
|
|
||||||
margin: 5px auto;
|
|
||||||
padding: 5px;
|
|
||||||
|
|
||||||
font-style: italic;
|
|
||||||
background: rgba(255, 255, 255, 0.05);
|
|
||||||
box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
|
|
||||||
}
|
|
||||||
.reveal blockquote p:first-child,
|
|
||||||
.reveal blockquote p:last-child {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal q {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal pre {
|
|
||||||
display: block;
|
|
||||||
position: relative;
|
|
||||||
width: 90%;
|
|
||||||
margin: 15px auto;
|
|
||||||
|
|
||||||
text-align: left;
|
|
||||||
font-size: 0.55em;
|
|
||||||
font-family: monospace;
|
|
||||||
line-height: 1.2em;
|
|
||||||
|
|
||||||
word-wrap: break-word;
|
|
||||||
|
|
||||||
box-shadow: 0px 0px 6px rgba(0,0,0,0.3);
|
|
||||||
}
|
|
||||||
.reveal code {
|
|
||||||
font-family: monospace;
|
|
||||||
}
|
|
||||||
.reveal pre code {
|
|
||||||
padding: 5px;
|
|
||||||
overflow: auto;
|
|
||||||
max-height: 400px;
|
|
||||||
word-wrap: normal;
|
|
||||||
}
|
|
||||||
.reveal pre.stretch code {
|
.reveal pre.stretch code {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal table th,
|
|
||||||
.reveal table td {
|
|
||||||
text-align: left;
|
|
||||||
padding-right: .3em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal table th {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal sup {
|
|
||||||
vertical-align: super;
|
|
||||||
}
|
|
||||||
.reveal sub {
|
|
||||||
vertical-align: sub;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal small {
|
|
||||||
display: inline-block;
|
|
||||||
font-size: 0.6em;
|
|
||||||
line-height: 1.2em;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal small * {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal .stretch {
|
|
||||||
max-width: none;
|
|
||||||
max-height: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* CONTROLS
|
* CONTROLS
|
||||||
|
@ -356,6 +218,8 @@ body {
|
||||||
z-index: 30;
|
z-index: 30;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
|
|
||||||
|
-webkit-user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .controls div {
|
.reveal .controls div {
|
||||||
|
@ -366,6 +230,7 @@ body {
|
||||||
border: 12px solid transparent;
|
border: 12px solid transparent;
|
||||||
|
|
||||||
-moz-transform: scale(.9999);
|
-moz-transform: scale(.9999);
|
||||||
|
-webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -382,7 +247,7 @@ body {
|
||||||
top: 42px;
|
top: 42px;
|
||||||
|
|
||||||
border-right-width: 22px;
|
border-right-width: 22px;
|
||||||
border-right-color: #eee;
|
border-right-color: #000;
|
||||||
}
|
}
|
||||||
.reveal .controls div.navigate-left.fragmented {
|
.reveal .controls div.navigate-left.fragmented {
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
|
@ -393,7 +258,7 @@ body {
|
||||||
top: 42px;
|
top: 42px;
|
||||||
|
|
||||||
border-left-width: 22px;
|
border-left-width: 22px;
|
||||||
border-left-color: #eee;
|
border-left-color: #000;
|
||||||
}
|
}
|
||||||
.reveal .controls div.navigate-right.fragmented {
|
.reveal .controls div.navigate-right.fragmented {
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
|
@ -403,7 +268,7 @@ body {
|
||||||
left: 42px;
|
left: 42px;
|
||||||
|
|
||||||
border-bottom-width: 22px;
|
border-bottom-width: 22px;
|
||||||
border-bottom-color: #eee;
|
border-bottom-color: #000;
|
||||||
}
|
}
|
||||||
.reveal .controls div.navigate-up.fragmented {
|
.reveal .controls div.navigate-up.fragmented {
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
|
@ -414,7 +279,7 @@ body {
|
||||||
top: 74px;
|
top: 74px;
|
||||||
|
|
||||||
border-top-width: 22px;
|
border-top-width: 22px;
|
||||||
border-top-color: #eee;
|
border-top-color: #000;
|
||||||
}
|
}
|
||||||
.reveal .controls div.navigate-down.fragmented {
|
.reveal .controls div.navigate-down.fragmented {
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
|
@ -433,10 +298,12 @@ body {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|
||||||
|
background-color: rgba( 0, 0, 0, 0.2 );
|
||||||
}
|
}
|
||||||
.reveal .progress:after {
|
.reveal .progress:after {
|
||||||
content: '';
|
content: '';
|
||||||
display: 'block';
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -446,6 +313,8 @@ body {
|
||||||
display: block;
|
display: block;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 0px;
|
width: 0px;
|
||||||
|
|
||||||
|
background-color: #000;
|
||||||
transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -471,16 +340,18 @@ body {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
touch-action: none;
|
||||||
-ms-touch-action: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides {
|
.reveal .slides {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
left: 50%;
|
top: 0;
|
||||||
top: 50%;
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
margin: auto;
|
||||||
|
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
@ -488,8 +359,8 @@ body {
|
||||||
transition: perspective .4s ease;
|
transition: perspective .4s ease;
|
||||||
-ms-perspective: 600px;
|
-ms-perspective: 600px;
|
||||||
perspective: 600px;
|
perspective: 600px;
|
||||||
-ms-perspective-origin: 0px -100px;
|
-ms-perspective-origin: 50% 40%;
|
||||||
perspective-origin: 0px -100px;
|
perspective-origin: 50% 40%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides>section {
|
.reveal .slides>section {
|
||||||
|
@ -504,8 +375,6 @@ body {
|
||||||
padding: 20px 0px;
|
padding: 20px 0px;
|
||||||
|
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
line-height: 1.2em;
|
|
||||||
font-weight: inherit;
|
|
||||||
-ms-transform-style: preserve-3d;
|
-ms-transform-style: preserve-3d;
|
||||||
transform-style: preserve-3d;
|
transform-style: preserve-3d;
|
||||||
transition: transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
|
transition: transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
|
||||||
|
@ -530,11 +399,6 @@ body {
|
||||||
transition-duration: 1200ms;
|
transition-duration: 1200ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides>section {
|
|
||||||
left: -50%;
|
|
||||||
top: -50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal .slides>section.stack {
|
.reveal .slides>section.stack {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
|
@ -566,35 +430,80 @@ body {
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.reveal .slides>section.past,
|
||||||
|
.reveal .slides>section.future,
|
||||||
|
.reveal .slides>section>section.past,
|
||||||
|
.reveal .slides>section>section.future {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* DEFAULT TRANSITION
|
* SLIDE TRANSITION
|
||||||
|
* Aliased 'linear' for backwards compatibility
|
||||||
|
*********************************************/
|
||||||
|
|
||||||
|
.reveal.slide section,
|
||||||
|
.reveal.linear section {
|
||||||
|
-ms-backface-visibility: hidden;
|
||||||
|
backface-visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal .slides>section[data-transition=slide].past,
|
||||||
|
.reveal.slide .slides>section:not([data-transition]).past,
|
||||||
|
.reveal .slides>section[data-transition=linear].past,
|
||||||
|
.reveal.linear .slides>section:not([data-transition]).past {
|
||||||
|
transform: translate(-150%, 0);
|
||||||
|
}
|
||||||
|
.reveal .slides>section[data-transition=slide].future,
|
||||||
|
.reveal.slide .slides>section:not([data-transition]).future,
|
||||||
|
.reveal .slides>section[data-transition=linear].future,
|
||||||
|
.reveal.linear .slides>section:not([data-transition]).future {
|
||||||
|
transform: translate(150%, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal .slides>section>section[data-transition=slide].past,
|
||||||
|
.reveal.slide .slides>section>section:not([data-transition]).past,
|
||||||
|
.reveal .slides>section>section[data-transition=linear].past,
|
||||||
|
.reveal.linear .slides>section>section:not([data-transition]).past {
|
||||||
|
transform: translate(0, -150%);
|
||||||
|
}
|
||||||
|
.reveal .slides>section>section[data-transition=slide].future,
|
||||||
|
.reveal.slide .slides>section>section:not([data-transition]).future,
|
||||||
|
.reveal .slides>section>section[data-transition=linear].future,
|
||||||
|
.reveal.linear .slides>section>section:not([data-transition]).future {
|
||||||
|
transform: translate(0, 150%);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*********************************************
|
||||||
|
* CONVEX TRANSITION
|
||||||
|
* Aliased 'default' for backwards compatibility
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal .slides>section[data-transition=default].past,
|
.reveal .slides>section[data-transition=default].past,
|
||||||
.reveal .slides>section.past {
|
.reveal.default .slides>section:not([data-transition]).past,
|
||||||
display: block;
|
.reveal .slides>section[data-transition=convex].past,
|
||||||
opacity: 0;
|
.reveal.convex .slides>section:not([data-transition]).past {
|
||||||
transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
|
transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
|
||||||
}
|
}
|
||||||
.reveal .slides>section[data-transition=default].future,
|
.reveal .slides>section[data-transition=default].future,
|
||||||
.reveal .slides>section.future {
|
.reveal.default .slides>section:not([data-transition]).future,
|
||||||
display: block;
|
.reveal .slides>section[data-transition=convex].future,
|
||||||
opacity: 0;
|
.reveal.convex .slides>section:not([data-transition]).future {
|
||||||
transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
|
transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides>section>section[data-transition=default].past,
|
.reveal .slides>section>section[data-transition=default].past,
|
||||||
.reveal .slides>section>section.past {
|
.reveal.default .slides>section>section:not([data-transition]).past,
|
||||||
display: block;
|
.reveal .slides>section>section[data-transition=convex].past,
|
||||||
opacity: 0;
|
.reveal.convex .slides>section>section:not([data-transition]).past {
|
||||||
transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
|
transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
|
||||||
}
|
}
|
||||||
.reveal .slides>section>section[data-transition=default].future,
|
.reveal .slides>section>section[data-transition=default].future,
|
||||||
.reveal .slides>section>section.future {
|
.reveal.default .slides>section>section:not([data-transition]).future,
|
||||||
display: block;
|
.reveal .slides>section>section[data-transition=convex].future,
|
||||||
opacity: 0;
|
.reveal.convex .slides>section>section:not([data-transition]).future {
|
||||||
transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
|
transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -604,20 +513,20 @@ body {
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal .slides>section[data-transition=concave].past,
|
.reveal .slides>section[data-transition=concave].past,
|
||||||
.reveal.concave .slides>section.past {
|
.reveal.concave .slides>section:not([data-transition]).past {
|
||||||
transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
|
transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
|
||||||
}
|
}
|
||||||
.reveal .slides>section[data-transition=concave].future,
|
.reveal .slides>section[data-transition=concave].future,
|
||||||
.reveal.concave .slides>section.future {
|
.reveal.concave .slides>section:not([data-transition]).future {
|
||||||
transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
|
transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides>section>section[data-transition=concave].past,
|
.reveal .slides>section>section[data-transition=concave].past,
|
||||||
.reveal.concave .slides>section>section.past {
|
.reveal.concave .slides>section>section:not([data-transition]).past {
|
||||||
transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
|
transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
|
||||||
}
|
}
|
||||||
.reveal .slides>section>section[data-transition=concave].future,
|
.reveal .slides>section>section[data-transition=concave].future,
|
||||||
.reveal.concave .slides>section>section.future {
|
.reveal.concave .slides>section>section:not([data-transition]).future {
|
||||||
transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
|
transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -627,57 +536,27 @@ body {
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal .slides>section[data-transition=zoom],
|
.reveal .slides>section[data-transition=zoom],
|
||||||
.reveal.zoom .slides>section {
|
.reveal.zoom .slides>section:not([data-transition]) {
|
||||||
transition-timing-function: ease;
|
transition-timing-function: ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides>section[data-transition=zoom].past,
|
.reveal .slides>section[data-transition=zoom].past,
|
||||||
.reveal.zoom .slides>section.past {
|
.reveal.zoom .slides>section:not([data-transition]).past {
|
||||||
opacity: 0;
|
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
transform: scale(16);
|
transform: scale(16);
|
||||||
}
|
}
|
||||||
.reveal .slides>section[data-transition=zoom].future,
|
.reveal .slides>section[data-transition=zoom].future,
|
||||||
.reveal.zoom .slides>section.future {
|
.reveal.zoom .slides>section:not([data-transition]).future {
|
||||||
opacity: 0;
|
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
transform: scale(0.2);
|
transform: scale(0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides>section>section[data-transition=zoom].past,
|
.reveal .slides>section>section[data-transition=zoom].past,
|
||||||
.reveal.zoom .slides>section>section.past {
|
.reveal.zoom .slides>section>section:not([data-transition]).past {
|
||||||
transform: translate(0, -150%);
|
transform: translate(0, -150%);
|
||||||
}
|
}
|
||||||
.reveal .slides>section>section[data-transition=zoom].future,
|
.reveal .slides>section>section[data-transition=zoom].future,
|
||||||
.reveal.zoom .slides>section>section.future {
|
.reveal.zoom .slides>section>section:not([data-transition]).future {
|
||||||
transform: translate(0, 150%);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
|
||||||
* LINEAR TRANSITION
|
|
||||||
*********************************************/
|
|
||||||
|
|
||||||
.reveal.linear section {
|
|
||||||
-ms-backface-visibility: hidden;
|
|
||||||
backface-visibility: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal .slides>section[data-transition=linear].past,
|
|
||||||
.reveal.linear .slides>section.past {
|
|
||||||
transform: translate(-150%, 0);
|
|
||||||
}
|
|
||||||
.reveal .slides>section[data-transition=linear].future,
|
|
||||||
.reveal.linear .slides>section.future {
|
|
||||||
transform: translate(150%, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal .slides>section>section[data-transition=linear].past,
|
|
||||||
.reveal.linear .slides>section>section.past {
|
|
||||||
transform: translate(0, -150%);
|
|
||||||
}
|
|
||||||
.reveal .slides>section>section[data-transition=linear].future,
|
|
||||||
.reveal.linear .slides>section>section.future {
|
|
||||||
transform: translate(0, 150%);
|
transform: translate(0, 150%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -833,17 +712,15 @@ body {
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal .slides section[data-transition=fade],
|
.reveal .slides section[data-transition=fade],
|
||||||
.reveal.fade .slides section,
|
.reveal.fade .slides section:not([data-transition]),
|
||||||
.reveal.fade .slides>section>section {
|
.reveal.fade .slides>section>section:not([data-transition]) {
|
||||||
transform: none;
|
transform: none;
|
||||||
transition: opacity 0.5s;
|
transition: opacity 0.5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.reveal.fade.overview .slides section,
|
.reveal.fade.overview .slides section,
|
||||||
.reveal.fade.overview .slides>section>section,
|
.reveal.fade.overview .slides>section>section {
|
||||||
.reveal.fade.overview-deactivating .slides section,
|
|
||||||
.reveal.fade.overview-deactivating .slides>section>section {
|
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -853,7 +730,7 @@ body {
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal .slides section[data-transition=none],
|
.reveal .slides section[data-transition=none],
|
||||||
.reveal.none .slides section {
|
.reveal.none .slides section:not([data-transition]) {
|
||||||
transform: none;
|
transform: none;
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
@ -864,20 +741,24 @@ body {
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal.overview .slides {
|
.reveal.overview .slides {
|
||||||
-ms-perspective-origin: 0% 0%;
|
-ms-perspective-origin: 50% 50%;
|
||||||
perspective-origin: 0% 0%;
|
perspective-origin: 50% 50%;
|
||||||
-ms-perspective: 700px;
|
-ms-perspective: 700px;
|
||||||
perspective: 700px;
|
perspective: 700px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal.overview .slides section {
|
.reveal.overview .slides section {
|
||||||
height: 600px;
|
height: 700px;
|
||||||
top: -300px !important;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
visibility: visible !important;
|
visibility: visible !important;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background: rgba(0,0,0,0.1);
|
background: rgba(0,0,0,0.1);
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.reveal.overview .slides section,
|
||||||
|
.reveal.overview-deactivating .slides section {
|
||||||
|
transition: none !important;
|
||||||
}
|
}
|
||||||
.reveal.overview .slides section .fragment {
|
.reveal.overview .slides section .fragment {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
@ -1019,10 +900,13 @@ body {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
-ms-perspective: 600px;
|
-ms-perspective: 600px;
|
||||||
perspective: 600px;
|
perspective: 600px;
|
||||||
}
|
}
|
||||||
.reveal .slide-background {
|
.reveal .slide-background {
|
||||||
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -1035,6 +919,11 @@ body {
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.reveal .slide-background.stack {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.reveal .slide-background.present {
|
.reveal .slide-background.present {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
|
@ -1045,13 +934,24 @@ body {
|
||||||
visibility: visible !important;
|
visibility: visible !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Video backgrounds */
|
||||||
|
.reveal .slide-background video {
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
max-width: none;
|
||||||
|
max-height: none;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Immediate transition style */
|
/* Immediate transition style */
|
||||||
.reveal[data-background-transition=none]>.backgrounds .slide-background,
|
.reveal[data-background-transition=none]>.backgrounds .slide-background,
|
||||||
.reveal>.backgrounds .slide-background[data-background-transition=none] {
|
.reveal>.backgrounds .slide-background[data-background-transition=none] {
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 2D slide */
|
/* Slide */
|
||||||
.reveal[data-background-transition=slide]>.backgrounds .slide-background,
|
.reveal[data-background-transition=slide]>.backgrounds .slide-background,
|
||||||
.reveal>.backgrounds .slide-background[data-background-transition=slide] {
|
.reveal>.backgrounds .slide-background[data-background-transition=slide] {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
@ -1216,7 +1116,7 @@ body {
|
||||||
* LINK PREVIEW OVERLAY
|
* LINK PREVIEW OVERLAY
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal .preview-link-overlay {
|
.reveal .overlay {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
@ -1228,12 +1128,12 @@ body {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
.reveal .preview-link-overlay.visible {
|
.reveal .overlay.visible {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .preview-link-overlay .spinner {
|
.reveal .overlay .spinner {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: block;
|
display: block;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
|
@ -1249,7 +1149,7 @@ body {
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .preview-link-overlay header {
|
.reveal .overlay header {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -1258,7 +1158,7 @@ body {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
border-bottom: 1px solid #222;
|
border-bottom: 1px solid #222;
|
||||||
}
|
}
|
||||||
.reveal .preview-link-overlay header a {
|
.reveal .overlay header a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
@ -1268,10 +1168,10 @@ body {
|
||||||
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.reveal .preview-link-overlay header a:hover {
|
.reveal .overlay header a:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
.reveal .preview-link-overlay header a .icon {
|
.reveal .overlay header a .icon {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
|
@ -1280,14 +1180,14 @@ body {
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.reveal .preview-link-overlay header a.close .icon {
|
.reveal .overlay header a.close .icon {
|
||||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC);
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC);
|
||||||
}
|
}
|
||||||
.reveal .preview-link-overlay header a.external .icon {
|
.reveal .overlay header a.external .icon {
|
||||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==);
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==);
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .preview-link-overlay .viewport {
|
.reveal .overlay .viewport {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 40px;
|
top: 40px;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
@ -1295,7 +1195,7 @@ body {
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .preview-link-overlay .viewport iframe {
|
.reveal .overlay.overlay-preview .viewport iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
@ -1307,17 +1207,53 @@ body {
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .preview-link-overlay.loaded .viewport iframe {
|
.reveal .overlay.overlay-preview.loaded .viewport iframe {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .preview-link-overlay.loaded .spinner {
|
.reveal .overlay.overlay-preview.loaded .spinner {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
transform: scale(0.2);
|
transform: scale(0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.reveal .overlay.overlay-help .viewport {
|
||||||
|
overflow: auto;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal .overlay.overlay-help .viewport .viewport-inner {
|
||||||
|
width: 600px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 60px;
|
||||||
|
text-align: center;
|
||||||
|
letter-spacing: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal .overlay.overlay-help .viewport .viewport-inner .title {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal .overlay.overlay-help .viewport .viewport-inner table {
|
||||||
|
border: 1px solid #fff;
|
||||||
|
border-collapse: collapse;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal .overlay.overlay-help .viewport .viewport-inner table th,
|
||||||
|
.reveal .overlay.overlay-help .viewport .viewport-inner table td {
|
||||||
|
width: 200px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 1px solid #fff;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal .overlay.overlay-help .viewport .viewport-inner table th {
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
|
@ -1404,7 +1340,6 @@ body {
|
||||||
.zoomed .reveal *,
|
.zoomed .reveal *,
|
||||||
.zoomed .reveal *:before,
|
.zoomed .reveal *:before,
|
||||||
.zoomed .reveal *:after {
|
.zoomed .reveal *:after {
|
||||||
transform: none !important;
|
|
||||||
-ms-backface-visibility: visible !important;
|
-ms-backface-visibility: visible !important;
|
||||||
backface-visibility: visible !important;
|
backface-visibility: visible !important;
|
||||||
}
|
}
|
||||||
|
|
479
css/reveal.css
479
css/reveal.css
|
@ -18,7 +18,7 @@ html, body, .reveal div, .reveal span, .reveal applet, .reveal object, .reveal i
|
||||||
.reveal a, .reveal abbr, .reveal acronym, .reveal address, .reveal big, .reveal cite, .reveal code,
|
.reveal a, .reveal abbr, .reveal acronym, .reveal address, .reveal big, .reveal cite, .reveal code,
|
||||||
.reveal del, .reveal dfn, .reveal em, .reveal img, .reveal ins, .reveal kbd, .reveal q, .reveal s, .reveal samp,
|
.reveal del, .reveal dfn, .reveal em, .reveal img, .reveal ins, .reveal kbd, .reveal q, .reveal s, .reveal samp,
|
||||||
.reveal small, .reveal strike, .reveal strong, .reveal sub, .reveal sup, .reveal tt, .reveal var,
|
.reveal small, .reveal strike, .reveal strong, .reveal sub, .reveal sup, .reveal tt, .reveal var,
|
||||||
.reveal b, .reveal u, .reveal i, .reveal center,
|
.reveal b, .reveal u, .reveal center,
|
||||||
.reveal dl, .reveal dt, .reveal dd, .reveal ol, .reveal ul, .reveal li,
|
.reveal dl, .reveal dt, .reveal dd, .reveal ol, .reveal ul, .reveal li,
|
||||||
.reveal fieldset, .reveal form, .reveal label, .reveal legend,
|
.reveal fieldset, .reveal form, .reveal label, .reveal legend,
|
||||||
.reveal table, .reveal caption, .reveal tbody, .reveal tfoot, .reveal thead, .reveal tr, .reveal th, .reveal td,
|
.reveal table, .reveal caption, .reveal tbody, .reveal tfoot, .reveal thead, .reveal tr, .reveal th, .reveal td,
|
||||||
|
@ -54,6 +54,9 @@ body {
|
||||||
body {
|
body {
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
|
||||||
|
background-color: #fff;
|
||||||
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-moz-selection {
|
::-moz-selection {
|
||||||
|
@ -69,46 +72,24 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
|
||||||
* HEADERS
|
|
||||||
*********************************************/
|
|
||||||
|
|
||||||
.reveal h1,
|
|
||||||
.reveal h2,
|
|
||||||
.reveal h3,
|
|
||||||
.reveal h4,
|
|
||||||
.reveal h5,
|
|
||||||
.reveal h6 {
|
|
||||||
-webkit-hyphens: auto;
|
|
||||||
-moz-hyphens: auto;
|
|
||||||
-ms-hyphens: auto;
|
|
||||||
hyphens: auto;
|
|
||||||
|
|
||||||
word-wrap: break-word;
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal h1 { font-size: 3.77em; }
|
|
||||||
.reveal h2 { font-size: 2.11em; }
|
|
||||||
.reveal h3 { font-size: 1.55em; }
|
|
||||||
.reveal h4 { font-size: 1em; }
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* VIEW FRAGMENTS
|
* VIEW FRAGMENTS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal .slides section .fragment {
|
.reveal .slides section .fragment {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
-webkit-transition: all .2s ease;
|
-webkit-transition: all .2s ease;
|
||||||
transition: all .2s ease;
|
transition: all .2s ease;
|
||||||
}
|
}
|
||||||
.reveal .slides section .fragment.visible {
|
.reveal .slides section .fragment.visible {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.grow {
|
.reveal .slides section .fragment.grow {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
.reveal .slides section .fragment.grow.visible {
|
.reveal .slides section .fragment.grow.visible {
|
||||||
-webkit-transform: scale( 1.3 );
|
-webkit-transform: scale( 1.3 );
|
||||||
|
@ -118,6 +99,7 @@ body {
|
||||||
|
|
||||||
.reveal .slides section .fragment.shrink {
|
.reveal .slides section .fragment.shrink {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
.reveal .slides section .fragment.shrink.visible {
|
.reveal .slides section .fragment.shrink.visible {
|
||||||
-webkit-transform: scale( 0.7 );
|
-webkit-transform: scale( 0.7 );
|
||||||
|
@ -126,50 +108,51 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.zoom-in {
|
.reveal .slides section .fragment.zoom-in {
|
||||||
opacity: 0;
|
|
||||||
-webkit-transform: scale( 0.1 );
|
-webkit-transform: scale( 0.1 );
|
||||||
-ms-transform: scale( 0.1 );
|
-ms-transform: scale( 0.1 );
|
||||||
transform: scale( 0.1 );
|
transform: scale( 0.1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.zoom-in.visible {
|
.reveal .slides section .fragment.zoom-in.visible {
|
||||||
opacity: 1;
|
|
||||||
-webkit-transform: scale( 1 );
|
-webkit-transform: scale( 1 );
|
||||||
-ms-transform: scale( 1 );
|
-ms-transform: scale( 1 );
|
||||||
transform: scale( 1 );
|
transform: scale( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.roll-in {
|
.reveal .slides section .fragment.roll-in {
|
||||||
opacity: 0;
|
|
||||||
-webkit-transform: rotateX( 90deg );
|
-webkit-transform: rotateX( 90deg );
|
||||||
transform: rotateX( 90deg );
|
transform: rotateX( 90deg );
|
||||||
}
|
}
|
||||||
.reveal .slides section .fragment.roll-in.visible {
|
.reveal .slides section .fragment.roll-in.visible {
|
||||||
opacity: 1;
|
|
||||||
-webkit-transform: rotateX( 0 );
|
-webkit-transform: rotateX( 0 );
|
||||||
transform: rotateX( 0 );
|
transform: rotateX( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.fade-out {
|
.reveal .slides section .fragment.fade-out {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
.reveal .slides section .fragment.fade-out.visible {
|
.reveal .slides section .fragment.fade-out.visible {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.semi-fade-out {
|
.reveal .slides section .fragment.semi-fade-out {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
.reveal .slides section .fragment.semi-fade-out.visible {
|
.reveal .slides section .fragment.semi-fade-out.visible {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.current-visible {
|
.reveal .slides section .fragment.current-visible {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.current-visible.current-fragment {
|
.reveal .slides section .fragment.current-visible.current-fragment {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.highlight-red,
|
.reveal .slides section .fragment.highlight-red,
|
||||||
|
@ -179,6 +162,7 @@ body {
|
||||||
.reveal .slides section .fragment.highlight-blue,
|
.reveal .slides section .fragment.highlight-blue,
|
||||||
.reveal .slides section .fragment.highlight-current-blue {
|
.reveal .slides section .fragment.highlight-current-blue {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
.reveal .slides section .fragment.highlight-red.visible {
|
.reveal .slides section .fragment.highlight-red.visible {
|
||||||
color: #ff2c2d
|
color: #ff2c2d
|
||||||
|
@ -200,6 +184,13 @@ body {
|
||||||
color: #1b91ff;
|
color: #1b91ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.reveal .slides section .fragment.strike {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.reveal .slides section .fragment.strike.visible {
|
||||||
|
text-decoration: line-through;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* DEFAULT ELEMENT STYLES
|
* DEFAULT ELEMENT STYLES
|
||||||
|
@ -215,115 +206,16 @@ body {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ensure certain elements are never larger than the slide itself */
|
|
||||||
.reveal img,
|
|
||||||
.reveal video,
|
|
||||||
.reveal iframe {
|
|
||||||
max-width: 95%;
|
|
||||||
max-height: 95%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Prevents layering issues in certain browser/transition combinations */
|
/** Prevents layering issues in certain browser/transition combinations */
|
||||||
.reveal a {
|
.reveal a {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal strong,
|
.reveal .stretch {
|
||||||
.reveal b {
|
max-width: none;
|
||||||
font-weight: bold;
|
max-height: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal em,
|
|
||||||
.reveal i {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal ol,
|
|
||||||
.reveal ul {
|
|
||||||
display: inline-block;
|
|
||||||
|
|
||||||
text-align: left;
|
|
||||||
margin: 0 0 0 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal ol {
|
|
||||||
list-style-type: decimal;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal ul {
|
|
||||||
list-style-type: disc;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal ul ul {
|
|
||||||
list-style-type: square;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal ul ul ul {
|
|
||||||
list-style-type: circle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal ul ul,
|
|
||||||
.reveal ul ol,
|
|
||||||
.reveal ol ol,
|
|
||||||
.reveal ol ul {
|
|
||||||
display: block;
|
|
||||||
margin-left: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal p {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
line-height: 1.2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal q,
|
|
||||||
.reveal blockquote {
|
|
||||||
quotes: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal blockquote {
|
|
||||||
display: block;
|
|
||||||
position: relative;
|
|
||||||
width: 70%;
|
|
||||||
margin: 5px auto;
|
|
||||||
padding: 5px;
|
|
||||||
|
|
||||||
font-style: italic;
|
|
||||||
background: rgba(255, 255, 255, 0.05);
|
|
||||||
box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
|
|
||||||
}
|
|
||||||
.reveal blockquote p:first-child,
|
|
||||||
.reveal blockquote p:last-child {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal q {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal pre {
|
|
||||||
display: block;
|
|
||||||
position: relative;
|
|
||||||
width: 90%;
|
|
||||||
margin: 15px auto;
|
|
||||||
|
|
||||||
text-align: left;
|
|
||||||
font-size: 0.55em;
|
|
||||||
font-family: monospace;
|
|
||||||
line-height: 1.2em;
|
|
||||||
|
|
||||||
word-wrap: break-word;
|
|
||||||
|
|
||||||
box-shadow: 0px 0px 6px rgba(0,0,0,0.3);
|
|
||||||
}
|
|
||||||
.reveal code {
|
|
||||||
font-family: monospace;
|
|
||||||
}
|
|
||||||
.reveal pre code {
|
|
||||||
padding: 5px;
|
|
||||||
overflow: auto;
|
|
||||||
max-height: 400px;
|
|
||||||
word-wrap: normal;
|
|
||||||
}
|
|
||||||
.reveal pre.stretch code {
|
.reveal pre.stretch code {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
@ -331,39 +223,6 @@ body {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal table th,
|
|
||||||
.reveal table td {
|
|
||||||
text-align: left;
|
|
||||||
padding-right: .3em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal table th {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal sup {
|
|
||||||
vertical-align: super;
|
|
||||||
}
|
|
||||||
.reveal sub {
|
|
||||||
vertical-align: sub;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal small {
|
|
||||||
display: inline-block;
|
|
||||||
font-size: 0.6em;
|
|
||||||
line-height: 1.2em;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal small * {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal .stretch {
|
|
||||||
max-width: none;
|
|
||||||
max-height: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* CONTROLS
|
* CONTROLS
|
||||||
|
@ -377,6 +236,8 @@ body {
|
||||||
z-index: 30;
|
z-index: 30;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
|
|
||||||
|
-webkit-user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .controls div {
|
.reveal .controls div {
|
||||||
|
@ -387,6 +248,7 @@ body {
|
||||||
border: 12px solid transparent;
|
border: 12px solid transparent;
|
||||||
|
|
||||||
-moz-transform: scale(.9999);
|
-moz-transform: scale(.9999);
|
||||||
|
-webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
|
||||||
-webkit-transition: all 0.2s ease;
|
-webkit-transition: all 0.2s ease;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
}
|
}
|
||||||
|
@ -404,7 +266,7 @@ body {
|
||||||
top: 42px;
|
top: 42px;
|
||||||
|
|
||||||
border-right-width: 22px;
|
border-right-width: 22px;
|
||||||
border-right-color: #eee;
|
border-right-color: #000;
|
||||||
}
|
}
|
||||||
.reveal .controls div.navigate-left.fragmented {
|
.reveal .controls div.navigate-left.fragmented {
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
|
@ -415,7 +277,7 @@ body {
|
||||||
top: 42px;
|
top: 42px;
|
||||||
|
|
||||||
border-left-width: 22px;
|
border-left-width: 22px;
|
||||||
border-left-color: #eee;
|
border-left-color: #000;
|
||||||
}
|
}
|
||||||
.reveal .controls div.navigate-right.fragmented {
|
.reveal .controls div.navigate-right.fragmented {
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
|
@ -425,7 +287,7 @@ body {
|
||||||
left: 42px;
|
left: 42px;
|
||||||
|
|
||||||
border-bottom-width: 22px;
|
border-bottom-width: 22px;
|
||||||
border-bottom-color: #eee;
|
border-bottom-color: #000;
|
||||||
}
|
}
|
||||||
.reveal .controls div.navigate-up.fragmented {
|
.reveal .controls div.navigate-up.fragmented {
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
|
@ -436,7 +298,7 @@ body {
|
||||||
top: 74px;
|
top: 74px;
|
||||||
|
|
||||||
border-top-width: 22px;
|
border-top-width: 22px;
|
||||||
border-top-color: #eee;
|
border-top-color: #000;
|
||||||
}
|
}
|
||||||
.reveal .controls div.navigate-down.fragmented {
|
.reveal .controls div.navigate-down.fragmented {
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
|
@ -455,10 +317,12 @@ body {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|
||||||
|
background-color: rgba( 0, 0, 0, 0.2 );
|
||||||
}
|
}
|
||||||
.reveal .progress:after {
|
.reveal .progress:after {
|
||||||
content: '';
|
content: '';
|
||||||
display: 'block';
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -468,6 +332,8 @@ body {
|
||||||
display: block;
|
display: block;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 0px;
|
width: 0px;
|
||||||
|
|
||||||
|
background-color: #000;
|
||||||
-webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
-webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
||||||
transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
||||||
}
|
}
|
||||||
|
@ -494,16 +360,19 @@ body {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
-ms-touch-action: none;
|
-ms-touch-action: none;
|
||||||
|
touch-action: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides {
|
.reveal .slides {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
left: 50%;
|
top: 0;
|
||||||
top: 50%;
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
margin: auto;
|
||||||
|
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
@ -513,9 +382,9 @@ body {
|
||||||
-ms-perspective: 600px;
|
-ms-perspective: 600px;
|
||||||
-webkit-perspective: 600px;
|
-webkit-perspective: 600px;
|
||||||
perspective: 600px;
|
perspective: 600px;
|
||||||
-ms-perspective-origin: 0px -100px;
|
-ms-perspective-origin: 50% 40%;
|
||||||
-webkit-perspective-origin: 0px -100px;
|
-webkit-perspective-origin: 50% 40%;
|
||||||
perspective-origin: 0px -100px;
|
perspective-origin: 50% 40%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides>section {
|
.reveal .slides>section {
|
||||||
|
@ -530,8 +399,6 @@ body {
|
||||||
padding: 20px 0px;
|
padding: 20px 0px;
|
||||||
|
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
line-height: 1.2em;
|
|
||||||
font-weight: inherit;
|
|
||||||
-ms-transform-style: preserve-3d;
|
-ms-transform-style: preserve-3d;
|
||||||
-webkit-transform-style: preserve-3d;
|
-webkit-transform-style: preserve-3d;
|
||||||
transform-style: preserve-3d;
|
transform-style: preserve-3d;
|
||||||
|
@ -569,11 +436,6 @@ body {
|
||||||
transition-duration: 1200ms;
|
transition-duration: 1200ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides>section {
|
|
||||||
left: -50%;
|
|
||||||
top: -50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal .slides>section.stack {
|
.reveal .slides>section.stack {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
|
@ -605,38 +467,92 @@ body {
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.reveal .slides>section.past,
|
||||||
|
.reveal .slides>section.future,
|
||||||
|
.reveal .slides>section>section.past,
|
||||||
|
.reveal .slides>section>section.future {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* DEFAULT TRANSITION
|
* SLIDE TRANSITION
|
||||||
|
* Aliased 'linear' for backwards compatibility
|
||||||
|
*********************************************/
|
||||||
|
|
||||||
|
.reveal.slide section,
|
||||||
|
.reveal.linear section {
|
||||||
|
-ms-backface-visibility: hidden;
|
||||||
|
-webkit-backface-visibility: hidden;
|
||||||
|
backface-visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal .slides>section[data-transition=slide].past,
|
||||||
|
.reveal.slide .slides>section:not([data-transition]).past,
|
||||||
|
.reveal .slides>section[data-transition=linear].past,
|
||||||
|
.reveal.linear .slides>section:not([data-transition]).past {
|
||||||
|
-webkit-transform: translate(-150%, 0);
|
||||||
|
-ms-transform: translate(-150%, 0);
|
||||||
|
transform: translate(-150%, 0);
|
||||||
|
}
|
||||||
|
.reveal .slides>section[data-transition=slide].future,
|
||||||
|
.reveal.slide .slides>section:not([data-transition]).future,
|
||||||
|
.reveal .slides>section[data-transition=linear].future,
|
||||||
|
.reveal.linear .slides>section:not([data-transition]).future {
|
||||||
|
-webkit-transform: translate(150%, 0);
|
||||||
|
-ms-transform: translate(150%, 0);
|
||||||
|
transform: translate(150%, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal .slides>section>section[data-transition=slide].past,
|
||||||
|
.reveal.slide .slides>section>section:not([data-transition]).past,
|
||||||
|
.reveal .slides>section>section[data-transition=linear].past,
|
||||||
|
.reveal.linear .slides>section>section:not([data-transition]).past {
|
||||||
|
-webkit-transform: translate(0, -150%);
|
||||||
|
-ms-transform: translate(0, -150%);
|
||||||
|
transform: translate(0, -150%);
|
||||||
|
}
|
||||||
|
.reveal .slides>section>section[data-transition=slide].future,
|
||||||
|
.reveal.slide .slides>section>section:not([data-transition]).future,
|
||||||
|
.reveal .slides>section>section[data-transition=linear].future,
|
||||||
|
.reveal.linear .slides>section>section:not([data-transition]).future {
|
||||||
|
-webkit-transform: translate(0, 150%);
|
||||||
|
-ms-transform: translate(0, 150%);
|
||||||
|
transform: translate(0, 150%);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*********************************************
|
||||||
|
* CONVEX TRANSITION
|
||||||
|
* Aliased 'default' for backwards compatibility
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal .slides>section[data-transition=default].past,
|
.reveal .slides>section[data-transition=default].past,
|
||||||
.reveal .slides>section.past {
|
.reveal.default .slides>section:not([data-transition]).past,
|
||||||
display: block;
|
.reveal .slides>section[data-transition=convex].past,
|
||||||
opacity: 0;
|
.reveal.convex .slides>section:not([data-transition]).past {
|
||||||
-webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
|
-webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
|
||||||
transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
|
transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
|
||||||
}
|
}
|
||||||
.reveal .slides>section[data-transition=default].future,
|
.reveal .slides>section[data-transition=default].future,
|
||||||
.reveal .slides>section.future {
|
.reveal.default .slides>section:not([data-transition]).future,
|
||||||
display: block;
|
.reveal .slides>section[data-transition=convex].future,
|
||||||
opacity: 0;
|
.reveal.convex .slides>section:not([data-transition]).future {
|
||||||
-webkit-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
|
-webkit-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
|
||||||
transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
|
transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides>section>section[data-transition=default].past,
|
.reveal .slides>section>section[data-transition=default].past,
|
||||||
.reveal .slides>section>section.past {
|
.reveal.default .slides>section>section:not([data-transition]).past,
|
||||||
display: block;
|
.reveal .slides>section>section[data-transition=convex].past,
|
||||||
opacity: 0;
|
.reveal.convex .slides>section>section:not([data-transition]).past {
|
||||||
-webkit-transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
|
-webkit-transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
|
||||||
transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
|
transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
|
||||||
}
|
}
|
||||||
.reveal .slides>section>section[data-transition=default].future,
|
.reveal .slides>section>section[data-transition=default].future,
|
||||||
.reveal .slides>section>section.future {
|
.reveal.default .slides>section>section:not([data-transition]).future,
|
||||||
display: block;
|
.reveal .slides>section>section[data-transition=convex].future,
|
||||||
opacity: 0;
|
.reveal.convex .slides>section>section:not([data-transition]).future {
|
||||||
-webkit-transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
|
-webkit-transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
|
||||||
transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
|
transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
|
||||||
}
|
}
|
||||||
|
@ -647,23 +563,23 @@ body {
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal .slides>section[data-transition=concave].past,
|
.reveal .slides>section[data-transition=concave].past,
|
||||||
.reveal.concave .slides>section.past {
|
.reveal.concave .slides>section:not([data-transition]).past {
|
||||||
-webkit-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
|
-webkit-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
|
||||||
transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
|
transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
|
||||||
}
|
}
|
||||||
.reveal .slides>section[data-transition=concave].future,
|
.reveal .slides>section[data-transition=concave].future,
|
||||||
.reveal.concave .slides>section.future {
|
.reveal.concave .slides>section:not([data-transition]).future {
|
||||||
-webkit-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
|
-webkit-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
|
||||||
transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
|
transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides>section>section[data-transition=concave].past,
|
.reveal .slides>section>section[data-transition=concave].past,
|
||||||
.reveal.concave .slides>section>section.past {
|
.reveal.concave .slides>section>section:not([data-transition]).past {
|
||||||
-webkit-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
|
-webkit-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
|
||||||
transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
|
transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
|
||||||
}
|
}
|
||||||
.reveal .slides>section>section[data-transition=concave].future,
|
.reveal .slides>section>section[data-transition=concave].future,
|
||||||
.reveal.concave .slides>section>section.future {
|
.reveal.concave .slides>section>section:not([data-transition]).future {
|
||||||
-webkit-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
|
-webkit-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
|
||||||
transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
|
transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
|
||||||
}
|
}
|
||||||
|
@ -674,22 +590,20 @@ body {
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal .slides>section[data-transition=zoom],
|
.reveal .slides>section[data-transition=zoom],
|
||||||
.reveal.zoom .slides>section {
|
.reveal.zoom .slides>section:not([data-transition]) {
|
||||||
-webkit-transition-timing-function: ease;
|
-webkit-transition-timing-function: ease;
|
||||||
transition-timing-function: ease;
|
transition-timing-function: ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides>section[data-transition=zoom].past,
|
.reveal .slides>section[data-transition=zoom].past,
|
||||||
.reveal.zoom .slides>section.past {
|
.reveal.zoom .slides>section:not([data-transition]).past {
|
||||||
opacity: 0;
|
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
-webkit-transform: scale(16);
|
-webkit-transform: scale(16);
|
||||||
-ms-transform: scale(16);
|
-ms-transform: scale(16);
|
||||||
transform: scale(16);
|
transform: scale(16);
|
||||||
}
|
}
|
||||||
.reveal .slides>section[data-transition=zoom].future,
|
.reveal .slides>section[data-transition=zoom].future,
|
||||||
.reveal.zoom .slides>section.future {
|
.reveal.zoom .slides>section:not([data-transition]).future {
|
||||||
opacity: 0;
|
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
-webkit-transform: scale(0.2);
|
-webkit-transform: scale(0.2);
|
||||||
-ms-transform: scale(0.2);
|
-ms-transform: scale(0.2);
|
||||||
|
@ -697,50 +611,13 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides>section>section[data-transition=zoom].past,
|
.reveal .slides>section>section[data-transition=zoom].past,
|
||||||
.reveal.zoom .slides>section>section.past {
|
.reveal.zoom .slides>section>section:not([data-transition]).past {
|
||||||
-webkit-transform: translate(0, -150%);
|
-webkit-transform: translate(0, -150%);
|
||||||
-ms-transform: translate(0, -150%);
|
-ms-transform: translate(0, -150%);
|
||||||
transform: translate(0, -150%);
|
transform: translate(0, -150%);
|
||||||
}
|
}
|
||||||
.reveal .slides>section>section[data-transition=zoom].future,
|
.reveal .slides>section>section[data-transition=zoom].future,
|
||||||
.reveal.zoom .slides>section>section.future {
|
.reveal.zoom .slides>section>section:not([data-transition]).future {
|
||||||
-webkit-transform: translate(0, 150%);
|
|
||||||
-ms-transform: translate(0, 150%);
|
|
||||||
transform: translate(0, 150%);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
|
||||||
* LINEAR TRANSITION
|
|
||||||
*********************************************/
|
|
||||||
|
|
||||||
.reveal.linear section {
|
|
||||||
-ms-backface-visibility: hidden;
|
|
||||||
-webkit-backface-visibility: hidden;
|
|
||||||
backface-visibility: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal .slides>section[data-transition=linear].past,
|
|
||||||
.reveal.linear .slides>section.past {
|
|
||||||
-webkit-transform: translate(-150%, 0);
|
|
||||||
-ms-transform: translate(-150%, 0);
|
|
||||||
transform: translate(-150%, 0);
|
|
||||||
}
|
|
||||||
.reveal .slides>section[data-transition=linear].future,
|
|
||||||
.reveal.linear .slides>section.future {
|
|
||||||
-webkit-transform: translate(150%, 0);
|
|
||||||
-ms-transform: translate(150%, 0);
|
|
||||||
transform: translate(150%, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
.reveal .slides>section>section[data-transition=linear].past,
|
|
||||||
.reveal.linear .slides>section>section.past {
|
|
||||||
-webkit-transform: translate(0, -150%);
|
|
||||||
-ms-transform: translate(0, -150%);
|
|
||||||
transform: translate(0, -150%);
|
|
||||||
}
|
|
||||||
.reveal .slides>section>section[data-transition=linear].future,
|
|
||||||
.reveal.linear .slides>section>section.future {
|
|
||||||
-webkit-transform: translate(0, 150%);
|
-webkit-transform: translate(0, 150%);
|
||||||
-ms-transform: translate(0, 150%);
|
-ms-transform: translate(0, 150%);
|
||||||
transform: translate(0, 150%);
|
transform: translate(0, 150%);
|
||||||
|
@ -931,8 +808,8 @@ body {
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal .slides section[data-transition=fade],
|
.reveal .slides section[data-transition=fade],
|
||||||
.reveal.fade .slides section,
|
.reveal.fade .slides section:not([data-transition]),
|
||||||
.reveal.fade .slides>section>section {
|
.reveal.fade .slides>section>section:not([data-transition]) {
|
||||||
-webkit-transform: none;
|
-webkit-transform: none;
|
||||||
-ms-transform: none;
|
-ms-transform: none;
|
||||||
transform: none;
|
transform: none;
|
||||||
|
@ -942,9 +819,7 @@ body {
|
||||||
|
|
||||||
|
|
||||||
.reveal.fade.overview .slides section,
|
.reveal.fade.overview .slides section,
|
||||||
.reveal.fade.overview .slides>section>section,
|
.reveal.fade.overview .slides>section>section {
|
||||||
.reveal.fade.overview-deactivating .slides section,
|
|
||||||
.reveal.fade.overview-deactivating .slides>section>section {
|
|
||||||
-webkit-transition: none;
|
-webkit-transition: none;
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
@ -955,7 +830,7 @@ body {
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal .slides section[data-transition=none],
|
.reveal .slides section[data-transition=none],
|
||||||
.reveal.none .slides section {
|
.reveal.none .slides section:not([data-transition]) {
|
||||||
-webkit-transform: none;
|
-webkit-transform: none;
|
||||||
-ms-transform: none;
|
-ms-transform: none;
|
||||||
transform: none;
|
transform: none;
|
||||||
|
@ -969,22 +844,28 @@ body {
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal.overview .slides {
|
.reveal.overview .slides {
|
||||||
-ms-perspective-origin: 0% 0%;
|
-ms-perspective-origin: 50% 50%;
|
||||||
-webkit-perspective-origin: 0% 0%;
|
-webkit-perspective-origin: 50% 50%;
|
||||||
perspective-origin: 0% 0%;
|
perspective-origin: 50% 50%;
|
||||||
-ms-perspective: 700px;
|
-ms-perspective: 700px;
|
||||||
-webkit-perspective: 700px;
|
-webkit-perspective: 700px;
|
||||||
perspective: 700px;
|
perspective: 700px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal.overview .slides section {
|
.reveal.overview .slides section {
|
||||||
height: 600px;
|
height: 700px;
|
||||||
top: -300px !important;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
visibility: visible !important;
|
visibility: visible !important;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background: rgba(0,0,0,0.1);
|
background: rgba(0,0,0,0.1);
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.reveal.overview .slides section,
|
||||||
|
.reveal.overview-deactivating .slides section {
|
||||||
|
-webkit-transition: none !important;
|
||||||
|
transition: none !important;
|
||||||
}
|
}
|
||||||
.reveal.overview .slides section .fragment {
|
.reveal.overview .slides section .fragment {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
@ -1131,11 +1012,14 @@ body {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
-ms-perspective: 600px;
|
-ms-perspective: 600px;
|
||||||
-webkit-perspective: 600px;
|
-webkit-perspective: 600px;
|
||||||
perspective: 600px;
|
perspective: 600px;
|
||||||
}
|
}
|
||||||
.reveal .slide-background {
|
.reveal .slide-background {
|
||||||
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -1149,6 +1033,11 @@ body {
|
||||||
-webkit-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
-webkit-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
||||||
transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.reveal .slide-background.stack {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.reveal .slide-background.present {
|
.reveal .slide-background.present {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
|
@ -1159,6 +1048,17 @@ body {
|
||||||
visibility: visible !important;
|
visibility: visible !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Video backgrounds */
|
||||||
|
.reveal .slide-background video {
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
max-width: none;
|
||||||
|
max-height: none;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Immediate transition style */
|
/* Immediate transition style */
|
||||||
.reveal[data-background-transition=none]>.backgrounds .slide-background,
|
.reveal[data-background-transition=none]>.backgrounds .slide-background,
|
||||||
.reveal>.backgrounds .slide-background[data-background-transition=none] {
|
.reveal>.backgrounds .slide-background[data-background-transition=none] {
|
||||||
|
@ -1166,7 +1066,7 @@ body {
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 2D slide */
|
/* Slide */
|
||||||
.reveal[data-background-transition=slide]>.backgrounds .slide-background,
|
.reveal[data-background-transition=slide]>.backgrounds .slide-background,
|
||||||
.reveal>.backgrounds .slide-background[data-background-transition=slide] {
|
.reveal>.backgrounds .slide-background[data-background-transition=slide] {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
@ -1362,7 +1262,7 @@ body {
|
||||||
* LINK PREVIEW OVERLAY
|
* LINK PREVIEW OVERLAY
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal .preview-link-overlay {
|
.reveal .overlay {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
@ -1375,12 +1275,12 @@ body {
|
||||||
-webkit-transition: all 0.3s ease;
|
-webkit-transition: all 0.3s ease;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
.reveal .preview-link-overlay.visible {
|
.reveal .overlay.visible {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .preview-link-overlay .spinner {
|
.reveal .overlay .spinner {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: block;
|
display: block;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
|
@ -1397,7 +1297,7 @@ body {
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .preview-link-overlay header {
|
.reveal .overlay header {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -1406,7 +1306,7 @@ body {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
border-bottom: 1px solid #222;
|
border-bottom: 1px solid #222;
|
||||||
}
|
}
|
||||||
.reveal .preview-link-overlay header a {
|
.reveal .overlay header a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
@ -1418,10 +1318,10 @@ body {
|
||||||
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.reveal .preview-link-overlay header a:hover {
|
.reveal .overlay header a:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
.reveal .preview-link-overlay header a .icon {
|
.reveal .overlay header a .icon {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
|
@ -1430,14 +1330,14 @@ body {
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.reveal .preview-link-overlay header a.close .icon {
|
.reveal .overlay header a.close .icon {
|
||||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC);
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC);
|
||||||
}
|
}
|
||||||
.reveal .preview-link-overlay header a.external .icon {
|
.reveal .overlay header a.external .icon {
|
||||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==);
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==);
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .preview-link-overlay .viewport {
|
.reveal .overlay .viewport {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 40px;
|
top: 40px;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
@ -1445,7 +1345,7 @@ body {
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .preview-link-overlay .viewport iframe {
|
.reveal .overlay.overlay-preview .viewport iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
@ -1458,12 +1358,12 @@ body {
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .preview-link-overlay.loaded .viewport iframe {
|
.reveal .overlay.overlay-preview.loaded .viewport iframe {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal .preview-link-overlay.loaded .spinner {
|
.reveal .overlay.overlay-preview.loaded .spinner {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
-webkit-transform: scale(0.2);
|
-webkit-transform: scale(0.2);
|
||||||
|
@ -1471,6 +1371,42 @@ body {
|
||||||
transform: scale(0.2);
|
transform: scale(0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.reveal .overlay.overlay-help .viewport {
|
||||||
|
overflow: auto;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal .overlay.overlay-help .viewport .viewport-inner {
|
||||||
|
width: 600px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 60px;
|
||||||
|
text-align: center;
|
||||||
|
letter-spacing: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal .overlay.overlay-help .viewport .viewport-inner .title {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal .overlay.overlay-help .viewport .viewport-inner table {
|
||||||
|
border: 1px solid #fff;
|
||||||
|
border-collapse: collapse;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal .overlay.overlay-help .viewport .viewport-inner table th,
|
||||||
|
.reveal .overlay.overlay-help .viewport .viewport-inner table td {
|
||||||
|
width: 200px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 1px solid #fff;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal .overlay.overlay-help .viewport .viewport-inner table th {
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
|
@ -1570,9 +1506,6 @@ body {
|
||||||
.zoomed .reveal *,
|
.zoomed .reveal *,
|
||||||
.zoomed .reveal *:before,
|
.zoomed .reveal *:before,
|
||||||
.zoomed .reveal *:after {
|
.zoomed .reveal *:after {
|
||||||
-webkit-transform: none !important;
|
|
||||||
-ms-transform: none !important;
|
|
||||||
transform: none !important;
|
|
||||||
-ms-backface-visibility: visible !important;
|
-ms-backface-visibility: visible !important;
|
||||||
-webkit-backface-visibility: visible !important;
|
-webkit-backface-visibility: visible !important;
|
||||||
backface-visibility: visible !important;
|
backface-visibility: visible !important;
|
||||||
|
|
7
css/reveal.min.css
vendored
7
css/reveal.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -1,16 +1,15 @@
|
||||||
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
|
||||||
/**
|
/**
|
||||||
* Beige theme for reveal.js.
|
* Beige theme for reveal.js.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
||||||
*/
|
*/
|
||||||
|
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'League Gothic';
|
font-family: 'League Gothic';
|
||||||
src: url("../../lib/font/league_gothic-webfont.eot");
|
src: url("../../lib/font/league_gothic-webfont.eot");
|
||||||
src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
|
src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal; }
|
font-style: normal; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* GLOBAL STYLES
|
* GLOBAL STYLES
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -36,6 +35,11 @@ body {
|
||||||
background: rgba(79, 64, 28, 0.99);
|
background: rgba(79, 64, 28, 0.99);
|
||||||
text-shadow: none; }
|
text-shadow: none; }
|
||||||
|
|
||||||
|
.reveal .slides > section,
|
||||||
|
.reveal .slides > section > section {
|
||||||
|
line-height: 1.2em;
|
||||||
|
font-weight: inherit; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* HEADERS
|
* HEADERS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -48,27 +52,168 @@ body {
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px 0;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-family: "League Gothic", Impact, sans-serif;
|
font-family: "League Gothic", Impact, sans-serif;
|
||||||
line-height: 0.9em;
|
line-height: 1em;
|
||||||
letter-spacing: 0.02em;
|
letter-spacing: 0.02em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-shadow: none; }
|
text-shadow: none;
|
||||||
|
word-wrap: break-word; }
|
||||||
|
|
||||||
|
.reveal h1 {
|
||||||
|
font-size: 3.77em; }
|
||||||
|
|
||||||
|
.reveal h2 {
|
||||||
|
font-size: 2.11em; }
|
||||||
|
|
||||||
|
.reveal h3 {
|
||||||
|
font-size: 1.55em; }
|
||||||
|
|
||||||
|
.reveal h4 {
|
||||||
|
font-size: 1em; }
|
||||||
|
|
||||||
.reveal h1 {
|
.reveal h1 {
|
||||||
text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 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); }
|
text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 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); }
|
||||||
|
|
||||||
|
/*********************************************
|
||||||
|
* OTHER
|
||||||
|
*********************************************/
|
||||||
|
.reveal p {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.2em; }
|
||||||
|
|
||||||
|
/* Ensure certain elements are never larger than the slide itself */
|
||||||
|
.reveal img,
|
||||||
|
.reveal video,
|
||||||
|
.reveal iframe {
|
||||||
|
max-width: 95%;
|
||||||
|
max-height: 95%; }
|
||||||
|
|
||||||
|
.reveal strong,
|
||||||
|
.reveal b {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal em {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal ol,
|
||||||
|
.reveal dl,
|
||||||
|
.reveal ul {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: left;
|
||||||
|
margin: 0 0 0 1em; }
|
||||||
|
|
||||||
|
.reveal ol {
|
||||||
|
list-style-type: decimal; }
|
||||||
|
|
||||||
|
.reveal ul {
|
||||||
|
list-style-type: disc; }
|
||||||
|
|
||||||
|
.reveal ul ul {
|
||||||
|
list-style-type: square; }
|
||||||
|
|
||||||
|
.reveal ul ul ul {
|
||||||
|
list-style-type: circle; }
|
||||||
|
|
||||||
|
.reveal ul ul,
|
||||||
|
.reveal ul ol,
|
||||||
|
.reveal ol ol,
|
||||||
|
.reveal ol ul {
|
||||||
|
display: block;
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal dt {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal dd {
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal q,
|
||||||
|
.reveal blockquote {
|
||||||
|
quotes: none; }
|
||||||
|
|
||||||
|
.reveal blockquote {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 70%;
|
||||||
|
margin: 5px auto;
|
||||||
|
padding: 5px;
|
||||||
|
font-style: italic;
|
||||||
|
background: rgba(255, 255, 255, 0.05);
|
||||||
|
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
.reveal blockquote p:first-child,
|
||||||
|
.reveal blockquote p:last-child {
|
||||||
|
display: inline-block; }
|
||||||
|
|
||||||
|
.reveal q {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal pre {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 90%;
|
||||||
|
margin: 15px auto;
|
||||||
|
text-align: left;
|
||||||
|
font-size: 0.55em;
|
||||||
|
font-family: monospace;
|
||||||
|
line-height: 1.2em;
|
||||||
|
word-wrap: break-word;
|
||||||
|
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
|
||||||
|
|
||||||
|
.reveal code {
|
||||||
|
font-family: monospace; }
|
||||||
|
|
||||||
|
.reveal pre code {
|
||||||
|
display: block;
|
||||||
|
padding: 5px;
|
||||||
|
overflow: auto;
|
||||||
|
max-height: 400px;
|
||||||
|
word-wrap: normal;
|
||||||
|
background: #3F3F3F;
|
||||||
|
color: #DCDCDC; }
|
||||||
|
|
||||||
|
.reveal table {
|
||||||
|
margin: auto;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0; }
|
||||||
|
|
||||||
|
.reveal table th {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal table th,
|
||||||
|
.reveal table td {
|
||||||
|
text-align: left;
|
||||||
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
||||||
|
border-bottom: 1px solid; }
|
||||||
|
|
||||||
|
.reveal table tr:last-child td {
|
||||||
|
border-bottom: none; }
|
||||||
|
|
||||||
|
.reveal sup {
|
||||||
|
vertical-align: super; }
|
||||||
|
|
||||||
|
.reveal sub {
|
||||||
|
vertical-align: sub; }
|
||||||
|
|
||||||
|
.reveal small {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 0.6em;
|
||||||
|
line-height: 1.2em;
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
|
.reveal small * {
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* LINKS
|
* LINKS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
.reveal a:not(.image) {
|
.reveal a {
|
||||||
color: #8b743d;
|
color: #8b743d;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
-webkit-transition: color .15s ease;
|
-webkit-transition: color .15s ease;
|
||||||
-moz-transition: color .15s ease;
|
-moz-transition: color .15s ease;
|
||||||
-ms-transition: color .15s ease;
|
|
||||||
-o-transition: color .15s ease;
|
|
||||||
transition: color .15s ease; }
|
transition: color .15s ease; }
|
||||||
|
|
||||||
.reveal a:not(.image):hover {
|
.reveal a:hover {
|
||||||
color: #c0a86e;
|
color: #c0a86e;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
border: none; }
|
border: none; }
|
||||||
|
@ -84,12 +229,12 @@ body {
|
||||||
margin: 15px 0px;
|
margin: 15px 0px;
|
||||||
background: rgba(255, 255, 255, 0.12);
|
background: rgba(255, 255, 255, 0.12);
|
||||||
border: 4px solid #333333;
|
border: 4px solid #333333;
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
|
||||||
-webkit-transition: all .2s linear;
|
|
||||||
-moz-transition: all .2s linear;
|
.reveal a img {
|
||||||
-ms-transition: all .2s linear;
|
-webkit-transition: all .15s linear;
|
||||||
-o-transition: all .2s linear;
|
-moz-transition: all .15s linear;
|
||||||
transition: all .2s linear; }
|
transition: all .15s linear; }
|
||||||
|
|
||||||
.reveal a:hover img {
|
.reveal a:hover img {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
@ -137,8 +282,6 @@ body {
|
||||||
background: #8b743d;
|
background: #8b743d;
|
||||||
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
-o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic);
|
|
||||||
/**
|
/**
|
||||||
* Blood theme for reveal.js
|
* Blood theme for reveal.js
|
||||||
* Author: Walther http://github.com/Walther
|
* Author: Walther http://github.com/Walther
|
||||||
|
@ -10,6 +9,7 @@
|
||||||
* For other themes, change $codeBackground accordingly.
|
* For other themes, change $codeBackground accordingly.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic);
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* GLOBAL STYLES
|
* GLOBAL STYLES
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -35,6 +35,11 @@ body {
|
||||||
background: #aa2233;
|
background: #aa2233;
|
||||||
text-shadow: none; }
|
text-shadow: none; }
|
||||||
|
|
||||||
|
.reveal .slides > section,
|
||||||
|
.reveal .slides > section > section {
|
||||||
|
line-height: 1.2em;
|
||||||
|
font-weight: inherit; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* HEADERS
|
* HEADERS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -47,27 +52,168 @@ body {
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px 0;
|
||||||
color: #eeeeee;
|
color: #eeeeee;
|
||||||
font-family: Ubuntu, "sans-serif";
|
font-family: Ubuntu, "sans-serif";
|
||||||
line-height: 0.9em;
|
line-height: 1em;
|
||||||
letter-spacing: 0.02em;
|
letter-spacing: 0.02em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-shadow: 2px 2px 2px #222222; }
|
text-shadow: 2px 2px 2px #222222;
|
||||||
|
word-wrap: break-word; }
|
||||||
|
|
||||||
|
.reveal h1 {
|
||||||
|
font-size: 3.77em; }
|
||||||
|
|
||||||
|
.reveal h2 {
|
||||||
|
font-size: 2.11em; }
|
||||||
|
|
||||||
|
.reveal h3 {
|
||||||
|
font-size: 1.55em; }
|
||||||
|
|
||||||
|
.reveal h4 {
|
||||||
|
font-size: 1em; }
|
||||||
|
|
||||||
.reveal h1 {
|
.reveal h1 {
|
||||||
text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 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); }
|
text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 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); }
|
||||||
|
|
||||||
|
/*********************************************
|
||||||
|
* OTHER
|
||||||
|
*********************************************/
|
||||||
|
.reveal p {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.2em; }
|
||||||
|
|
||||||
|
/* Ensure certain elements are never larger than the slide itself */
|
||||||
|
.reveal img,
|
||||||
|
.reveal video,
|
||||||
|
.reveal iframe {
|
||||||
|
max-width: 95%;
|
||||||
|
max-height: 95%; }
|
||||||
|
|
||||||
|
.reveal strong,
|
||||||
|
.reveal b {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal em {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal ol,
|
||||||
|
.reveal dl,
|
||||||
|
.reveal ul {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: left;
|
||||||
|
margin: 0 0 0 1em; }
|
||||||
|
|
||||||
|
.reveal ol {
|
||||||
|
list-style-type: decimal; }
|
||||||
|
|
||||||
|
.reveal ul {
|
||||||
|
list-style-type: disc; }
|
||||||
|
|
||||||
|
.reveal ul ul {
|
||||||
|
list-style-type: square; }
|
||||||
|
|
||||||
|
.reveal ul ul ul {
|
||||||
|
list-style-type: circle; }
|
||||||
|
|
||||||
|
.reveal ul ul,
|
||||||
|
.reveal ul ol,
|
||||||
|
.reveal ol ol,
|
||||||
|
.reveal ol ul {
|
||||||
|
display: block;
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal dt {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal dd {
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal q,
|
||||||
|
.reveal blockquote {
|
||||||
|
quotes: none; }
|
||||||
|
|
||||||
|
.reveal blockquote {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 70%;
|
||||||
|
margin: 5px auto;
|
||||||
|
padding: 5px;
|
||||||
|
font-style: italic;
|
||||||
|
background: rgba(255, 255, 255, 0.05);
|
||||||
|
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
.reveal blockquote p:first-child,
|
||||||
|
.reveal blockquote p:last-child {
|
||||||
|
display: inline-block; }
|
||||||
|
|
||||||
|
.reveal q {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal pre {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 90%;
|
||||||
|
margin: 15px auto;
|
||||||
|
text-align: left;
|
||||||
|
font-size: 0.55em;
|
||||||
|
font-family: monospace;
|
||||||
|
line-height: 1.2em;
|
||||||
|
word-wrap: break-word;
|
||||||
|
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
|
||||||
|
|
||||||
|
.reveal code {
|
||||||
|
font-family: monospace; }
|
||||||
|
|
||||||
|
.reveal pre code {
|
||||||
|
display: block;
|
||||||
|
padding: 5px;
|
||||||
|
overflow: auto;
|
||||||
|
max-height: 400px;
|
||||||
|
word-wrap: normal;
|
||||||
|
background: #3F3F3F;
|
||||||
|
color: #DCDCDC; }
|
||||||
|
|
||||||
|
.reveal table {
|
||||||
|
margin: auto;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0; }
|
||||||
|
|
||||||
|
.reveal table th {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal table th,
|
||||||
|
.reveal table td {
|
||||||
|
text-align: left;
|
||||||
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
||||||
|
border-bottom: 1px solid; }
|
||||||
|
|
||||||
|
.reveal table tr:last-child td {
|
||||||
|
border-bottom: none; }
|
||||||
|
|
||||||
|
.reveal sup {
|
||||||
|
vertical-align: super; }
|
||||||
|
|
||||||
|
.reveal sub {
|
||||||
|
vertical-align: sub; }
|
||||||
|
|
||||||
|
.reveal small {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 0.6em;
|
||||||
|
line-height: 1.2em;
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
|
.reveal small * {
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* LINKS
|
* LINKS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
.reveal a:not(.image) {
|
.reveal a {
|
||||||
color: #aa2233;
|
color: #aa2233;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
-webkit-transition: color .15s ease;
|
-webkit-transition: color .15s ease;
|
||||||
-moz-transition: color .15s ease;
|
-moz-transition: color .15s ease;
|
||||||
-ms-transition: color .15s ease;
|
|
||||||
-o-transition: color .15s ease;
|
|
||||||
transition: color .15s ease; }
|
transition: color .15s ease; }
|
||||||
|
|
||||||
.reveal a:not(.image):hover {
|
.reveal a:hover {
|
||||||
color: #dd5566;
|
color: #dd5566;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
border: none; }
|
border: none; }
|
||||||
|
@ -83,12 +229,12 @@ body {
|
||||||
margin: 15px 0px;
|
margin: 15px 0px;
|
||||||
background: rgba(255, 255, 255, 0.12);
|
background: rgba(255, 255, 255, 0.12);
|
||||||
border: 4px solid #eeeeee;
|
border: 4px solid #eeeeee;
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
|
||||||
-webkit-transition: all .2s linear;
|
|
||||||
-moz-transition: all .2s linear;
|
.reveal a img {
|
||||||
-ms-transition: all .2s linear;
|
-webkit-transition: all .15s linear;
|
||||||
-o-transition: all .2s linear;
|
-moz-transition: all .15s linear;
|
||||||
transition: all .2s linear; }
|
transition: all .15s linear; }
|
||||||
|
|
||||||
.reveal a:hover img {
|
.reveal a:hover img {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
@ -136,8 +282,6 @@ body {
|
||||||
background: #aa2233;
|
background: #aa2233;
|
||||||
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
-o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
|
@ -158,12 +302,12 @@ body {
|
||||||
.reveal h6 {
|
.reveal h6 {
|
||||||
font-weight: 700; }
|
font-weight: 700; }
|
||||||
|
|
||||||
.reveal a:not(.image),
|
.reveal a,
|
||||||
.reveal a:not(.image):hover {
|
.reveal a:hover {
|
||||||
text-shadow: 2px 2px 2px #000; }
|
text-shadow: 2px 2px 2px #000; }
|
||||||
|
|
||||||
.reveal small a:not(.image),
|
.reveal small a,
|
||||||
.reveal small a:not(.image):hover {
|
.reveal small a:hover {
|
||||||
text-shadow: 1px 1px 1px #000; }
|
text-shadow: 1px 1px 1px #000; }
|
||||||
|
|
||||||
.reveal p code {
|
.reveal p code {
|
||||||
|
|
|
@ -1,16 +1,15 @@
|
||||||
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
|
||||||
/**
|
/**
|
||||||
* Default theme for reveal.js.
|
* Default theme for reveal.js.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
||||||
*/
|
*/
|
||||||
|
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'League Gothic';
|
font-family: 'League Gothic';
|
||||||
src: url("../../lib/font/league_gothic-webfont.eot");
|
src: url("../../lib/font/league_gothic-webfont.eot");
|
||||||
src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
|
src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal; }
|
font-style: normal; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* GLOBAL STYLES
|
* GLOBAL STYLES
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -36,6 +35,11 @@ body {
|
||||||
background: #ff5e99;
|
background: #ff5e99;
|
||||||
text-shadow: none; }
|
text-shadow: none; }
|
||||||
|
|
||||||
|
.reveal .slides > section,
|
||||||
|
.reveal .slides > section > section {
|
||||||
|
line-height: 1.2em;
|
||||||
|
font-weight: inherit; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* HEADERS
|
* HEADERS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -48,27 +52,168 @@ body {
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px 0;
|
||||||
color: #eeeeee;
|
color: #eeeeee;
|
||||||
font-family: "League Gothic", Impact, sans-serif;
|
font-family: "League Gothic", Impact, sans-serif;
|
||||||
line-height: 0.9em;
|
line-height: 1em;
|
||||||
letter-spacing: 0.02em;
|
letter-spacing: 0.02em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
|
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
|
||||||
|
word-wrap: break-word; }
|
||||||
|
|
||||||
|
.reveal h1 {
|
||||||
|
font-size: 3.77em; }
|
||||||
|
|
||||||
|
.reveal h2 {
|
||||||
|
font-size: 2.11em; }
|
||||||
|
|
||||||
|
.reveal h3 {
|
||||||
|
font-size: 1.55em; }
|
||||||
|
|
||||||
|
.reveal h4 {
|
||||||
|
font-size: 1em; }
|
||||||
|
|
||||||
.reveal h1 {
|
.reveal h1 {
|
||||||
text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 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); }
|
text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 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); }
|
||||||
|
|
||||||
|
/*********************************************
|
||||||
|
* OTHER
|
||||||
|
*********************************************/
|
||||||
|
.reveal p {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.2em; }
|
||||||
|
|
||||||
|
/* Ensure certain elements are never larger than the slide itself */
|
||||||
|
.reveal img,
|
||||||
|
.reveal video,
|
||||||
|
.reveal iframe {
|
||||||
|
max-width: 95%;
|
||||||
|
max-height: 95%; }
|
||||||
|
|
||||||
|
.reveal strong,
|
||||||
|
.reveal b {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal em {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal ol,
|
||||||
|
.reveal dl,
|
||||||
|
.reveal ul {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: left;
|
||||||
|
margin: 0 0 0 1em; }
|
||||||
|
|
||||||
|
.reveal ol {
|
||||||
|
list-style-type: decimal; }
|
||||||
|
|
||||||
|
.reveal ul {
|
||||||
|
list-style-type: disc; }
|
||||||
|
|
||||||
|
.reveal ul ul {
|
||||||
|
list-style-type: square; }
|
||||||
|
|
||||||
|
.reveal ul ul ul {
|
||||||
|
list-style-type: circle; }
|
||||||
|
|
||||||
|
.reveal ul ul,
|
||||||
|
.reveal ul ol,
|
||||||
|
.reveal ol ol,
|
||||||
|
.reveal ol ul {
|
||||||
|
display: block;
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal dt {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal dd {
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal q,
|
||||||
|
.reveal blockquote {
|
||||||
|
quotes: none; }
|
||||||
|
|
||||||
|
.reveal blockquote {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 70%;
|
||||||
|
margin: 5px auto;
|
||||||
|
padding: 5px;
|
||||||
|
font-style: italic;
|
||||||
|
background: rgba(255, 255, 255, 0.05);
|
||||||
|
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
.reveal blockquote p:first-child,
|
||||||
|
.reveal blockquote p:last-child {
|
||||||
|
display: inline-block; }
|
||||||
|
|
||||||
|
.reveal q {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal pre {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 90%;
|
||||||
|
margin: 15px auto;
|
||||||
|
text-align: left;
|
||||||
|
font-size: 0.55em;
|
||||||
|
font-family: monospace;
|
||||||
|
line-height: 1.2em;
|
||||||
|
word-wrap: break-word;
|
||||||
|
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
|
||||||
|
|
||||||
|
.reveal code {
|
||||||
|
font-family: monospace; }
|
||||||
|
|
||||||
|
.reveal pre code {
|
||||||
|
display: block;
|
||||||
|
padding: 5px;
|
||||||
|
overflow: auto;
|
||||||
|
max-height: 400px;
|
||||||
|
word-wrap: normal;
|
||||||
|
background: #3F3F3F;
|
||||||
|
color: #DCDCDC; }
|
||||||
|
|
||||||
|
.reveal table {
|
||||||
|
margin: auto;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0; }
|
||||||
|
|
||||||
|
.reveal table th {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal table th,
|
||||||
|
.reveal table td {
|
||||||
|
text-align: left;
|
||||||
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
||||||
|
border-bottom: 1px solid; }
|
||||||
|
|
||||||
|
.reveal table tr:last-child td {
|
||||||
|
border-bottom: none; }
|
||||||
|
|
||||||
|
.reveal sup {
|
||||||
|
vertical-align: super; }
|
||||||
|
|
||||||
|
.reveal sub {
|
||||||
|
vertical-align: sub; }
|
||||||
|
|
||||||
|
.reveal small {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 0.6em;
|
||||||
|
line-height: 1.2em;
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
|
.reveal small * {
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* LINKS
|
* LINKS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
.reveal a:not(.image) {
|
.reveal a {
|
||||||
color: #13daec;
|
color: #13daec;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
-webkit-transition: color .15s ease;
|
-webkit-transition: color .15s ease;
|
||||||
-moz-transition: color .15s ease;
|
-moz-transition: color .15s ease;
|
||||||
-ms-transition: color .15s ease;
|
|
||||||
-o-transition: color .15s ease;
|
|
||||||
transition: color .15s ease; }
|
transition: color .15s ease; }
|
||||||
|
|
||||||
.reveal a:not(.image):hover {
|
.reveal a:hover {
|
||||||
color: #71e9f4;
|
color: #71e9f4;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
border: none; }
|
border: none; }
|
||||||
|
@ -84,12 +229,12 @@ body {
|
||||||
margin: 15px 0px;
|
margin: 15px 0px;
|
||||||
background: rgba(255, 255, 255, 0.12);
|
background: rgba(255, 255, 255, 0.12);
|
||||||
border: 4px solid #eeeeee;
|
border: 4px solid #eeeeee;
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
|
||||||
-webkit-transition: all .2s linear;
|
|
||||||
-moz-transition: all .2s linear;
|
.reveal a img {
|
||||||
-ms-transition: all .2s linear;
|
-webkit-transition: all .15s linear;
|
||||||
-o-transition: all .2s linear;
|
-moz-transition: all .15s linear;
|
||||||
transition: all .2s linear; }
|
transition: all .15s linear; }
|
||||||
|
|
||||||
.reveal a:hover img {
|
.reveal a:hover img {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
@ -137,8 +282,6 @@ body {
|
||||||
background: #13daec;
|
background: #13daec;
|
||||||
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
-o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
|
|
|
@ -1,15 +1,14 @@
|
||||||
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
|
||||||
/**
|
/**
|
||||||
* Solarized Dark theme for reveal.js.
|
* Solarized Dark theme for reveal.js.
|
||||||
* Author: Achim Staebler
|
* Author: Achim Staebler
|
||||||
*/
|
*/
|
||||||
|
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'League Gothic';
|
font-family: 'League Gothic';
|
||||||
src: url("../../lib/font/league_gothic-webfont.eot");
|
src: url("../../lib/font/league_gothic-webfont.eot");
|
||||||
src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
|
src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal; }
|
font-style: normal; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Solarized colors by Ethan Schoonover
|
* Solarized colors by Ethan Schoonover
|
||||||
*/
|
*/
|
||||||
|
@ -36,6 +35,11 @@ body {
|
||||||
background: #d33682;
|
background: #d33682;
|
||||||
text-shadow: none; }
|
text-shadow: none; }
|
||||||
|
|
||||||
|
.reveal .slides > section,
|
||||||
|
.reveal .slides > section > section {
|
||||||
|
line-height: 1.2em;
|
||||||
|
font-weight: inherit; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* HEADERS
|
* HEADERS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -48,27 +52,168 @@ body {
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px 0;
|
||||||
color: #eee8d5;
|
color: #eee8d5;
|
||||||
font-family: "League Gothic", Impact, sans-serif;
|
font-family: "League Gothic", Impact, sans-serif;
|
||||||
line-height: 0.9em;
|
line-height: 1em;
|
||||||
letter-spacing: 0.02em;
|
letter-spacing: 0.02em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-shadow: none; }
|
text-shadow: none;
|
||||||
|
word-wrap: break-word; }
|
||||||
|
|
||||||
|
.reveal h1 {
|
||||||
|
font-size: 3.77em; }
|
||||||
|
|
||||||
|
.reveal h2 {
|
||||||
|
font-size: 2.11em; }
|
||||||
|
|
||||||
|
.reveal h3 {
|
||||||
|
font-size: 1.55em; }
|
||||||
|
|
||||||
|
.reveal h4 {
|
||||||
|
font-size: 1em; }
|
||||||
|
|
||||||
.reveal h1 {
|
.reveal h1 {
|
||||||
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
|
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
/*********************************************
|
||||||
|
* OTHER
|
||||||
|
*********************************************/
|
||||||
|
.reveal p {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.2em; }
|
||||||
|
|
||||||
|
/* Ensure certain elements are never larger than the slide itself */
|
||||||
|
.reveal img,
|
||||||
|
.reveal video,
|
||||||
|
.reveal iframe {
|
||||||
|
max-width: 95%;
|
||||||
|
max-height: 95%; }
|
||||||
|
|
||||||
|
.reveal strong,
|
||||||
|
.reveal b {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal em {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal ol,
|
||||||
|
.reveal dl,
|
||||||
|
.reveal ul {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: left;
|
||||||
|
margin: 0 0 0 1em; }
|
||||||
|
|
||||||
|
.reveal ol {
|
||||||
|
list-style-type: decimal; }
|
||||||
|
|
||||||
|
.reveal ul {
|
||||||
|
list-style-type: disc; }
|
||||||
|
|
||||||
|
.reveal ul ul {
|
||||||
|
list-style-type: square; }
|
||||||
|
|
||||||
|
.reveal ul ul ul {
|
||||||
|
list-style-type: circle; }
|
||||||
|
|
||||||
|
.reveal ul ul,
|
||||||
|
.reveal ul ol,
|
||||||
|
.reveal ol ol,
|
||||||
|
.reveal ol ul {
|
||||||
|
display: block;
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal dt {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal dd {
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal q,
|
||||||
|
.reveal blockquote {
|
||||||
|
quotes: none; }
|
||||||
|
|
||||||
|
.reveal blockquote {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 70%;
|
||||||
|
margin: 5px auto;
|
||||||
|
padding: 5px;
|
||||||
|
font-style: italic;
|
||||||
|
background: rgba(255, 255, 255, 0.05);
|
||||||
|
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
.reveal blockquote p:first-child,
|
||||||
|
.reveal blockquote p:last-child {
|
||||||
|
display: inline-block; }
|
||||||
|
|
||||||
|
.reveal q {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal pre {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 90%;
|
||||||
|
margin: 15px auto;
|
||||||
|
text-align: left;
|
||||||
|
font-size: 0.55em;
|
||||||
|
font-family: monospace;
|
||||||
|
line-height: 1.2em;
|
||||||
|
word-wrap: break-word;
|
||||||
|
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
|
||||||
|
|
||||||
|
.reveal code {
|
||||||
|
font-family: monospace; }
|
||||||
|
|
||||||
|
.reveal pre code {
|
||||||
|
display: block;
|
||||||
|
padding: 5px;
|
||||||
|
overflow: auto;
|
||||||
|
max-height: 400px;
|
||||||
|
word-wrap: normal;
|
||||||
|
background: #3F3F3F;
|
||||||
|
color: #DCDCDC; }
|
||||||
|
|
||||||
|
.reveal table {
|
||||||
|
margin: auto;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0; }
|
||||||
|
|
||||||
|
.reveal table th {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal table th,
|
||||||
|
.reveal table td {
|
||||||
|
text-align: left;
|
||||||
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
||||||
|
border-bottom: 1px solid; }
|
||||||
|
|
||||||
|
.reveal table tr:last-child td {
|
||||||
|
border-bottom: none; }
|
||||||
|
|
||||||
|
.reveal sup {
|
||||||
|
vertical-align: super; }
|
||||||
|
|
||||||
|
.reveal sub {
|
||||||
|
vertical-align: sub; }
|
||||||
|
|
||||||
|
.reveal small {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 0.6em;
|
||||||
|
line-height: 1.2em;
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
|
.reveal small * {
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* LINKS
|
* LINKS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
.reveal a:not(.image) {
|
.reveal a {
|
||||||
color: #268bd2;
|
color: #268bd2;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
-webkit-transition: color .15s ease;
|
-webkit-transition: color .15s ease;
|
||||||
-moz-transition: color .15s ease;
|
-moz-transition: color .15s ease;
|
||||||
-ms-transition: color .15s ease;
|
|
||||||
-o-transition: color .15s ease;
|
|
||||||
transition: color .15s ease; }
|
transition: color .15s ease; }
|
||||||
|
|
||||||
.reveal a:not(.image):hover {
|
.reveal a:hover {
|
||||||
color: #78b9e6;
|
color: #78b9e6;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
border: none; }
|
border: none; }
|
||||||
|
@ -84,12 +229,12 @@ body {
|
||||||
margin: 15px 0px;
|
margin: 15px 0px;
|
||||||
background: rgba(255, 255, 255, 0.12);
|
background: rgba(255, 255, 255, 0.12);
|
||||||
border: 4px solid #93a1a1;
|
border: 4px solid #93a1a1;
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
|
||||||
-webkit-transition: all .2s linear;
|
|
||||||
-moz-transition: all .2s linear;
|
.reveal a img {
|
||||||
-ms-transition: all .2s linear;
|
-webkit-transition: all .15s linear;
|
||||||
-o-transition: all .2s linear;
|
-moz-transition: all .15s linear;
|
||||||
transition: all .2s linear; }
|
transition: all .15s linear; }
|
||||||
|
|
||||||
.reveal a:hover img {
|
.reveal a:hover img {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
@ -137,8 +282,6 @@ body {
|
||||||
background: #268bd2;
|
background: #268bd2;
|
||||||
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
-o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
@import url(https://fonts.googleapis.com/css?family=Montserrat:700);
|
|
||||||
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
|
|
||||||
/**
|
/**
|
||||||
* Black theme for reveal.js.
|
* Black theme for reveal.js.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
||||||
*/
|
*/
|
||||||
|
@import url(https://fonts.googleapis.com/css?family=Montserrat:700);
|
||||||
|
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* GLOBAL STYLES
|
* GLOBAL STYLES
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -24,6 +24,11 @@ body {
|
||||||
background: #e7ad52;
|
background: #e7ad52;
|
||||||
text-shadow: none; }
|
text-shadow: none; }
|
||||||
|
|
||||||
|
.reveal .slides > section,
|
||||||
|
.reveal .slides > section > section {
|
||||||
|
line-height: 1.2em;
|
||||||
|
font-weight: inherit; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* HEADERS
|
* HEADERS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -36,27 +41,168 @@ body {
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px 0;
|
||||||
color: #eeeeee;
|
color: #eeeeee;
|
||||||
font-family: "Montserrat", Impact, sans-serif;
|
font-family: "Montserrat", Impact, sans-serif;
|
||||||
line-height: 0.9em;
|
line-height: 1em;
|
||||||
letter-spacing: -0.03em;
|
letter-spacing: -0.03em;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
text-shadow: none; }
|
text-shadow: none;
|
||||||
|
word-wrap: break-word; }
|
||||||
|
|
||||||
|
.reveal h1 {
|
||||||
|
font-size: 3.77em; }
|
||||||
|
|
||||||
|
.reveal h2 {
|
||||||
|
font-size: 2.11em; }
|
||||||
|
|
||||||
|
.reveal h3 {
|
||||||
|
font-size: 1.55em; }
|
||||||
|
|
||||||
|
.reveal h4 {
|
||||||
|
font-size: 1em; }
|
||||||
|
|
||||||
.reveal h1 {
|
.reveal h1 {
|
||||||
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
|
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
/*********************************************
|
||||||
|
* OTHER
|
||||||
|
*********************************************/
|
||||||
|
.reveal p {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.2em; }
|
||||||
|
|
||||||
|
/* Ensure certain elements are never larger than the slide itself */
|
||||||
|
.reveal img,
|
||||||
|
.reveal video,
|
||||||
|
.reveal iframe {
|
||||||
|
max-width: 95%;
|
||||||
|
max-height: 95%; }
|
||||||
|
|
||||||
|
.reveal strong,
|
||||||
|
.reveal b {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal em {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal ol,
|
||||||
|
.reveal dl,
|
||||||
|
.reveal ul {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: left;
|
||||||
|
margin: 0 0 0 1em; }
|
||||||
|
|
||||||
|
.reveal ol {
|
||||||
|
list-style-type: decimal; }
|
||||||
|
|
||||||
|
.reveal ul {
|
||||||
|
list-style-type: disc; }
|
||||||
|
|
||||||
|
.reveal ul ul {
|
||||||
|
list-style-type: square; }
|
||||||
|
|
||||||
|
.reveal ul ul ul {
|
||||||
|
list-style-type: circle; }
|
||||||
|
|
||||||
|
.reveal ul ul,
|
||||||
|
.reveal ul ol,
|
||||||
|
.reveal ol ol,
|
||||||
|
.reveal ol ul {
|
||||||
|
display: block;
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal dt {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal dd {
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal q,
|
||||||
|
.reveal blockquote {
|
||||||
|
quotes: none; }
|
||||||
|
|
||||||
|
.reveal blockquote {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 70%;
|
||||||
|
margin: 5px auto;
|
||||||
|
padding: 5px;
|
||||||
|
font-style: italic;
|
||||||
|
background: rgba(255, 255, 255, 0.05);
|
||||||
|
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
.reveal blockquote p:first-child,
|
||||||
|
.reveal blockquote p:last-child {
|
||||||
|
display: inline-block; }
|
||||||
|
|
||||||
|
.reveal q {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal pre {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 90%;
|
||||||
|
margin: 15px auto;
|
||||||
|
text-align: left;
|
||||||
|
font-size: 0.55em;
|
||||||
|
font-family: monospace;
|
||||||
|
line-height: 1.2em;
|
||||||
|
word-wrap: break-word;
|
||||||
|
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
|
||||||
|
|
||||||
|
.reveal code {
|
||||||
|
font-family: monospace; }
|
||||||
|
|
||||||
|
.reveal pre code {
|
||||||
|
display: block;
|
||||||
|
padding: 5px;
|
||||||
|
overflow: auto;
|
||||||
|
max-height: 400px;
|
||||||
|
word-wrap: normal;
|
||||||
|
background: #3F3F3F;
|
||||||
|
color: #DCDCDC; }
|
||||||
|
|
||||||
|
.reveal table {
|
||||||
|
margin: auto;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0; }
|
||||||
|
|
||||||
|
.reveal table th {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal table th,
|
||||||
|
.reveal table td {
|
||||||
|
text-align: left;
|
||||||
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
||||||
|
border-bottom: 1px solid; }
|
||||||
|
|
||||||
|
.reveal table tr:last-child td {
|
||||||
|
border-bottom: none; }
|
||||||
|
|
||||||
|
.reveal sup {
|
||||||
|
vertical-align: super; }
|
||||||
|
|
||||||
|
.reveal sub {
|
||||||
|
vertical-align: sub; }
|
||||||
|
|
||||||
|
.reveal small {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 0.6em;
|
||||||
|
line-height: 1.2em;
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
|
.reveal small * {
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* LINKS
|
* LINKS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
.reveal a:not(.image) {
|
.reveal a {
|
||||||
color: #e7ad52;
|
color: #e7ad52;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
-webkit-transition: color .15s ease;
|
-webkit-transition: color .15s ease;
|
||||||
-moz-transition: color .15s ease;
|
-moz-transition: color .15s ease;
|
||||||
-ms-transition: color .15s ease;
|
|
||||||
-o-transition: color .15s ease;
|
|
||||||
transition: color .15s ease; }
|
transition: color .15s ease; }
|
||||||
|
|
||||||
.reveal a:not(.image):hover {
|
.reveal a:hover {
|
||||||
color: #f3d7ac;
|
color: #f3d7ac;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
border: none; }
|
border: none; }
|
||||||
|
@ -72,12 +218,12 @@ body {
|
||||||
margin: 15px 0px;
|
margin: 15px 0px;
|
||||||
background: rgba(255, 255, 255, 0.12);
|
background: rgba(255, 255, 255, 0.12);
|
||||||
border: 4px solid #eeeeee;
|
border: 4px solid #eeeeee;
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
|
||||||
-webkit-transition: all .2s linear;
|
|
||||||
-moz-transition: all .2s linear;
|
.reveal a img {
|
||||||
-ms-transition: all .2s linear;
|
-webkit-transition: all .15s linear;
|
||||||
-o-transition: all .2s linear;
|
-moz-transition: all .15s linear;
|
||||||
transition: all .2s linear; }
|
transition: all .15s linear; }
|
||||||
|
|
||||||
.reveal a:hover img {
|
.reveal a:hover img {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
@ -125,8 +271,6 @@ body {
|
||||||
background: #e7ad52;
|
background: #e7ad52;
|
||||||
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
-o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* This theme is Copyright (C) 2012-2013 Owen Versteeg, http://owenversteeg.com - it is MIT licensed.
|
* This theme is Copyright (C) 2012-2013 Owen Versteeg, http://owenversteeg.com - it is MIT licensed.
|
||||||
*/
|
*/
|
||||||
.reveal a:not(.image) {
|
.reveal a {
|
||||||
line-height: 1.3em; }
|
line-height: 1.3em; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
|
@ -26,6 +26,11 @@ body {
|
||||||
background: #26351c;
|
background: #26351c;
|
||||||
text-shadow: none; }
|
text-shadow: none; }
|
||||||
|
|
||||||
|
.reveal .slides > section,
|
||||||
|
.reveal .slides > section > section {
|
||||||
|
line-height: 1.2em;
|
||||||
|
font-weight: inherit; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* HEADERS
|
* HEADERS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -38,27 +43,168 @@ body {
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px 0;
|
||||||
color: #383d3d;
|
color: #383d3d;
|
||||||
font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif;
|
font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif;
|
||||||
line-height: 0.9em;
|
line-height: 1em;
|
||||||
letter-spacing: 0.02em;
|
letter-spacing: 0.02em;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
text-shadow: none; }
|
text-shadow: none;
|
||||||
|
word-wrap: break-word; }
|
||||||
|
|
||||||
|
.reveal h1 {
|
||||||
|
font-size: 3.77em; }
|
||||||
|
|
||||||
|
.reveal h2 {
|
||||||
|
font-size: 2.11em; }
|
||||||
|
|
||||||
|
.reveal h3 {
|
||||||
|
font-size: 1.55em; }
|
||||||
|
|
||||||
|
.reveal h4 {
|
||||||
|
font-size: 1em; }
|
||||||
|
|
||||||
.reveal h1 {
|
.reveal h1 {
|
||||||
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
|
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
/*********************************************
|
||||||
|
* OTHER
|
||||||
|
*********************************************/
|
||||||
|
.reveal p {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.2em; }
|
||||||
|
|
||||||
|
/* Ensure certain elements are never larger than the slide itself */
|
||||||
|
.reveal img,
|
||||||
|
.reveal video,
|
||||||
|
.reveal iframe {
|
||||||
|
max-width: 95%;
|
||||||
|
max-height: 95%; }
|
||||||
|
|
||||||
|
.reveal strong,
|
||||||
|
.reveal b {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal em {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal ol,
|
||||||
|
.reveal dl,
|
||||||
|
.reveal ul {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: left;
|
||||||
|
margin: 0 0 0 1em; }
|
||||||
|
|
||||||
|
.reveal ol {
|
||||||
|
list-style-type: decimal; }
|
||||||
|
|
||||||
|
.reveal ul {
|
||||||
|
list-style-type: disc; }
|
||||||
|
|
||||||
|
.reveal ul ul {
|
||||||
|
list-style-type: square; }
|
||||||
|
|
||||||
|
.reveal ul ul ul {
|
||||||
|
list-style-type: circle; }
|
||||||
|
|
||||||
|
.reveal ul ul,
|
||||||
|
.reveal ul ol,
|
||||||
|
.reveal ol ol,
|
||||||
|
.reveal ol ul {
|
||||||
|
display: block;
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal dt {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal dd {
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal q,
|
||||||
|
.reveal blockquote {
|
||||||
|
quotes: none; }
|
||||||
|
|
||||||
|
.reveal blockquote {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 70%;
|
||||||
|
margin: 5px auto;
|
||||||
|
padding: 5px;
|
||||||
|
font-style: italic;
|
||||||
|
background: rgba(255, 255, 255, 0.05);
|
||||||
|
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
.reveal blockquote p:first-child,
|
||||||
|
.reveal blockquote p:last-child {
|
||||||
|
display: inline-block; }
|
||||||
|
|
||||||
|
.reveal q {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal pre {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 90%;
|
||||||
|
margin: 15px auto;
|
||||||
|
text-align: left;
|
||||||
|
font-size: 0.55em;
|
||||||
|
font-family: monospace;
|
||||||
|
line-height: 1.2em;
|
||||||
|
word-wrap: break-word;
|
||||||
|
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
|
||||||
|
|
||||||
|
.reveal code {
|
||||||
|
font-family: monospace; }
|
||||||
|
|
||||||
|
.reveal pre code {
|
||||||
|
display: block;
|
||||||
|
padding: 5px;
|
||||||
|
overflow: auto;
|
||||||
|
max-height: 400px;
|
||||||
|
word-wrap: normal;
|
||||||
|
background: #3F3F3F;
|
||||||
|
color: #DCDCDC; }
|
||||||
|
|
||||||
|
.reveal table {
|
||||||
|
margin: auto;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0; }
|
||||||
|
|
||||||
|
.reveal table th {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal table th,
|
||||||
|
.reveal table td {
|
||||||
|
text-align: left;
|
||||||
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
||||||
|
border-bottom: 1px solid; }
|
||||||
|
|
||||||
|
.reveal table tr:last-child td {
|
||||||
|
border-bottom: none; }
|
||||||
|
|
||||||
|
.reveal sup {
|
||||||
|
vertical-align: super; }
|
||||||
|
|
||||||
|
.reveal sub {
|
||||||
|
vertical-align: sub; }
|
||||||
|
|
||||||
|
.reveal small {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 0.6em;
|
||||||
|
line-height: 1.2em;
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
|
.reveal small * {
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* LINKS
|
* LINKS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
.reveal a:not(.image) {
|
.reveal a {
|
||||||
color: #51483d;
|
color: #51483d;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
-webkit-transition: color .15s ease;
|
-webkit-transition: color .15s ease;
|
||||||
-moz-transition: color .15s ease;
|
-moz-transition: color .15s ease;
|
||||||
-ms-transition: color .15s ease;
|
|
||||||
-o-transition: color .15s ease;
|
|
||||||
transition: color .15s ease; }
|
transition: color .15s ease; }
|
||||||
|
|
||||||
.reveal a:not(.image):hover {
|
.reveal a:hover {
|
||||||
color: #8b7c69;
|
color: #8b7c69;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
border: none; }
|
border: none; }
|
||||||
|
@ -74,12 +220,12 @@ body {
|
||||||
margin: 15px 0px;
|
margin: 15px 0px;
|
||||||
background: rgba(255, 255, 255, 0.12);
|
background: rgba(255, 255, 255, 0.12);
|
||||||
border: 4px solid black;
|
border: 4px solid black;
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
|
||||||
-webkit-transition: all .2s linear;
|
|
||||||
-moz-transition: all .2s linear;
|
.reveal a img {
|
||||||
-ms-transition: all .2s linear;
|
-webkit-transition: all .15s linear;
|
||||||
-o-transition: all .2s linear;
|
-moz-transition: all .15s linear;
|
||||||
transition: all .2s linear; }
|
transition: all .15s linear; }
|
||||||
|
|
||||||
.reveal a:hover img {
|
.reveal a:hover img {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
@ -127,8 +273,6 @@ body {
|
||||||
background: #51483d;
|
background: #51483d;
|
||||||
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
-o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
@import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700);
|
|
||||||
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
|
||||||
/**
|
/**
|
||||||
* A simple theme for reveal.js presentations, similar
|
* A simple theme for reveal.js presentations, similar
|
||||||
* to the default theme. The accent color is darkblue.
|
* to the default theme. The accent color is darkblue.
|
||||||
|
@ -7,6 +5,8 @@
|
||||||
* This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
|
* This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
|
||||||
* reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
* reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
||||||
*/
|
*/
|
||||||
|
@import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700);
|
||||||
|
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* GLOBAL STYLES
|
* GLOBAL STYLES
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -26,6 +26,11 @@ body {
|
||||||
background: rgba(0, 0, 0, 0.99);
|
background: rgba(0, 0, 0, 0.99);
|
||||||
text-shadow: none; }
|
text-shadow: none; }
|
||||||
|
|
||||||
|
.reveal .slides > section,
|
||||||
|
.reveal .slides > section > section {
|
||||||
|
line-height: 1.2em;
|
||||||
|
font-weight: inherit; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* HEADERS
|
* HEADERS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -38,27 +43,168 @@ body {
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px 0;
|
||||||
color: black;
|
color: black;
|
||||||
font-family: "News Cycle", Impact, sans-serif;
|
font-family: "News Cycle", Impact, sans-serif;
|
||||||
line-height: 0.9em;
|
line-height: 1em;
|
||||||
letter-spacing: 0.02em;
|
letter-spacing: 0.02em;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
text-shadow: none; }
|
text-shadow: none;
|
||||||
|
word-wrap: break-word; }
|
||||||
|
|
||||||
|
.reveal h1 {
|
||||||
|
font-size: 3.77em; }
|
||||||
|
|
||||||
|
.reveal h2 {
|
||||||
|
font-size: 2.11em; }
|
||||||
|
|
||||||
|
.reveal h3 {
|
||||||
|
font-size: 1.55em; }
|
||||||
|
|
||||||
|
.reveal h4 {
|
||||||
|
font-size: 1em; }
|
||||||
|
|
||||||
.reveal h1 {
|
.reveal h1 {
|
||||||
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
|
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
/*********************************************
|
||||||
|
* OTHER
|
||||||
|
*********************************************/
|
||||||
|
.reveal p {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.2em; }
|
||||||
|
|
||||||
|
/* Ensure certain elements are never larger than the slide itself */
|
||||||
|
.reveal img,
|
||||||
|
.reveal video,
|
||||||
|
.reveal iframe {
|
||||||
|
max-width: 95%;
|
||||||
|
max-height: 95%; }
|
||||||
|
|
||||||
|
.reveal strong,
|
||||||
|
.reveal b {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal em {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal ol,
|
||||||
|
.reveal dl,
|
||||||
|
.reveal ul {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: left;
|
||||||
|
margin: 0 0 0 1em; }
|
||||||
|
|
||||||
|
.reveal ol {
|
||||||
|
list-style-type: decimal; }
|
||||||
|
|
||||||
|
.reveal ul {
|
||||||
|
list-style-type: disc; }
|
||||||
|
|
||||||
|
.reveal ul ul {
|
||||||
|
list-style-type: square; }
|
||||||
|
|
||||||
|
.reveal ul ul ul {
|
||||||
|
list-style-type: circle; }
|
||||||
|
|
||||||
|
.reveal ul ul,
|
||||||
|
.reveal ul ol,
|
||||||
|
.reveal ol ol,
|
||||||
|
.reveal ol ul {
|
||||||
|
display: block;
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal dt {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal dd {
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal q,
|
||||||
|
.reveal blockquote {
|
||||||
|
quotes: none; }
|
||||||
|
|
||||||
|
.reveal blockquote {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 70%;
|
||||||
|
margin: 5px auto;
|
||||||
|
padding: 5px;
|
||||||
|
font-style: italic;
|
||||||
|
background: rgba(255, 255, 255, 0.05);
|
||||||
|
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
.reveal blockquote p:first-child,
|
||||||
|
.reveal blockquote p:last-child {
|
||||||
|
display: inline-block; }
|
||||||
|
|
||||||
|
.reveal q {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal pre {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 90%;
|
||||||
|
margin: 15px auto;
|
||||||
|
text-align: left;
|
||||||
|
font-size: 0.55em;
|
||||||
|
font-family: monospace;
|
||||||
|
line-height: 1.2em;
|
||||||
|
word-wrap: break-word;
|
||||||
|
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
|
||||||
|
|
||||||
|
.reveal code {
|
||||||
|
font-family: monospace; }
|
||||||
|
|
||||||
|
.reveal pre code {
|
||||||
|
display: block;
|
||||||
|
padding: 5px;
|
||||||
|
overflow: auto;
|
||||||
|
max-height: 400px;
|
||||||
|
word-wrap: normal;
|
||||||
|
background: #3F3F3F;
|
||||||
|
color: #DCDCDC; }
|
||||||
|
|
||||||
|
.reveal table {
|
||||||
|
margin: auto;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0; }
|
||||||
|
|
||||||
|
.reveal table th {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal table th,
|
||||||
|
.reveal table td {
|
||||||
|
text-align: left;
|
||||||
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
||||||
|
border-bottom: 1px solid; }
|
||||||
|
|
||||||
|
.reveal table tr:last-child td {
|
||||||
|
border-bottom: none; }
|
||||||
|
|
||||||
|
.reveal sup {
|
||||||
|
vertical-align: super; }
|
||||||
|
|
||||||
|
.reveal sub {
|
||||||
|
vertical-align: sub; }
|
||||||
|
|
||||||
|
.reveal small {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 0.6em;
|
||||||
|
line-height: 1.2em;
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
|
.reveal small * {
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* LINKS
|
* LINKS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
.reveal a:not(.image) {
|
.reveal a {
|
||||||
color: darkblue;
|
color: darkblue;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
-webkit-transition: color .15s ease;
|
-webkit-transition: color .15s ease;
|
||||||
-moz-transition: color .15s ease;
|
-moz-transition: color .15s ease;
|
||||||
-ms-transition: color .15s ease;
|
|
||||||
-o-transition: color .15s ease;
|
|
||||||
transition: color .15s ease; }
|
transition: color .15s ease; }
|
||||||
|
|
||||||
.reveal a:not(.image):hover {
|
.reveal a:hover {
|
||||||
color: #0000f1;
|
color: #0000f1;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
border: none; }
|
border: none; }
|
||||||
|
@ -74,12 +220,12 @@ body {
|
||||||
margin: 15px 0px;
|
margin: 15px 0px;
|
||||||
background: rgba(255, 255, 255, 0.12);
|
background: rgba(255, 255, 255, 0.12);
|
||||||
border: 4px solid black;
|
border: 4px solid black;
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
|
||||||
-webkit-transition: all .2s linear;
|
|
||||||
-moz-transition: all .2s linear;
|
.reveal a img {
|
||||||
-ms-transition: all .2s linear;
|
-webkit-transition: all .15s linear;
|
||||||
-o-transition: all .2s linear;
|
-moz-transition: all .15s linear;
|
||||||
transition: all .2s linear; }
|
transition: all .15s linear; }
|
||||||
|
|
||||||
.reveal a:hover img {
|
.reveal a:hover img {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
@ -127,8 +273,6 @@ body {
|
||||||
background: darkblue;
|
background: darkblue;
|
||||||
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
-o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
@import url(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic);
|
|
||||||
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
|
|
||||||
/**
|
/**
|
||||||
* Sky theme for reveal.js.
|
* Sky theme for reveal.js.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
||||||
*/
|
*/
|
||||||
.reveal a:not(.image) {
|
@import url(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic);
|
||||||
|
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
|
||||||
|
.reveal a {
|
||||||
line-height: 1.3em; }
|
line-height: 1.3em; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
|
@ -33,6 +33,11 @@ body {
|
||||||
background: #134674;
|
background: #134674;
|
||||||
text-shadow: none; }
|
text-shadow: none; }
|
||||||
|
|
||||||
|
.reveal .slides > section,
|
||||||
|
.reveal .slides > section > section {
|
||||||
|
line-height: 1.2em;
|
||||||
|
font-weight: inherit; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* HEADERS
|
* HEADERS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -45,27 +50,168 @@ body {
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px 0;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-family: "Quicksand", sans-serif;
|
font-family: "Quicksand", sans-serif;
|
||||||
line-height: 0.9em;
|
line-height: 1em;
|
||||||
letter-spacing: -0.08em;
|
letter-spacing: -0.08em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-shadow: none; }
|
text-shadow: none;
|
||||||
|
word-wrap: break-word; }
|
||||||
|
|
||||||
|
.reveal h1 {
|
||||||
|
font-size: 3.77em; }
|
||||||
|
|
||||||
|
.reveal h2 {
|
||||||
|
font-size: 2.11em; }
|
||||||
|
|
||||||
|
.reveal h3 {
|
||||||
|
font-size: 1.55em; }
|
||||||
|
|
||||||
|
.reveal h4 {
|
||||||
|
font-size: 1em; }
|
||||||
|
|
||||||
.reveal h1 {
|
.reveal h1 {
|
||||||
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
|
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
/*********************************************
|
||||||
|
* OTHER
|
||||||
|
*********************************************/
|
||||||
|
.reveal p {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.2em; }
|
||||||
|
|
||||||
|
/* Ensure certain elements are never larger than the slide itself */
|
||||||
|
.reveal img,
|
||||||
|
.reveal video,
|
||||||
|
.reveal iframe {
|
||||||
|
max-width: 95%;
|
||||||
|
max-height: 95%; }
|
||||||
|
|
||||||
|
.reveal strong,
|
||||||
|
.reveal b {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal em {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal ol,
|
||||||
|
.reveal dl,
|
||||||
|
.reveal ul {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: left;
|
||||||
|
margin: 0 0 0 1em; }
|
||||||
|
|
||||||
|
.reveal ol {
|
||||||
|
list-style-type: decimal; }
|
||||||
|
|
||||||
|
.reveal ul {
|
||||||
|
list-style-type: disc; }
|
||||||
|
|
||||||
|
.reveal ul ul {
|
||||||
|
list-style-type: square; }
|
||||||
|
|
||||||
|
.reveal ul ul ul {
|
||||||
|
list-style-type: circle; }
|
||||||
|
|
||||||
|
.reveal ul ul,
|
||||||
|
.reveal ul ol,
|
||||||
|
.reveal ol ol,
|
||||||
|
.reveal ol ul {
|
||||||
|
display: block;
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal dt {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal dd {
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal q,
|
||||||
|
.reveal blockquote {
|
||||||
|
quotes: none; }
|
||||||
|
|
||||||
|
.reveal blockquote {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 70%;
|
||||||
|
margin: 5px auto;
|
||||||
|
padding: 5px;
|
||||||
|
font-style: italic;
|
||||||
|
background: rgba(255, 255, 255, 0.05);
|
||||||
|
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
.reveal blockquote p:first-child,
|
||||||
|
.reveal blockquote p:last-child {
|
||||||
|
display: inline-block; }
|
||||||
|
|
||||||
|
.reveal q {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal pre {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 90%;
|
||||||
|
margin: 15px auto;
|
||||||
|
text-align: left;
|
||||||
|
font-size: 0.55em;
|
||||||
|
font-family: monospace;
|
||||||
|
line-height: 1.2em;
|
||||||
|
word-wrap: break-word;
|
||||||
|
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
|
||||||
|
|
||||||
|
.reveal code {
|
||||||
|
font-family: monospace; }
|
||||||
|
|
||||||
|
.reveal pre code {
|
||||||
|
display: block;
|
||||||
|
padding: 5px;
|
||||||
|
overflow: auto;
|
||||||
|
max-height: 400px;
|
||||||
|
word-wrap: normal;
|
||||||
|
background: #3F3F3F;
|
||||||
|
color: #DCDCDC; }
|
||||||
|
|
||||||
|
.reveal table {
|
||||||
|
margin: auto;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0; }
|
||||||
|
|
||||||
|
.reveal table th {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal table th,
|
||||||
|
.reveal table td {
|
||||||
|
text-align: left;
|
||||||
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
||||||
|
border-bottom: 1px solid; }
|
||||||
|
|
||||||
|
.reveal table tr:last-child td {
|
||||||
|
border-bottom: none; }
|
||||||
|
|
||||||
|
.reveal sup {
|
||||||
|
vertical-align: super; }
|
||||||
|
|
||||||
|
.reveal sub {
|
||||||
|
vertical-align: sub; }
|
||||||
|
|
||||||
|
.reveal small {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 0.6em;
|
||||||
|
line-height: 1.2em;
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
|
.reveal small * {
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* LINKS
|
* LINKS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
.reveal a:not(.image) {
|
.reveal a {
|
||||||
color: #3b759e;
|
color: #3b759e;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
-webkit-transition: color .15s ease;
|
-webkit-transition: color .15s ease;
|
||||||
-moz-transition: color .15s ease;
|
-moz-transition: color .15s ease;
|
||||||
-ms-transition: color .15s ease;
|
|
||||||
-o-transition: color .15s ease;
|
|
||||||
transition: color .15s ease; }
|
transition: color .15s ease; }
|
||||||
|
|
||||||
.reveal a:not(.image):hover {
|
.reveal a:hover {
|
||||||
color: #74a7cb;
|
color: #74a7cb;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
border: none; }
|
border: none; }
|
||||||
|
@ -81,12 +227,12 @@ body {
|
||||||
margin: 15px 0px;
|
margin: 15px 0px;
|
||||||
background: rgba(255, 255, 255, 0.12);
|
background: rgba(255, 255, 255, 0.12);
|
||||||
border: 4px solid #333333;
|
border: 4px solid #333333;
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
|
||||||
-webkit-transition: all .2s linear;
|
|
||||||
-moz-transition: all .2s linear;
|
.reveal a img {
|
||||||
-ms-transition: all .2s linear;
|
-webkit-transition: all .15s linear;
|
||||||
-o-transition: all .2s linear;
|
-moz-transition: all .15s linear;
|
||||||
transition: all .2s linear; }
|
transition: all .15s linear; }
|
||||||
|
|
||||||
.reveal a:hover img {
|
.reveal a:hover img {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
@ -134,8 +280,6 @@ body {
|
||||||
background: #3b759e;
|
background: #3b759e;
|
||||||
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
-o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
|
|
|
@ -1,15 +1,14 @@
|
||||||
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
|
||||||
/**
|
/**
|
||||||
* Solarized Light theme for reveal.js.
|
* Solarized Light theme for reveal.js.
|
||||||
* Author: Achim Staebler
|
* Author: Achim Staebler
|
||||||
*/
|
*/
|
||||||
|
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'League Gothic';
|
font-family: 'League Gothic';
|
||||||
src: url("../../lib/font/league_gothic-webfont.eot");
|
src: url("../../lib/font/league_gothic-webfont.eot");
|
||||||
src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
|
src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal; }
|
font-style: normal; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Solarized colors by Ethan Schoonover
|
* Solarized colors by Ethan Schoonover
|
||||||
*/
|
*/
|
||||||
|
@ -36,6 +35,11 @@ body {
|
||||||
background: #d33682;
|
background: #d33682;
|
||||||
text-shadow: none; }
|
text-shadow: none; }
|
||||||
|
|
||||||
|
.reveal .slides > section,
|
||||||
|
.reveal .slides > section > section {
|
||||||
|
line-height: 1.2em;
|
||||||
|
font-weight: inherit; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* HEADERS
|
* HEADERS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -48,27 +52,168 @@ body {
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px 0;
|
||||||
color: #586e75;
|
color: #586e75;
|
||||||
font-family: "League Gothic", Impact, sans-serif;
|
font-family: "League Gothic", Impact, sans-serif;
|
||||||
line-height: 0.9em;
|
line-height: 1em;
|
||||||
letter-spacing: 0.02em;
|
letter-spacing: 0.02em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-shadow: none; }
|
text-shadow: none;
|
||||||
|
word-wrap: break-word; }
|
||||||
|
|
||||||
|
.reveal h1 {
|
||||||
|
font-size: 3.77em; }
|
||||||
|
|
||||||
|
.reveal h2 {
|
||||||
|
font-size: 2.11em; }
|
||||||
|
|
||||||
|
.reveal h3 {
|
||||||
|
font-size: 1.55em; }
|
||||||
|
|
||||||
|
.reveal h4 {
|
||||||
|
font-size: 1em; }
|
||||||
|
|
||||||
.reveal h1 {
|
.reveal h1 {
|
||||||
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
|
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
/*********************************************
|
||||||
|
* OTHER
|
||||||
|
*********************************************/
|
||||||
|
.reveal p {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.2em; }
|
||||||
|
|
||||||
|
/* Ensure certain elements are never larger than the slide itself */
|
||||||
|
.reveal img,
|
||||||
|
.reveal video,
|
||||||
|
.reveal iframe {
|
||||||
|
max-width: 95%;
|
||||||
|
max-height: 95%; }
|
||||||
|
|
||||||
|
.reveal strong,
|
||||||
|
.reveal b {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal em {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal ol,
|
||||||
|
.reveal dl,
|
||||||
|
.reveal ul {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: left;
|
||||||
|
margin: 0 0 0 1em; }
|
||||||
|
|
||||||
|
.reveal ol {
|
||||||
|
list-style-type: decimal; }
|
||||||
|
|
||||||
|
.reveal ul {
|
||||||
|
list-style-type: disc; }
|
||||||
|
|
||||||
|
.reveal ul ul {
|
||||||
|
list-style-type: square; }
|
||||||
|
|
||||||
|
.reveal ul ul ul {
|
||||||
|
list-style-type: circle; }
|
||||||
|
|
||||||
|
.reveal ul ul,
|
||||||
|
.reveal ul ol,
|
||||||
|
.reveal ol ol,
|
||||||
|
.reveal ol ul {
|
||||||
|
display: block;
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal dt {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal dd {
|
||||||
|
margin-left: 40px; }
|
||||||
|
|
||||||
|
.reveal q,
|
||||||
|
.reveal blockquote {
|
||||||
|
quotes: none; }
|
||||||
|
|
||||||
|
.reveal blockquote {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 70%;
|
||||||
|
margin: 5px auto;
|
||||||
|
padding: 5px;
|
||||||
|
font-style: italic;
|
||||||
|
background: rgba(255, 255, 255, 0.05);
|
||||||
|
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
|
||||||
|
|
||||||
|
.reveal blockquote p:first-child,
|
||||||
|
.reveal blockquote p:last-child {
|
||||||
|
display: inline-block; }
|
||||||
|
|
||||||
|
.reveal q {
|
||||||
|
font-style: italic; }
|
||||||
|
|
||||||
|
.reveal pre {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 90%;
|
||||||
|
margin: 15px auto;
|
||||||
|
text-align: left;
|
||||||
|
font-size: 0.55em;
|
||||||
|
font-family: monospace;
|
||||||
|
line-height: 1.2em;
|
||||||
|
word-wrap: break-word;
|
||||||
|
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
|
||||||
|
|
||||||
|
.reveal code {
|
||||||
|
font-family: monospace; }
|
||||||
|
|
||||||
|
.reveal pre code {
|
||||||
|
display: block;
|
||||||
|
padding: 5px;
|
||||||
|
overflow: auto;
|
||||||
|
max-height: 400px;
|
||||||
|
word-wrap: normal;
|
||||||
|
background: #3F3F3F;
|
||||||
|
color: #DCDCDC; }
|
||||||
|
|
||||||
|
.reveal table {
|
||||||
|
margin: auto;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0; }
|
||||||
|
|
||||||
|
.reveal table th {
|
||||||
|
font-weight: bold; }
|
||||||
|
|
||||||
|
.reveal table th,
|
||||||
|
.reveal table td {
|
||||||
|
text-align: left;
|
||||||
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
||||||
|
border-bottom: 1px solid; }
|
||||||
|
|
||||||
|
.reveal table tr:last-child td {
|
||||||
|
border-bottom: none; }
|
||||||
|
|
||||||
|
.reveal sup {
|
||||||
|
vertical-align: super; }
|
||||||
|
|
||||||
|
.reveal sub {
|
||||||
|
vertical-align: sub; }
|
||||||
|
|
||||||
|
.reveal small {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 0.6em;
|
||||||
|
line-height: 1.2em;
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
|
.reveal small * {
|
||||||
|
vertical-align: top; }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* LINKS
|
* LINKS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
.reveal a:not(.image) {
|
.reveal a {
|
||||||
color: #268bd2;
|
color: #268bd2;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
-webkit-transition: color .15s ease;
|
-webkit-transition: color .15s ease;
|
||||||
-moz-transition: color .15s ease;
|
-moz-transition: color .15s ease;
|
||||||
-ms-transition: color .15s ease;
|
|
||||||
-o-transition: color .15s ease;
|
|
||||||
transition: color .15s ease; }
|
transition: color .15s ease; }
|
||||||
|
|
||||||
.reveal a:not(.image):hover {
|
.reveal a:hover {
|
||||||
color: #78b9e6;
|
color: #78b9e6;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
border: none; }
|
border: none; }
|
||||||
|
@ -84,12 +229,12 @@ body {
|
||||||
margin: 15px 0px;
|
margin: 15px 0px;
|
||||||
background: rgba(255, 255, 255, 0.12);
|
background: rgba(255, 255, 255, 0.12);
|
||||||
border: 4px solid #657b83;
|
border: 4px solid #657b83;
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
|
||||||
-webkit-transition: all .2s linear;
|
|
||||||
-moz-transition: all .2s linear;
|
.reveal a img {
|
||||||
-ms-transition: all .2s linear;
|
-webkit-transition: all .15s linear;
|
||||||
-o-transition: all .2s linear;
|
-moz-transition: all .15s linear;
|
||||||
transition: all .2s linear; }
|
transition: all .15s linear; }
|
||||||
|
|
||||||
.reveal a:hover img {
|
.reveal a:hover img {
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
@ -137,8 +282,6 @@ body {
|
||||||
background: #268bd2;
|
background: #268bd2;
|
||||||
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
||||||
-ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
-o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
|
||||||
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
|
|
|
@ -70,13 +70,13 @@ $selectionColor: #fff;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal a:not(.image),
|
.reveal a,
|
||||||
.reveal a:not(.image):hover {
|
.reveal a:hover {
|
||||||
text-shadow: 2px 2px 2px #000;
|
text-shadow: 2px 2px 2px #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal small a:not(.image),
|
.reveal small a,
|
||||||
.reveal small a:not(.image):hover {
|
.reveal small a:hover {
|
||||||
text-shadow: 1px 1px 1px #000;
|
text-shadow: 1px 1px 1px #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ $linkColor: #51483D;
|
||||||
$linkColorHover: lighten( $linkColor, 20% );
|
$linkColorHover: lighten( $linkColor, 20% );
|
||||||
$selectionBackgroundColor: #26351C;
|
$selectionBackgroundColor: #26351C;
|
||||||
|
|
||||||
.reveal a:not(.image) {
|
.reveal a {
|
||||||
line-height: 1.3em;
|
line-height: 1.3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ $linkColorHover: lighten( $linkColor, 20% );
|
||||||
$selectionBackgroundColor: #134674;
|
$selectionBackgroundColor: #134674;
|
||||||
|
|
||||||
// Fix links so they are not cut off
|
// Fix links so they are not cut off
|
||||||
.reveal a:not(.image) {
|
.reveal a {
|
||||||
line-height: 1.3em;
|
line-height: 1.3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ $mainColor: #eee;
|
||||||
$headingMargin: 0 0 20px 0;
|
$headingMargin: 0 0 20px 0;
|
||||||
$headingFont: 'League Gothic', Impact, sans-serif;
|
$headingFont: 'League Gothic', Impact, sans-serif;
|
||||||
$headingColor: #eee;
|
$headingColor: #eee;
|
||||||
$headingLineHeight: 0.9em;
|
$headingLineHeight: 1em;
|
||||||
$headingLetterSpacing: 0.02em;
|
$headingLetterSpacing: 0.02em;
|
||||||
$headingTextTransform: uppercase;
|
$headingTextTransform: uppercase;
|
||||||
$headingTextShadow: 0px 0px 6px rgba(0,0,0,0.2);
|
$headingTextShadow: 0px 0px 6px rgba(0,0,0,0.2);
|
||||||
|
|
|
@ -23,6 +23,12 @@ body {
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.reveal .slides>section,
|
||||||
|
.reveal .slides>section>section {
|
||||||
|
line-height: 1.2em;
|
||||||
|
font-weight: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* HEADERS
|
* HEADERS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
@ -42,28 +48,193 @@ body {
|
||||||
|
|
||||||
text-transform: $headingTextTransform;
|
text-transform: $headingTextTransform;
|
||||||
text-shadow: $headingTextShadow;
|
text-shadow: $headingTextShadow;
|
||||||
|
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.reveal h1 { font-size: 3.77em; }
|
||||||
|
.reveal h2 { font-size: 2.11em; }
|
||||||
|
.reveal h3 { font-size: 1.55em; }
|
||||||
|
.reveal h4 { font-size: 1em; }
|
||||||
|
|
||||||
.reveal h1 {
|
.reveal h1 {
|
||||||
text-shadow: $heading1TextShadow;
|
text-shadow: $heading1TextShadow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*********************************************
|
||||||
|
* OTHER
|
||||||
|
*********************************************/
|
||||||
|
|
||||||
|
.reveal p {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
line-height: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Ensure certain elements are never larger than the slide itself */
|
||||||
|
.reveal img,
|
||||||
|
.reveal video,
|
||||||
|
.reveal iframe {
|
||||||
|
max-width: 95%;
|
||||||
|
max-height: 95%;
|
||||||
|
}
|
||||||
|
.reveal strong,
|
||||||
|
.reveal b {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal em {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal ol,
|
||||||
|
.reveal dl,
|
||||||
|
.reveal ul {
|
||||||
|
display: inline-block;
|
||||||
|
|
||||||
|
text-align: left;
|
||||||
|
margin: 0 0 0 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal ol {
|
||||||
|
list-style-type: decimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal ul {
|
||||||
|
list-style-type: disc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal ul ul {
|
||||||
|
list-style-type: square;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal ul ul ul {
|
||||||
|
list-style-type: circle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal ul ul,
|
||||||
|
.reveal ul ol,
|
||||||
|
.reveal ol ol,
|
||||||
|
.reveal ol ul {
|
||||||
|
display: block;
|
||||||
|
margin-left: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal dt {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal dd {
|
||||||
|
margin-left: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal q,
|
||||||
|
.reveal blockquote {
|
||||||
|
quotes: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal blockquote {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 70%;
|
||||||
|
margin: 5px auto;
|
||||||
|
padding: 5px;
|
||||||
|
|
||||||
|
font-style: italic;
|
||||||
|
background: rgba(255, 255, 255, 0.05);
|
||||||
|
box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
|
||||||
|
}
|
||||||
|
.reveal blockquote p:first-child,
|
||||||
|
.reveal blockquote p:last-child {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal q {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal pre {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
width: 90%;
|
||||||
|
margin: 15px auto;
|
||||||
|
|
||||||
|
text-align: left;
|
||||||
|
font-size: 0.55em;
|
||||||
|
font-family: monospace;
|
||||||
|
line-height: 1.2em;
|
||||||
|
|
||||||
|
word-wrap: break-word;
|
||||||
|
|
||||||
|
box-shadow: 0px 0px 6px rgba(0,0,0,0.3);
|
||||||
|
}
|
||||||
|
.reveal code {
|
||||||
|
font-family: monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal pre code {
|
||||||
|
display: block;
|
||||||
|
padding: 5px;
|
||||||
|
overflow: auto;
|
||||||
|
max-height: 400px;
|
||||||
|
word-wrap: normal;
|
||||||
|
background: #3F3F3F;
|
||||||
|
color: #DCDCDC;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal table {
|
||||||
|
margin: auto;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal table th {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal table th,
|
||||||
|
.reveal table td {
|
||||||
|
text-align: left;
|
||||||
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
||||||
|
border-bottom: 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal table tr:last-child td {
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal sup {
|
||||||
|
vertical-align: super;
|
||||||
|
}
|
||||||
|
.reveal sub {
|
||||||
|
vertical-align: sub;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal small {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 0.6em;
|
||||||
|
line-height: 1.2em;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal small * {
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*********************************************
|
/*********************************************
|
||||||
* LINKS
|
* LINKS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
|
||||||
.reveal a:not(.image) {
|
.reveal a {
|
||||||
color: $linkColor;
|
color: $linkColor;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
-webkit-transition: color .15s ease;
|
-webkit-transition: color .15s ease;
|
||||||
-moz-transition: color .15s ease;
|
-moz-transition: color .15s ease;
|
||||||
-ms-transition: color .15s ease;
|
|
||||||
-o-transition: color .15s ease;
|
|
||||||
transition: color .15s ease;
|
transition: color .15s ease;
|
||||||
}
|
}
|
||||||
.reveal a:not(.image):hover {
|
.reveal a:hover {
|
||||||
color: $linkColorHover;
|
color: $linkColorHover;
|
||||||
|
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
|
@ -86,12 +257,12 @@ body {
|
||||||
border: 4px solid $mainColor;
|
border: 4px solid $mainColor;
|
||||||
|
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
-webkit-transition: all .2s linear;
|
.reveal a img {
|
||||||
-moz-transition: all .2s linear;
|
-webkit-transition: all .15s linear;
|
||||||
-ms-transition: all .2s linear;
|
-moz-transition: all .15s linear;
|
||||||
-o-transition: all .2s linear;
|
transition: all .15s linear;
|
||||||
transition: all .2s linear;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal a:hover img {
|
.reveal a:hover img {
|
||||||
|
@ -155,8 +326,6 @@ body {
|
||||||
|
|
||||||
-webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
-webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
||||||
-moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
-moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
||||||
-ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
|
||||||
-o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
|
||||||
transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
84
index.html
84
index.html
|
@ -12,23 +12,21 @@
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
|
||||||
|
|
||||||
<link rel="stylesheet" href="css/reveal.min.css">
|
<link rel="stylesheet" href="css/reveal.css">
|
||||||
<link rel="stylesheet" href="css/theme/default.css" id="theme">
|
<link rel="stylesheet" href="css/theme/default.css" id="theme">
|
||||||
|
|
||||||
<!-- For syntax highlighting -->
|
<!-- For syntax highlighting -->
|
||||||
<link rel="stylesheet" href="lib/css/zenburn.css">
|
<link rel="stylesheet" href="lib/css/zenburn.css">
|
||||||
|
|
||||||
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
|
<!-- Include the appropriate print stylesheet -->
|
||||||
<script>
|
<script>
|
||||||
if( window.location.search.match( /print-pdf/gi ) ) {
|
|
||||||
var link = document.createElement( 'link' );
|
var link = document.createElement( 'link' );
|
||||||
link.rel = 'stylesheet';
|
link.rel = 'stylesheet';
|
||||||
link.type = 'text/css';
|
link.type = 'text/css';
|
||||||
link.href = 'css/print/pdf.css';
|
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
|
||||||
document.getElementsByTagName( 'head' )[0].appendChild( link );
|
document.getElementsByTagName( 'head' )[0].appendChild( link );
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
|
@ -70,8 +68,8 @@
|
||||||
Slides can be nested inside of other slides,
|
Slides can be nested inside of other slides,
|
||||||
try pressing <a href="#" class="navigate-down">down</a>.
|
try pressing <a href="#" class="navigate-down">down</a>.
|
||||||
</p>
|
</p>
|
||||||
<a href="#" class="image navigate-down">
|
<a href="#" class="navigate-down">
|
||||||
<img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
|
<img width="178" height="238" data-src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
|
||||||
</a>
|
</a>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
|
@ -82,14 +80,14 @@
|
||||||
<h2>Basement Level 2</h2>
|
<h2>Basement Level 2</h2>
|
||||||
<p>Cornify</p>
|
<p>Cornify</p>
|
||||||
<a class="test" href="http://cornify.com">
|
<a class="test" href="http://cornify.com">
|
||||||
<img width="280" height="326" src="https://s3.amazonaws.com/hakim-static/reveal-js/cornify.gif" alt="Unicorn">
|
<img width="280" height="326" data-src="https://s3.amazonaws.com/hakim-static/reveal-js/cornify.gif" alt="Unicorn">
|
||||||
</a>
|
</a>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<h2>Basement Level 3</h2>
|
<h2>Basement Level 3</h2>
|
||||||
<p>That's it, time to go back up.</p>
|
<p>That's it, time to go back up.</p>
|
||||||
<a href="#/2" class="image">
|
<a href="#/2">
|
||||||
<img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);">
|
<img width="178" height="238" data-src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);">
|
||||||
</a>
|
</a>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
@ -97,7 +95,7 @@
|
||||||
<section>
|
<section>
|
||||||
<h2>Slides</h2>
|
<h2>Slides</h2>
|
||||||
<p>
|
<p>
|
||||||
Not a coder? No problem. There's a fully-featured visual editor for authoring these, try it out at <a href="http://slid.es" target="_blank">http://slid.es</a>.
|
Not a coder? No problem. There's a fully-featured visual editor for authoring these, try it out at <a href="http://slides.com" target="_blank">http://slides.com</a>.
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -137,6 +135,36 @@
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h2>Superb Tables</h2>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Item</th>
|
||||||
|
<th>Value</th>
|
||||||
|
<th>Quantity</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>Apples</td>
|
||||||
|
<td>$1</td>
|
||||||
|
<td>7</td>
|
||||||
|
<tr>
|
||||||
|
<tr>
|
||||||
|
<td>Lemonade</td>
|
||||||
|
<td>$2</td>
|
||||||
|
<td>18</td>
|
||||||
|
<tr>
|
||||||
|
<tr>
|
||||||
|
<td>Bread</td>
|
||||||
|
<td>$3</td>
|
||||||
|
<td>2</td>
|
||||||
|
<tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section data-markdown>
|
<section data-markdown>
|
||||||
<script type="text/template">
|
<script type="text/template">
|
||||||
## Markdown support
|
## Markdown support
|
||||||
|
@ -158,14 +186,12 @@
|
||||||
<h2>Transition Styles</h2>
|
<h2>Transition Styles</h2>
|
||||||
<p>
|
<p>
|
||||||
You can select from different transitions, like: <br>
|
You can select from different transitions, like: <br>
|
||||||
<a href="?transition=cube#/transitions">Cube</a> -
|
<a href="?#/transitions">Default</a> -
|
||||||
<a href="?transition=page#/transitions">Page</a> -
|
|
||||||
<a href="?transition=concave#/transitions">Concave</a> -
|
|
||||||
<a href="?transition=zoom#/transitions">Zoom</a> -
|
|
||||||
<a href="?transition=linear#/transitions">Linear</a> -
|
|
||||||
<a href="?transition=fade#/transitions">Fade</a> -
|
|
||||||
<a href="?transition=none#/transitions">None</a> -
|
<a href="?transition=none#/transitions">None</a> -
|
||||||
<a href="?#/transitions">Default</a>
|
<a href="?transition=fade#/transitions">Fade</a> -
|
||||||
|
<a href="?transition=slide#/transitions">Slide</a> -
|
||||||
|
<a href="?transition=concave#/transitions">Concave</a> -
|
||||||
|
<a href="?transition=zoom#/transitions">Zoom</a>
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -203,7 +229,7 @@
|
||||||
<p>
|
<p>
|
||||||
Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
|
Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
|
||||||
</p>
|
</p>
|
||||||
<pre><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
|
<pre><code class="javascript" data-trim contenteditable style="font-size: 18px;">
|
||||||
Reveal.addEventListener( 'customevent', function() {
|
Reveal.addEventListener( 'customevent', function() {
|
||||||
console.log( '"customevent" has fired' );
|
console.log( '"customevent" has fired' );
|
||||||
} );
|
} );
|
||||||
|
@ -216,8 +242,8 @@ Reveal.addEventListener( 'customevent', function() {
|
||||||
<p>
|
<p>
|
||||||
Set <code>data-background="#007777"</code> on a slide to change the full page background to the given color. All CSS color formats are supported.
|
Set <code>data-background="#007777"</code> on a slide to change the full page background to the given color. All CSS color formats are supported.
|
||||||
</p>
|
</p>
|
||||||
<a href="#" class="image navigate-down">
|
<a href="#" class="navigate-down">
|
||||||
<img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
|
<img width="178" height="238" data-src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
|
||||||
</a>
|
</a>
|
||||||
</section>
|
</section>
|
||||||
<section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png">
|
<section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png">
|
||||||
|
@ -230,14 +256,14 @@ Reveal.addEventListener( 'customevent', function() {
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section data-transition="linear" data-background="#4d7e65" data-background-transition="slide">
|
<section data-transition="slide" data-background="#4d7e65" data-background-transition="slide">
|
||||||
<h2>Background Transitions</h2>
|
<h2>Background Transitions</h2>
|
||||||
<p>
|
<p>
|
||||||
Pass reveal.js the <code>backgroundTransition: 'slide'</code> config argument to make backgrounds slide rather than fade.
|
Pass reveal.js the <code>backgroundTransition: 'slide'</code> config argument to make backgrounds slide rather than fade.
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section data-transition="linear" data-background="#8c4738" data-background-transition="slide">
|
<section data-transition="slide" data-background="#8c4738" data-background-transition="slide">
|
||||||
<h2>Background Transition Override</h2>
|
<h2>Background Transition Override</h2>
|
||||||
<p>
|
<p>
|
||||||
You can override background transitions per slide by using <code>data-background-transition="slide"</code>.
|
You can override background transitions per slide by using <code>data-background-transition="slide"</code>.
|
||||||
|
@ -317,8 +343,8 @@ function linkify( selector ) {
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Spectacular image!</h2>
|
<h2>Spectacular image!</h2>
|
||||||
<a class="image" href="http://lab.hakim.se/meny/" target="_blank">
|
<a href="http://lab.hakim.se/meny/" target="_blank">
|
||||||
<img width="320" height="299" src="http://s3.amazonaws.com/hakim-static/portfolio/images/meny.png" alt="Meny">
|
<img width="320" height="299" data-src="http://s3.amazonaws.com/hakim-static/portfolio/images/meny.png" alt="Meny">
|
||||||
</a>
|
</a>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -358,7 +384,7 @@ function linkify( selector ) {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="lib/js/head.min.js"></script>
|
<script src="lib/js/head.min.js"></script>
|
||||||
<script src="js/reveal.min.js"></script>
|
<script src="js/reveal.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
@ -371,7 +397,7 @@ function linkify( selector ) {
|
||||||
center: true,
|
center: true,
|
||||||
|
|
||||||
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
|
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
|
||||||
transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
|
transition: Reveal.getQueryHash().transition || 'default', // none/fade/slide/convex/concave/zoom
|
||||||
|
|
||||||
// Parallax scrolling
|
// Parallax scrolling
|
||||||
// parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg',
|
// parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg',
|
||||||
|
@ -382,7 +408,7 @@ function linkify( selector ) {
|
||||||
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
|
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
|
||||||
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
||||||
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
||||||
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
|
{ src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
|
||||||
{ src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
|
{ src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
|
||||||
{ src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
|
{ src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
|
||||||
]
|
]
|
||||||
|
|
1360
js/reveal.js
1360
js/reveal.js
File diff suppressed because it is too large
Load diff
9
js/reveal.min.js
vendored
9
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -5,110 +5,113 @@ based on dark.css by Ivan Sagalaev
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
pre code {
|
.hljs {
|
||||||
display: block; padding: 0.5em;
|
display: block; padding: 0.5em;
|
||||||
background: #3F3F3F;
|
background: #3F3F3F;
|
||||||
color: #DCDCDC;
|
color: #DCDCDC;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre .keyword,
|
.hljs-keyword,
|
||||||
pre .tag,
|
.hljs-tag,
|
||||||
pre .css .class,
|
.css .hljs-class,
|
||||||
pre .css .id,
|
.css .hljs-id,
|
||||||
pre .lisp .title,
|
.lisp .hljs-title,
|
||||||
pre .nginx .title,
|
.nginx .hljs-title,
|
||||||
pre .request,
|
.hljs-request,
|
||||||
pre .status,
|
.hljs-status,
|
||||||
pre .clojure .attribute {
|
.clojure .hljs-attribute {
|
||||||
color: #E3CEAB;
|
color: #E3CEAB;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre .django .template_tag,
|
.django .hljs-template_tag,
|
||||||
pre .django .variable,
|
.django .hljs-variable,
|
||||||
pre .django .filter .argument {
|
.django .hljs-filter .hljs-argument {
|
||||||
color: #DCDCDC;
|
color: #DCDCDC;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre .number,
|
.hljs-number,
|
||||||
pre .date {
|
.hljs-date {
|
||||||
color: #8CD0D3;
|
color: #8CD0D3;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre .dos .envvar,
|
.dos .hljs-envvar,
|
||||||
pre .dos .stream,
|
.dos .hljs-stream,
|
||||||
pre .variable,
|
.hljs-variable,
|
||||||
pre .apache .sqbracket {
|
.apache .hljs-sqbracket {
|
||||||
color: #EFDCBC;
|
color: #EFDCBC;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre .dos .flow,
|
.dos .hljs-flow,
|
||||||
pre .diff .change,
|
.diff .hljs-change,
|
||||||
pre .python .exception,
|
.python .exception,
|
||||||
pre .python .built_in,
|
.python .hljs-built_in,
|
||||||
pre .literal,
|
.hljs-literal,
|
||||||
pre .tex .special {
|
.tex .hljs-special {
|
||||||
color: #EFEFAF;
|
color: #EFEFAF;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre .diff .chunk,
|
.diff .hljs-chunk,
|
||||||
pre .subst {
|
.hljs-subst {
|
||||||
color: #8F8F8F;
|
color: #8F8F8F;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre .dos .keyword,
|
.dos .hljs-keyword,
|
||||||
pre .python .decorator,
|
.python .hljs-decorator,
|
||||||
pre .title,
|
.hljs-title,
|
||||||
pre .haskell .type,
|
.haskell .hljs-type,
|
||||||
pre .diff .header,
|
.diff .hljs-header,
|
||||||
pre .ruby .class .parent,
|
.ruby .hljs-class .hljs-parent,
|
||||||
pre .apache .tag,
|
.apache .hljs-tag,
|
||||||
pre .nginx .built_in,
|
.nginx .hljs-built_in,
|
||||||
pre .tex .command,
|
.tex .hljs-command,
|
||||||
pre .prompt {
|
.hljs-prompt {
|
||||||
color: #efef8f;
|
color: #efef8f;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre .dos .winutils,
|
.dos .hljs-winutils,
|
||||||
pre .ruby .symbol,
|
.ruby .hljs-symbol,
|
||||||
pre .ruby .symbol .string,
|
.ruby .hljs-symbol .hljs-string,
|
||||||
pre .ruby .string {
|
.ruby .hljs-string {
|
||||||
color: #DCA3A3;
|
color: #DCA3A3;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre .diff .deletion,
|
.diff .hljs-deletion,
|
||||||
pre .string,
|
.hljs-string,
|
||||||
pre .tag .value,
|
.hljs-tag .hljs-value,
|
||||||
pre .preprocessor,
|
.hljs-preprocessor,
|
||||||
pre .built_in,
|
.hljs-pragma,
|
||||||
pre .sql .aggregate,
|
.hljs-built_in,
|
||||||
pre .javadoc,
|
.sql .hljs-aggregate,
|
||||||
pre .smalltalk .class,
|
.hljs-javadoc,
|
||||||
pre .smalltalk .localvars,
|
.smalltalk .hljs-class,
|
||||||
pre .smalltalk .array,
|
.smalltalk .hljs-localvars,
|
||||||
pre .css .rules .value,
|
.smalltalk .hljs-array,
|
||||||
pre .attr_selector,
|
.css .hljs-rules .hljs-value,
|
||||||
pre .pseudo,
|
.hljs-attr_selector,
|
||||||
pre .apache .cbracket,
|
.hljs-pseudo,
|
||||||
pre .tex .formula {
|
.apache .hljs-cbracket,
|
||||||
|
.tex .hljs-formula,
|
||||||
|
.coffeescript .hljs-attribute {
|
||||||
color: #CC9393;
|
color: #CC9393;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre .shebang,
|
.hljs-shebang,
|
||||||
pre .diff .addition,
|
.diff .hljs-addition,
|
||||||
pre .comment,
|
.hljs-comment,
|
||||||
pre .java .annotation,
|
.java .hljs-annotation,
|
||||||
pre .template_comment,
|
.hljs-template_comment,
|
||||||
pre .pi,
|
.hljs-pi,
|
||||||
pre .doctype {
|
.hljs-doctype {
|
||||||
color: #7F9F7F;
|
color: #7F9F7F;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre .coffeescript .javascript,
|
.coffeescript .javascript,
|
||||||
pre .javascript .xml,
|
.javascript .xml,
|
||||||
pre .tex .formula,
|
.tex .hljs-formula,
|
||||||
pre .xml .javascript,
|
.xml .javascript,
|
||||||
pre .xml .vbscript,
|
.xml .vbscript,
|
||||||
pre .xml .css,
|
.xml .css,
|
||||||
pre .xml .cdata {
|
.xml .hljs-cdata {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "reveal.js",
|
"name": "reveal.js",
|
||||||
"version": "2.6.2",
|
"version": "3.0.0-dev",
|
||||||
"description": "The HTML Presentation Framework",
|
"description": "The HTML Presentation Framework",
|
||||||
"homepage": "http://lab.hakim.se/reveal-js",
|
"homepage": "http://lab.hakim.se/reveal-js",
|
||||||
"subdomain": "revealjs",
|
"subdomain": "revealjs",
|
||||||
|
@ -18,13 +18,13 @@
|
||||||
"url": "git://github.com/hakimel/reveal.js.git"
|
"url": "git://github.com/hakimel/reveal.js.git"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "~0.8.0"
|
"node": "~0.10.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"underscore": "~1.5.1",
|
"underscore": "~1.5.1",
|
||||||
"express": "~2.5.9",
|
"express": "~2.5.9",
|
||||||
"mustache": "~0.7.2",
|
"mustache": "~0.7.2",
|
||||||
"socket.io": "~0.9.13"
|
"socket.io": "~0.9.16"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt-contrib-qunit": "~0.2.2",
|
"grunt-contrib-qunit": "~0.2.2",
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -76,9 +76,11 @@ var b=right.criteria;if(a!==b){if(a>b||a===void 0)return 1;if(a<b||b===void 0)re
|
||||||
pointer.style.borderRadius = size - 5 + 'px';
|
pointer.style.borderRadius = size - 5 + 'px';
|
||||||
pointer.style.visibility = 'visible';
|
pointer.style.visibility = 'visible';
|
||||||
|
|
||||||
if( config.autoCenter ) {
|
|
||||||
tipPosition = frame.fingers[0].tipPosition;
|
tipPosition = frame.fingers[0].tipPosition;
|
||||||
|
|
||||||
|
if( config.autoCenter ) {
|
||||||
|
|
||||||
|
|
||||||
// Check whether the finger has entered the z range of the Leap Motion. Used for the autoCenter option.
|
// Check whether the finger has entered the z range of the Leap Motion. Used for the autoCenter option.
|
||||||
if( !entered ) {
|
if( !entered ) {
|
||||||
entered = true;
|
entered = true;
|
||||||
|
@ -144,7 +146,7 @@ var b=right.criteria;if(a!==b){if(a>b||a===void 0)return 1;if(a<b||b===void 0)re
|
||||||
// Two hand gestures
|
// Two hand gestures
|
||||||
else if( frame.hands.length === 2 ) {
|
else if( frame.hands.length === 2 ) {
|
||||||
// Upward two hand swipe gesture
|
// Upward two hand swipe gesture
|
||||||
if( gesture.direction[1] > 0 && gesture.type === 'swipe' ) {
|
if( gesture.type === 'swipe' && gesture.direction[1] > 0 ) {
|
||||||
Reveal.toggleOverview();
|
Reveal.toggleOverview();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
|
|
||||||
<!-- Use external markdown resource, separate slides by three newlines; vertical slides by two newlines -->
|
<!-- Use external markdown resource, separate slides by three newlines; vertical slides by two newlines -->
|
||||||
<section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n"></section>
|
<section data-markdown="example.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section>
|
||||||
|
|
||||||
<!-- Slides are separated by three dashes (quick 'n dirty regular expression) -->
|
<!-- Slides are separated by three dashes (quick 'n dirty regular expression) -->
|
||||||
<section data-markdown data-separator="---">
|
<section data-markdown data-separator="---">
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes -->
|
<!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes -->
|
||||||
<section data-markdown data-separator="^\n---\n$" data-vertical="^\n--\n$">
|
<section data-markdown data-separator="^\n---\n$" data-separator-vertical="^\n--\n$">
|
||||||
<script type="text/template">
|
<script type="text/template">
|
||||||
## Demo 2
|
## Demo 2
|
||||||
Slide 1.1
|
Slide 1.1
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
text = text.replace( new RegExp('\\n?\\t{' + leadingTabs + '}','g'), '\n' );
|
text = text.replace( new RegExp('\\n?\\t{' + leadingTabs + '}','g'), '\n' );
|
||||||
}
|
}
|
||||||
else if( leadingWs > 1 ) {
|
else if( leadingWs > 1 ) {
|
||||||
text = text.replace( new RegExp('\\n? {' + leadingWs + '}','g'), '\n' );
|
text = text.replace( new RegExp('\\n? {' + leadingWs + '}'), '\n' );
|
||||||
}
|
}
|
||||||
|
|
||||||
return text;
|
return text;
|
||||||
|
@ -219,12 +219,13 @@
|
||||||
|
|
||||||
xhr.onreadystatechange = function() {
|
xhr.onreadystatechange = function() {
|
||||||
if( xhr.readyState === 4 ) {
|
if( xhr.readyState === 4 ) {
|
||||||
if ( xhr.status >= 200 && xhr.status < 300 ) {
|
// file protocol yields status code 0 (useful for local debug, mobile applications etc.)
|
||||||
|
if ( ( xhr.status >= 200 && xhr.status < 300 ) || xhr.status === 0 ) {
|
||||||
|
|
||||||
section.outerHTML = slidify( xhr.responseText, {
|
section.outerHTML = slidify( xhr.responseText, {
|
||||||
separator: section.getAttribute( 'data-separator' ),
|
separator: section.getAttribute( 'data-separator' ),
|
||||||
verticalSeparator: section.getAttribute( 'data-vertical' ),
|
verticalSeparator: section.getAttribute( 'data-separator-vertical' ),
|
||||||
notesSeparator: section.getAttribute( 'data-notes' ),
|
notesSeparator: section.getAttribute( 'data-separator-notes' ),
|
||||||
attributes: getForwardedAttributes( section )
|
attributes: getForwardedAttributes( section )
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -251,12 +252,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else if( section.getAttribute( 'data-separator' ) || section.getAttribute( 'data-vertical' ) || section.getAttribute( 'data-notes' ) ) {
|
else if( section.getAttribute( 'data-separator' ) || section.getAttribute( 'data-separator-vertical' ) || section.getAttribute( 'data-separator-notes' ) ) {
|
||||||
|
|
||||||
section.outerHTML = slidify( getMarkdownFromSlide( section ), {
|
section.outerHTML = slidify( getMarkdownFromSlide( section ), {
|
||||||
separator: section.getAttribute( 'data-separator' ),
|
separator: section.getAttribute( 'data-separator' ),
|
||||||
verticalSeparator: section.getAttribute( 'data-vertical' ),
|
verticalSeparator: section.getAttribute( 'data-separator-vertical' ),
|
||||||
notesSeparator: section.getAttribute( 'data-notes' ),
|
notesSeparator: section.getAttribute( 'data-separator-notes' ),
|
||||||
attributes: getForwardedAttributes( section )
|
attributes: getForwardedAttributes( section )
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -1,57 +1,60 @@
|
||||||
(function() {
|
(function() {
|
||||||
|
|
||||||
// don't emit events from inside the previews themselves
|
// don't emit events from inside the previews themselves
|
||||||
if( window.location.search.match( /receiver/gi ) ) { return; }
|
if( window.location.search.match( /receiver/gi ) ) { return; }
|
||||||
|
|
||||||
var socket = io.connect(window.location.origin);
|
var socket = io.connect( window.location.origin ),
|
||||||
var socketId = Math.random().toString().slice(2);
|
socketId = Math.random().toString().slice( 2 );
|
||||||
|
|
||||||
console.log( 'View slide notes at ' + window.location.origin + '/notes/' + socketId );
|
console.log( 'View slide notes at ' + window.location.origin + '/notes/' + socketId );
|
||||||
|
|
||||||
window.open( window.location.origin + '/notes/' + socketId, 'notes-' + socketId );
|
window.open( window.location.origin + '/notes/' + socketId, 'notes-' + socketId );
|
||||||
|
|
||||||
// Fires when a fragment is shown
|
/**
|
||||||
Reveal.addEventListener( 'fragmentshown', function( event ) {
|
* Posts the current slide data to the notes window
|
||||||
var fragmentData = {
|
*/
|
||||||
fragment : 'next',
|
function post() {
|
||||||
socketId : socketId
|
|
||||||
|
var slideElement = Reveal.getCurrentSlide(),
|
||||||
|
notesElement = slideElement.querySelector( 'aside.notes' );
|
||||||
|
|
||||||
|
var messageData = {
|
||||||
|
notes: '',
|
||||||
|
markdown: false,
|
||||||
|
socketId: socketId,
|
||||||
|
state: Reveal.getState()
|
||||||
};
|
};
|
||||||
socket.emit('fragmentchanged', fragmentData);
|
|
||||||
} );
|
|
||||||
|
|
||||||
// Fires when a fragment is hidden
|
// Look for notes defined in a slide attribute
|
||||||
Reveal.addEventListener( 'fragmenthidden', function( event ) {
|
if( slideElement.hasAttribute( 'data-notes' ) ) {
|
||||||
var fragmentData = {
|
messageData.notes = slideElement.getAttribute( 'data-notes' );
|
||||||
fragment : 'previous',
|
|
||||||
socketId : socketId
|
|
||||||
};
|
|
||||||
socket.emit('fragmentchanged', fragmentData);
|
|
||||||
} );
|
|
||||||
|
|
||||||
// Fires when slide is changed
|
|
||||||
Reveal.addEventListener( 'slidechanged', function( event ) {
|
|
||||||
var nextindexh;
|
|
||||||
var nextindexv;
|
|
||||||
var slideElement = event.currentSlide;
|
|
||||||
|
|
||||||
if (slideElement.nextElementSibling && slideElement.parentNode.nodeName == 'SECTION') {
|
|
||||||
nextindexh = event.indexh;
|
|
||||||
nextindexv = event.indexv + 1;
|
|
||||||
} else {
|
|
||||||
nextindexh = event.indexh + 1;
|
|
||||||
nextindexv = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var notes = slideElement.querySelector('aside.notes');
|
// Look for notes defined in an aside element
|
||||||
var slideData = {
|
if( notesElement ) {
|
||||||
notes : notes ? notes.innerHTML : '',
|
messageData.notes = notesElement.innerHTML;
|
||||||
indexh : event.indexh,
|
messageData.markdown = typeof notesElement.getAttribute( 'data-markdown' ) === 'string';
|
||||||
indexv : event.indexv,
|
}
|
||||||
nextindexh : nextindexh,
|
|
||||||
nextindexv : nextindexv,
|
|
||||||
socketId : socketId,
|
|
||||||
markdown : notes ? typeof notes.getAttribute('data-markdown') === 'string' : false
|
|
||||||
|
|
||||||
};
|
socket.emit( 'statechanged', messageData );
|
||||||
|
|
||||||
socket.emit('slidechanged', slideData);
|
}
|
||||||
|
|
||||||
|
// When a new notes window connects, post our current state
|
||||||
|
socket.on( 'connect', function( data ) {
|
||||||
|
post();
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
// Monitor events that trigger a change in state
|
||||||
|
Reveal.addEventListener( 'slidechanged', post );
|
||||||
|
Reveal.addEventListener( 'fragmentshown', post );
|
||||||
|
Reveal.addEventListener( 'fragmenthidden', post );
|
||||||
|
Reveal.addEventListener( 'overviewhidden', post );
|
||||||
|
Reveal.addEventListener( 'overviewshown', post );
|
||||||
|
Reveal.addEventListener( 'paused', post );
|
||||||
|
Reveal.addEventListener( 'resumed', post );
|
||||||
|
|
||||||
|
// Post the initial state
|
||||||
|
post();
|
||||||
|
|
||||||
}());
|
}());
|
||||||
|
|
|
@ -15,33 +15,40 @@ var opts = {
|
||||||
};
|
};
|
||||||
|
|
||||||
io.sockets.on( 'connection', function( socket ) {
|
io.sockets.on( 'connection', function( socket ) {
|
||||||
socket.on('slidechanged', function(slideData) {
|
|
||||||
socket.broadcast.emit('slidedata', slideData);
|
socket.on( 'connect', function( data ) {
|
||||||
|
socket.broadcast.emit( 'connect', data );
|
||||||
});
|
});
|
||||||
socket.on('fragmentchanged', function(fragmentData) {
|
|
||||||
socket.broadcast.emit('fragmentdata', fragmentData);
|
socket.on( 'statechanged', function( data ) {
|
||||||
|
socket.broadcast.emit( 'statechanged', data );
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
app.configure( function() {
|
app.configure( function() {
|
||||||
|
|
||||||
[ 'css', 'js', 'images', 'plugin', 'lib' ].forEach( function( dir ) {
|
[ 'css', 'js', 'images', 'plugin', 'lib' ].forEach( function( dir ) {
|
||||||
app.use( '/' + dir, staticDir( opts.baseDir + dir ) );
|
app.use( '/' + dir, staticDir( opts.baseDir + dir ) );
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/", function(req, res) {
|
app.get('/', function( req, res ) {
|
||||||
|
|
||||||
res.writeHead( 200, { 'Content-Type': 'text/html' } );
|
res.writeHead( 200, { 'Content-Type': 'text/html' } );
|
||||||
fs.createReadStream( opts.baseDir + '/index.html' ).pipe( res );
|
fs.createReadStream( opts.baseDir + '/index.html' ).pipe( res );
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/notes/:socketId", function(req, res) {
|
app.get( '/notes/:socketId', function( req, res ) {
|
||||||
|
|
||||||
fs.readFile( opts.baseDir + 'plugin/notes-server/notes.html', function( err, data ) {
|
fs.readFile( opts.baseDir + 'plugin/notes-server/notes.html', function( err, data ) {
|
||||||
res.send( Mustache.to_html( data.toString(), {
|
res.send( Mustache.to_html( data.toString(), {
|
||||||
socketId : req.params.socketId
|
socketId : req.params.socketId
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
// fs.createReadStream(opts.baseDir + 'notes-server/notes.html').pipe(res);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Actually listen
|
// Actually listen
|
||||||
|
@ -51,9 +58,9 @@ var brown = '\033[33m',
|
||||||
green = '\033[32m',
|
green = '\033[32m',
|
||||||
reset = '\033[0m';
|
reset = '\033[0m';
|
||||||
|
|
||||||
var slidesLocation = "http://localhost" + ( opts.port ? ( ':' + opts.port ) : '' );
|
var slidesLocation = 'http://localhost' + ( opts.port ? ( ':' + opts.port ) : '' );
|
||||||
|
|
||||||
console.log( brown + "reveal.js - Speaker Notes" + reset );
|
console.log( brown + 'reveal.js - Speaker Notes' + reset );
|
||||||
console.log( "1. Open the slides at " + green + slidesLocation + reset );
|
console.log( '1. Open the slides at ' + green + slidesLocation + reset );
|
||||||
console.log( "2. Click on the link your JS console to go to the notes page" );
|
console.log( '2. Click on the link your JS console to go to the notes page' );
|
||||||
console.log( "3. Advance through your slides and your notes will advance automatically" );
|
console.log( '3. Advance through your slides and your notes will advance automatically' );
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
|
||||||
<meta name="viewport" content="width=1150">
|
|
||||||
|
|
||||||
<title>reveal.js - Slide Notes</title>
|
<title>reveal.js - Slide Notes</title>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@ -12,130 +10,386 @@
|
||||||
font-family: Helvetica;
|
font-family: Helvetica;
|
||||||
}
|
}
|
||||||
|
|
||||||
#notes {
|
#current-slide,
|
||||||
font-size: 24px;
|
#upcoming-slide,
|
||||||
width: 640px;
|
#speaker-controls {
|
||||||
margin-top: 5px;
|
padding: 6px;
|
||||||
clear: left;
|
box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wrap-current-slide {
|
#current-slide iframe,
|
||||||
width: 640px;
|
#upcoming-slide iframe {
|
||||||
height: 512px;
|
width: 100%;
|
||||||
float: left;
|
height: 100%;
|
||||||
overflow: hidden;
|
border: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
#current-slide .label,
|
||||||
|
#upcoming-slide .label {
|
||||||
|
position: absolute;
|
||||||
|
top: 10px;
|
||||||
|
left: 10px;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 14px;
|
||||||
|
z-index: 2;
|
||||||
|
color: rgba( 255, 255, 255, 0.9 );
|
||||||
}
|
}
|
||||||
|
|
||||||
#current-slide {
|
#current-slide {
|
||||||
width: 1280px;
|
|
||||||
height: 1024px;
|
|
||||||
border: none;
|
|
||||||
|
|
||||||
-webkit-transform-origin: 0 0;
|
|
||||||
-moz-transform-origin: 0 0;
|
|
||||||
-ms-transform-origin: 0 0;
|
|
||||||
-o-transform-origin: 0 0;
|
|
||||||
transform-origin: 0 0;
|
|
||||||
|
|
||||||
-webkit-transform: scale(0.5);
|
|
||||||
-moz-transform: scale(0.5);
|
|
||||||
-ms-transform: scale(0.5);
|
|
||||||
-o-transform: scale(0.5);
|
|
||||||
transform: scale(0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
#wrap-next-slide {
|
|
||||||
width: 448px;
|
|
||||||
height: 358px;
|
|
||||||
float: left;
|
|
||||||
margin: 0 0 0 10px;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
#next-slide {
|
|
||||||
width: 1280px;
|
|
||||||
height: 1024px;
|
|
||||||
border: none;
|
|
||||||
|
|
||||||
-webkit-transform-origin: 0 0;
|
|
||||||
-moz-transform-origin: 0 0;
|
|
||||||
-ms-transform-origin: 0 0;
|
|
||||||
-o-transform-origin: 0 0;
|
|
||||||
transform-origin: 0 0;
|
|
||||||
|
|
||||||
-webkit-transform: scale(0.35);
|
|
||||||
-moz-transform: scale(0.35);
|
|
||||||
-ms-transform: scale(0.35);
|
|
||||||
-o-transform: scale(0.35);
|
|
||||||
transform: scale(0.35);
|
|
||||||
}
|
|
||||||
|
|
||||||
.slides {
|
|
||||||
position: relative;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
border: 1px solid black;
|
|
||||||
border-radius: 2px;
|
|
||||||
background: rgb(28, 30, 32);
|
|
||||||
}
|
|
||||||
|
|
||||||
.slides span {
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 3px;
|
width: 65%;
|
||||||
left: 3px;
|
height: 100%;
|
||||||
font-weight: bold;
|
top: 0;
|
||||||
font-size: 14px;
|
left: 0;
|
||||||
color: rgba( 255, 255, 255, 0.9 );
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#upcoming-slide {
|
||||||
|
position: absolute;
|
||||||
|
width: 35%;
|
||||||
|
height: 40%;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#speaker-controls {
|
||||||
|
position: absolute;
|
||||||
|
top: 40%;
|
||||||
|
right: 0;
|
||||||
|
width: 35%;
|
||||||
|
height: 60%;
|
||||||
|
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-time.hidden,
|
||||||
|
.speaker-controls-notes.hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-time .label,
|
||||||
|
.speaker-controls-notes .label {
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 0.66em;
|
||||||
|
color: #666;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-time {
|
||||||
|
border-bottom: 1px solid rgba( 200, 200, 200, 0.5 );
|
||||||
|
margin-bottom: 10px;
|
||||||
|
padding: 10px 16px;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-time .reset-button {
|
||||||
|
opacity: 0;
|
||||||
|
float: right;
|
||||||
|
color: #666;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.speaker-controls-time:hover .reset-button {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-time .timer,
|
||||||
|
.speaker-controls-time .clock {
|
||||||
|
width: 50%;
|
||||||
|
font-size: 1.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-time .timer {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-time .clock {
|
||||||
|
float: right;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-time span.mute {
|
||||||
|
color: #bbb;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-notes {
|
||||||
|
padding: 10px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-notes .value {
|
||||||
|
margin-top: 5px;
|
||||||
|
line-height: 1.4;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.clear {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 1080px) {
|
||||||
|
#speaker-controls {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 900px) {
|
||||||
|
#speaker-controls {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 800px) {
|
||||||
|
#speaker-controls {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div id="wrap-current-slide" class="slides">
|
<div id="current-slide"></div>
|
||||||
<iframe src="/?receiver" width="1280" height="1024" id="current-slide"></iframe>
|
<div id="upcoming-slide"><span class="label">UPCOMING:</span></div>
|
||||||
|
<div id="speaker-controls">
|
||||||
|
<div class="speaker-controls-time">
|
||||||
|
<h4 class="label">Time <span class="reset-button">Click to Reset</span></h4>
|
||||||
|
<div class="clock">
|
||||||
|
<span class="clock-value">0:00 AM</span>
|
||||||
|
</div>
|
||||||
|
<div class="timer">
|
||||||
|
<span class="hours-value">00</span><span class="minutes-value">:00</span><span class="seconds-value">:00</span>
|
||||||
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="wrap-next-slide" class="slides">
|
<div class="speaker-controls-notes hidden">
|
||||||
<iframe src="/?receiver" width="640" height="512" id="next-slide"></iframe>
|
<h4 class="label">Notes</h4>
|
||||||
<span>UPCOMING:</span>
|
<div class="value"></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="notes"></div>
|
|
||||||
|
|
||||||
<script src="/socket.io/socket.io.js"></script>
|
<script src="/socket.io/socket.io.js"></script>
|
||||||
<script src="/plugin/markdown/marked.js"></script>
|
<script src="/plugin/markdown/marked.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var socketId = '{{socketId}}';
|
(function() {
|
||||||
var socket = io.connect(window.location.origin);
|
|
||||||
var notes = document.getElementById('notes');
|
var notes,
|
||||||
var currentSlide = document.getElementById('current-slide');
|
notesValue,
|
||||||
var nextSlide = document.getElementById('next-slide');
|
currentState,
|
||||||
|
currentSlide,
|
||||||
|
upcomingSlide,
|
||||||
|
connected = false;
|
||||||
|
|
||||||
|
var socket = io.connect( window.location.origin ),
|
||||||
|
socketId = '{{socketId}}';
|
||||||
|
|
||||||
|
socket.on( 'statechanged', function( data ) {
|
||||||
|
|
||||||
socket.on('slidedata', function(data) {
|
|
||||||
// ignore data from sockets that aren't ours
|
// ignore data from sockets that aren't ours
|
||||||
if( data.socketId !== socketId ) { return; }
|
if( data.socketId !== socketId ) { return; }
|
||||||
|
|
||||||
|
if( connected === false ) {
|
||||||
|
connected = true;
|
||||||
|
|
||||||
|
setupIframes( data );
|
||||||
|
setupKeyboard();
|
||||||
|
setupNotes();
|
||||||
|
setupTimer();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
handleStateMessage( data );
|
||||||
|
|
||||||
|
} );
|
||||||
|
|
||||||
|
window.addEventListener( 'message', function( event ) {
|
||||||
|
|
||||||
|
var data = JSON.parse( event.data );
|
||||||
|
|
||||||
|
if( data && data.namespace === 'reveal' ) {
|
||||||
|
if( /ready/.test( data.eventName ) ) {
|
||||||
|
socket.emit( 'connect', { socketId: socketId } );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
} );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called when the main window sends an updated state.
|
||||||
|
*/
|
||||||
|
function handleStateMessage( data ) {
|
||||||
|
|
||||||
|
// Store the most recently set state to avoid circular loops
|
||||||
|
// applying the same state
|
||||||
|
currentState = JSON.stringify( data.state );
|
||||||
|
|
||||||
|
// No need for updating the notes in case of fragment changes
|
||||||
|
if ( data.notes ) {
|
||||||
|
notes.classList.remove( 'hidden' );
|
||||||
if( data.markdown ) {
|
if( data.markdown ) {
|
||||||
notes.innerHTML = marked(data.notes);
|
notesValue.innerHTML = marked( data.notes );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
notes.innerHTML = data.notes;
|
notesValue.innerHTML = data.notes;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
notes.classList.add( 'hidden' );
|
||||||
}
|
}
|
||||||
|
|
||||||
currentSlide.contentWindow.Reveal.slide(data.indexh, data.indexv);
|
// Update the note slides
|
||||||
nextSlide.contentWindow.Reveal.slide(data.nextindexh, data.nextindexv);
|
currentSlide.contentWindow.postMessage( JSON.stringify({ method: 'setState', args: [ data.state ] }), '*' );
|
||||||
});
|
upcomingSlide.contentWindow.postMessage( JSON.stringify({ method: 'setState', args: [ data.state ] }), '*' );
|
||||||
socket.on('fragmentdata', function(data) {
|
upcomingSlide.contentWindow.postMessage( JSON.stringify({ method: 'next' }), '*' );
|
||||||
// ignore data from sockets that aren't ours
|
|
||||||
if (data.socketId !== socketId) { return; }
|
|
||||||
|
|
||||||
if (data.fragment === 'next') {
|
|
||||||
currentSlide.contentWindow.Reveal.nextFragment();
|
|
||||||
}
|
|
||||||
else if (data.fragment === 'previous') {
|
|
||||||
currentSlide.contentWindow.Reveal.prevFragment();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Limit to max one state update per X ms
|
||||||
|
handleStateMessage = debounce( handleStateMessage, 200 );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Forward keyboard events to the current slide window.
|
||||||
|
* This enables keyboard events to work even if focus
|
||||||
|
* isn't set on the current slide iframe.
|
||||||
|
*/
|
||||||
|
function setupKeyboard() {
|
||||||
|
|
||||||
|
document.addEventListener( 'keydown', function( event ) {
|
||||||
|
currentSlide.contentWindow.postMessage( JSON.stringify({ method: 'triggerKey', args: [ event.keyCode ] }), '*' );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates the preview iframes.
|
||||||
|
*/
|
||||||
|
function setupIframes( data ) {
|
||||||
|
|
||||||
|
var params = [
|
||||||
|
'receiver',
|
||||||
|
'progress=false',
|
||||||
|
'history=false',
|
||||||
|
'transition=none',
|
||||||
|
'backgroundTransition=none'
|
||||||
|
].join( '&' );
|
||||||
|
|
||||||
|
var hash = '#/' + data.state.indexh + '/' + data.state.indexv;
|
||||||
|
var currentURL = '/?' + params + '&postMessageEvents=true' + hash;
|
||||||
|
var upcomingURL = '/?' + params + '&controls=false' + hash;
|
||||||
|
|
||||||
|
currentSlide = document.createElement( 'iframe' );
|
||||||
|
currentSlide.setAttribute( 'width', 1280 );
|
||||||
|
currentSlide.setAttribute( 'height', 1024 );
|
||||||
|
currentSlide.setAttribute( 'src', currentURL );
|
||||||
|
document.querySelector( '#current-slide' ).appendChild( currentSlide );
|
||||||
|
|
||||||
|
upcomingSlide = document.createElement( 'iframe' );
|
||||||
|
upcomingSlide.setAttribute( 'width', 640 );
|
||||||
|
upcomingSlide.setAttribute( 'height', 512 );
|
||||||
|
upcomingSlide.setAttribute( 'src', upcomingURL );
|
||||||
|
document.querySelector( '#upcoming-slide' ).appendChild( upcomingSlide );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Setup the notes UI.
|
||||||
|
*/
|
||||||
|
function setupNotes() {
|
||||||
|
|
||||||
|
notes = document.querySelector( '.speaker-controls-notes' );
|
||||||
|
notesValue = document.querySelector( '.speaker-controls-notes .value' );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create the timer and clock and start updating them
|
||||||
|
* at an interval.
|
||||||
|
*/
|
||||||
|
function setupTimer() {
|
||||||
|
|
||||||
|
var start = new Date(),
|
||||||
|
timeEl = document.querySelector( '.speaker-controls-time' ),
|
||||||
|
clockEl = timeEl.querySelector( '.clock-value' ),
|
||||||
|
hoursEl = timeEl.querySelector( '.hours-value' ),
|
||||||
|
minutesEl = timeEl.querySelector( '.minutes-value' ),
|
||||||
|
secondsEl = timeEl.querySelector( '.seconds-value' );
|
||||||
|
|
||||||
|
function _updateTimer() {
|
||||||
|
|
||||||
|
var diff, hours, minutes, seconds,
|
||||||
|
now = new Date();
|
||||||
|
|
||||||
|
diff = now.getTime() - start.getTime();
|
||||||
|
hours = Math.floor( diff / ( 1000 * 60 * 60 ) );
|
||||||
|
minutes = Math.floor( ( diff / ( 1000 * 60 ) ) % 60 );
|
||||||
|
seconds = Math.floor( ( diff / 1000 ) % 60 );
|
||||||
|
|
||||||
|
clockEl.innerHTML = now.toLocaleTimeString( 'en-US', { hour12: true, hour: '2-digit', minute:'2-digit' } );
|
||||||
|
hoursEl.innerHTML = zeroPadInteger( hours );
|
||||||
|
hoursEl.className = hours > 0 ? '' : 'mute';
|
||||||
|
minutesEl.innerHTML = ':' + zeroPadInteger( minutes );
|
||||||
|
minutesEl.className = minutes > 0 ? '' : 'mute';
|
||||||
|
secondsEl.innerHTML = ':' + zeroPadInteger( seconds );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update once directly
|
||||||
|
_updateTimer();
|
||||||
|
|
||||||
|
// Then update every second
|
||||||
|
setInterval( _updateTimer, 1000 );
|
||||||
|
|
||||||
|
timeEl.addEventListener( 'click', function() {
|
||||||
|
start = new Date();
|
||||||
|
_updateTimer();
|
||||||
|
return false;
|
||||||
|
} );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function zeroPadInteger( num ) {
|
||||||
|
|
||||||
|
var str = '00' + parseInt( num );
|
||||||
|
return str.substring( str.length - 2 );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Limits the frequency at which a function can be called.
|
||||||
|
*/
|
||||||
|
function debounce( fn, ms ) {
|
||||||
|
|
||||||
|
var lastTime = 0,
|
||||||
|
timeout;
|
||||||
|
|
||||||
|
return function() {
|
||||||
|
|
||||||
|
var args = arguments;
|
||||||
|
var context = this;
|
||||||
|
|
||||||
|
clearTimeout( timeout );
|
||||||
|
|
||||||
|
var timeSinceLastCall = Date.now() - lastTime;
|
||||||
|
if( timeSinceLastCall > ms ) {
|
||||||
|
fn.apply( context, args );
|
||||||
|
lastTime = Date.now();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
timeout = setTimeout( function() {
|
||||||
|
fn.apply( context, args );
|
||||||
|
lastTime = Date.now();
|
||||||
|
}, ms - timeSinceLastCall );
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -10,127 +10,140 @@
|
||||||
font-family: Helvetica;
|
font-family: Helvetica;
|
||||||
}
|
}
|
||||||
|
|
||||||
#notes {
|
#current-slide,
|
||||||
font-size: 24px;
|
#upcoming-slide,
|
||||||
width: 640px;
|
#speaker-controls {
|
||||||
margin-top: 5px;
|
padding: 6px;
|
||||||
clear: left;
|
box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wrap-current-slide {
|
#current-slide iframe,
|
||||||
width: 640px;
|
#upcoming-slide iframe {
|
||||||
height: 512px;
|
width: 100%;
|
||||||
float: left;
|
height: 100%;
|
||||||
overflow: hidden;
|
border: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
#current-slide {
|
#current-slide .label,
|
||||||
width: 1280px;
|
#upcoming-slide .label {
|
||||||
height: 1024px;
|
|
||||||
border: none;
|
|
||||||
|
|
||||||
-webkit-transform-origin: 0 0;
|
|
||||||
-moz-transform-origin: 0 0;
|
|
||||||
-ms-transform-origin: 0 0;
|
|
||||||
-o-transform-origin: 0 0;
|
|
||||||
transform-origin: 0 0;
|
|
||||||
|
|
||||||
-webkit-transform: scale(0.5);
|
|
||||||
-moz-transform: scale(0.5);
|
|
||||||
-ms-transform: scale(0.5);
|
|
||||||
-o-transform: scale(0.5);
|
|
||||||
transform: scale(0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
#wrap-next-slide {
|
|
||||||
width: 448px;
|
|
||||||
height: 358px;
|
|
||||||
float: left;
|
|
||||||
margin: 0 0 0 10px;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
#next-slide {
|
|
||||||
width: 1280px;
|
|
||||||
height: 1024px;
|
|
||||||
border: none;
|
|
||||||
|
|
||||||
-webkit-transform-origin: 0 0;
|
|
||||||
-moz-transform-origin: 0 0;
|
|
||||||
-ms-transform-origin: 0 0;
|
|
||||||
-o-transform-origin: 0 0;
|
|
||||||
transform-origin: 0 0;
|
|
||||||
|
|
||||||
-webkit-transform: scale(0.35);
|
|
||||||
-moz-transform: scale(0.35);
|
|
||||||
-ms-transform: scale(0.35);
|
|
||||||
-o-transform: scale(0.35);
|
|
||||||
transform: scale(0.35);
|
|
||||||
}
|
|
||||||
|
|
||||||
.slides {
|
|
||||||
position: relative;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
border: 1px solid black;
|
|
||||||
border-radius: 2px;
|
|
||||||
background: rgb(28, 30, 32);
|
|
||||||
}
|
|
||||||
|
|
||||||
.slides span {
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 3px;
|
top: 10px;
|
||||||
left: 3px;
|
left: 10px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
z-index: 2;
|
||||||
color: rgba( 255, 255, 255, 0.9 );
|
color: rgba( 255, 255, 255, 0.9 );
|
||||||
}
|
}
|
||||||
|
|
||||||
.error {
|
#current-slide {
|
||||||
font-weight: bold;
|
position: absolute;
|
||||||
color: red;
|
width: 65%;
|
||||||
font-size: 1.5em;
|
height: 100%;
|
||||||
text-align: center;
|
top: 0;
|
||||||
margin-top: 10%;
|
left: 0;
|
||||||
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.error code {
|
#upcoming-slide {
|
||||||
font-family: monospace;
|
position: absolute;
|
||||||
|
width: 35%;
|
||||||
|
height: 40%;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.time {
|
#speaker-controls {
|
||||||
width: 448px;
|
position: absolute;
|
||||||
margin: 30px 0 0 10px;
|
top: 40%;
|
||||||
float: left;
|
right: 0;
|
||||||
text-align: center;
|
width: 35%;
|
||||||
opacity: 0;
|
height: 60%;
|
||||||
|
|
||||||
-webkit-transition: opacity 0.4s;
|
font-size: 18px;
|
||||||
-moz-transition: opacity 0.4s;
|
|
||||||
-o-transition: opacity 0.4s;
|
|
||||||
transition: opacity 0.4s;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.elapsed,
|
.speaker-controls-time.hidden,
|
||||||
.clock {
|
.speaker-controls-notes.hidden {
|
||||||
color: #333;
|
display: none;
|
||||||
font-size: 2em;
|
|
||||||
text-align: center;
|
|
||||||
display: inline-block;
|
|
||||||
padding: 0.5em;
|
|
||||||
background-color: #eee;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.elapsed h2,
|
.speaker-controls-time .label,
|
||||||
.clock h2 {
|
.speaker-controls-notes .label {
|
||||||
font-size: 0.8em;
|
text-transform: uppercase;
|
||||||
line-height: 100%;
|
font-weight: normal;
|
||||||
|
font-size: 0.66em;
|
||||||
|
color: #666;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: #aaa;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.elapsed .mute {
|
.speaker-controls-time {
|
||||||
color: #ddd;
|
border-bottom: 1px solid rgba( 200, 200, 200, 0.5 );
|
||||||
|
margin-bottom: 10px;
|
||||||
|
padding: 10px 16px;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-time .reset-button {
|
||||||
|
opacity: 0;
|
||||||
|
float: right;
|
||||||
|
color: #666;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.speaker-controls-time:hover .reset-button {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-time .timer,
|
||||||
|
.speaker-controls-time .clock {
|
||||||
|
width: 50%;
|
||||||
|
font-size: 1.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-time .timer {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-time .clock {
|
||||||
|
float: right;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-time span.mute {
|
||||||
|
color: #bbb;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-notes {
|
||||||
|
padding: 10px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.speaker-controls-notes .value {
|
||||||
|
margin-top: 5px;
|
||||||
|
line-height: 1.4;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.clear {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 1080px) {
|
||||||
|
#speaker-controls {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 900px) {
|
||||||
|
#speaker-controls {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 800px) {
|
||||||
|
#speaker-controls {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -138,81 +151,182 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<script>
|
<div id="current-slide"></div>
|
||||||
function getNotesURL( controls ) {
|
<div id="upcoming-slide"><span class="label">UPCOMING:</span></div>
|
||||||
return window.opener.location.protocol + '//' + window.opener.location.host + window.opener.location.pathname + '?receiver&controls='+ ( controls || 'false' ) +'&progress=false&overview=false' + window.opener.location.hash;
|
<div id="speaker-controls">
|
||||||
}
|
<div class="speaker-controls-time">
|
||||||
var notesCurrentSlideURL = getNotesURL( true );
|
<h4 class="label">Time <span class="reset-button">Click to Reset</span></h4>
|
||||||
var notesNextSlideURL = getNotesURL( false );
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div id="wrap-current-slide" class="slides">
|
|
||||||
<script>document.write( '<iframe width="1280" height="1024" id="current-slide" src="'+ notesCurrentSlideURL +'"></iframe>' );</script>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="wrap-next-slide" class="slides">
|
|
||||||
<script>document.write( '<iframe width="640" height="512" id="next-slide" src="'+ notesNextSlideURL +'"></iframe>' );</script>
|
|
||||||
<span>UPCOMING:</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="time">
|
|
||||||
<div class="clock">
|
<div class="clock">
|
||||||
<h2>Time</h2>
|
<span class="clock-value">0:00 AM</span>
|
||||||
<span id="clock">0:00:00 AM</span>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="elapsed">
|
<div class="timer">
|
||||||
<h2>Elapsed</h2>
|
<span class="hours-value">00</span><span class="minutes-value">:00</span><span class="seconds-value">:00</span>
|
||||||
<span id="hours">00</span><span id="minutes">:00</span><span id="seconds">:00</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="notes"></div>
|
<div class="speaker-controls-notes hidden">
|
||||||
|
<h4 class="label">Notes</h4>
|
||||||
|
<div class="value"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<script src="../../plugin/markdown/marked.js"></script>
|
<script src="../../plugin/markdown/marked.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
window.addEventListener( 'load', function() {
|
(function() {
|
||||||
|
|
||||||
if( window.opener && window.opener.location && window.opener.location.href ) {
|
var notes,
|
||||||
|
notesValue,
|
||||||
var notes = document.getElementById( 'notes' ),
|
currentState,
|
||||||
currentSlide = document.getElementById( 'current-slide' ),
|
currentSlide,
|
||||||
nextSlide = document.getElementById( 'next-slide' ),
|
upcomingSlide,
|
||||||
silenced = false;
|
connected = false;
|
||||||
|
|
||||||
window.addEventListener( 'message', function( event ) {
|
window.addEventListener( 'message', function( event ) {
|
||||||
|
|
||||||
var data = JSON.parse( event.data );
|
var data = JSON.parse( event.data );
|
||||||
|
|
||||||
|
// Messages sent by the notes plugin inside of the main window
|
||||||
|
if( data && data.namespace === 'reveal-notes' ) {
|
||||||
|
if( data.type === 'connect' ) {
|
||||||
|
handleConnectMessage( data );
|
||||||
|
}
|
||||||
|
else if( data.type === 'state' ) {
|
||||||
|
handleStateMessage( data );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Messages sent by the reveal.js inside of the current slide preview
|
||||||
|
else if( data && data.namespace === 'reveal' ) {
|
||||||
|
if( /ready/.test( data.eventName ) ) {
|
||||||
|
// Send a message back to notify that the handshake is complete
|
||||||
|
window.opener.postMessage( JSON.stringify({ namespace: 'reveal-notes', type: 'connected'} ), '*' );
|
||||||
|
}
|
||||||
|
else if( /slidechanged|fragmentshown|fragmenthidden|overviewshown|overviewhidden|paused|resumed/.test( data.eventName ) && currentState !== JSON.stringify( data.state ) ) {
|
||||||
|
window.opener.postMessage( JSON.stringify({ method: 'setState', args: [ data.state ]} ), '*' );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
} );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called when the main window is trying to establish a
|
||||||
|
* connection.
|
||||||
|
*/
|
||||||
|
function handleConnectMessage( data ) {
|
||||||
|
|
||||||
|
if( connected === false ) {
|
||||||
|
connected = true;
|
||||||
|
|
||||||
|
setupIframes( data );
|
||||||
|
setupKeyboard();
|
||||||
|
setupNotes();
|
||||||
|
setupTimer();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called when the main window sends an updated state.
|
||||||
|
*/
|
||||||
|
function handleStateMessage( data ) {
|
||||||
|
|
||||||
|
// Store the most recently set state to avoid circular loops
|
||||||
|
// applying the same state
|
||||||
|
currentState = JSON.stringify( data.state );
|
||||||
|
|
||||||
// No need for updating the notes in case of fragment changes
|
// No need for updating the notes in case of fragment changes
|
||||||
if ( data.notes !== undefined) {
|
if ( data.notes ) {
|
||||||
|
notes.classList.remove( 'hidden' );
|
||||||
if( data.markdown ) {
|
if( data.markdown ) {
|
||||||
notes.innerHTML = marked( data.notes );
|
notesValue.innerHTML = marked( data.notes );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
notes.innerHTML = data.notes;
|
notesValue.innerHTML = data.notes;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
silenced = true;
|
notes.classList.add( 'hidden' );
|
||||||
|
}
|
||||||
|
|
||||||
// Update the note slides
|
// Update the note slides
|
||||||
currentSlide.contentWindow.Reveal.slide( data.indexh, data.indexv, data.indexf );
|
currentSlide.contentWindow.postMessage( JSON.stringify({ method: 'setState', args: [ data.state ] }), '*' );
|
||||||
nextSlide.contentWindow.Reveal.slide( data.nextindexh, data.nextindexv );
|
upcomingSlide.contentWindow.postMessage( JSON.stringify({ method: 'setState', args: [ data.state ] }), '*' );
|
||||||
|
upcomingSlide.contentWindow.postMessage( JSON.stringify({ method: 'next' }), '*' );
|
||||||
|
|
||||||
silenced = false;
|
}
|
||||||
|
|
||||||
}, false );
|
// Limit to max one state update per X ms
|
||||||
|
handleStateMessage = debounce( handleStateMessage, 200 );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Forward keyboard events to the current slide window.
|
||||||
|
* This enables keyboard events to work even if focus
|
||||||
|
* isn't set on the current slide iframe.
|
||||||
|
*/
|
||||||
|
function setupKeyboard() {
|
||||||
|
|
||||||
|
document.addEventListener( 'keydown', function( event ) {
|
||||||
|
currentSlide.contentWindow.postMessage( JSON.stringify({ method: 'triggerKey', args: [ event.keyCode ] }), '*' );
|
||||||
|
} );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates the preview iframes.
|
||||||
|
*/
|
||||||
|
function setupIframes( data ) {
|
||||||
|
|
||||||
|
var params = [
|
||||||
|
'receiver',
|
||||||
|
'progress=false',
|
||||||
|
'history=false',
|
||||||
|
'transition=none',
|
||||||
|
'backgroundTransition=none'
|
||||||
|
].join( '&' );
|
||||||
|
|
||||||
|
var hash = '#/' + data.state.indexh + '/' + data.state.indexv;
|
||||||
|
var currentURL = data.url + '?' + params + '&postMessageEvents=true' + hash;
|
||||||
|
var upcomingURL = data.url + '?' + params + '&controls=false' + hash;
|
||||||
|
|
||||||
|
currentSlide = document.createElement( 'iframe' );
|
||||||
|
currentSlide.setAttribute( 'width', 1280 );
|
||||||
|
currentSlide.setAttribute( 'height', 1024 );
|
||||||
|
currentSlide.setAttribute( 'src', currentURL );
|
||||||
|
document.querySelector( '#current-slide' ).appendChild( currentSlide );
|
||||||
|
|
||||||
|
upcomingSlide = document.createElement( 'iframe' );
|
||||||
|
upcomingSlide.setAttribute( 'width', 640 );
|
||||||
|
upcomingSlide.setAttribute( 'height', 512 );
|
||||||
|
upcomingSlide.setAttribute( 'src', upcomingURL );
|
||||||
|
document.querySelector( '#upcoming-slide' ).appendChild( upcomingSlide );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Setup the notes UI.
|
||||||
|
*/
|
||||||
|
function setupNotes() {
|
||||||
|
|
||||||
|
notes = document.querySelector( '.speaker-controls-notes' );
|
||||||
|
notesValue = document.querySelector( '.speaker-controls-notes .value' );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create the timer and clock and start updating them
|
||||||
|
* at an interval.
|
||||||
|
*/
|
||||||
|
function setupTimer() {
|
||||||
|
|
||||||
var start = new Date(),
|
var start = new Date(),
|
||||||
timeEl = document.querySelector( '.time' ),
|
timeEl = document.querySelector( '.speaker-controls-time' ),
|
||||||
clockEl = document.getElementById( 'clock' ),
|
clockEl = timeEl.querySelector( '.clock-value' ),
|
||||||
hoursEl = document.getElementById( 'hours' ),
|
hoursEl = timeEl.querySelector( '.hours-value' ),
|
||||||
minutesEl = document.getElementById( 'minutes' ),
|
minutesEl = timeEl.querySelector( '.minutes-value' ),
|
||||||
secondsEl = document.getElementById( 'seconds' );
|
secondsEl = timeEl.querySelector( '.seconds-value' );
|
||||||
|
|
||||||
setInterval( function() {
|
function _updateTimer() {
|
||||||
|
|
||||||
timeEl.style.opacity = 1;
|
|
||||||
|
|
||||||
var diff, hours, minutes, seconds,
|
var diff, hours, minutes, seconds,
|
||||||
now = new Date();
|
now = new Date();
|
||||||
|
@ -222,46 +336,69 @@
|
||||||
minutes = Math.floor( ( diff / ( 1000 * 60 ) ) % 60 );
|
minutes = Math.floor( ( diff / ( 1000 * 60 ) ) % 60 );
|
||||||
seconds = Math.floor( ( diff / 1000 ) % 60 );
|
seconds = Math.floor( ( diff / 1000 ) % 60 );
|
||||||
|
|
||||||
clockEl.innerHTML = now.toLocaleTimeString();
|
clockEl.innerHTML = now.toLocaleTimeString( 'en-US', { hour12: true, hour: '2-digit', minute:'2-digit' } );
|
||||||
hoursEl.innerHTML = zeroPadInteger( hours );
|
hoursEl.innerHTML = zeroPadInteger( hours );
|
||||||
hoursEl.className = hours > 0 ? "" : "mute";
|
hoursEl.className = hours > 0 ? '' : 'mute';
|
||||||
minutesEl.innerHTML = ":" + zeroPadInteger( minutes );
|
minutesEl.innerHTML = ':' + zeroPadInteger( minutes );
|
||||||
minutesEl.className = minutes > 0 ? "" : "mute";
|
minutesEl.className = minutes > 0 ? '' : 'mute';
|
||||||
secondsEl.innerHTML = ":" + zeroPadInteger( seconds );
|
secondsEl.innerHTML = ':' + zeroPadInteger( seconds );
|
||||||
|
|
||||||
}, 1000 );
|
|
||||||
|
|
||||||
// Broadcasts the state of the notes window to synchronize
|
|
||||||
// the main window
|
|
||||||
function synchronizeMainWindow() {
|
|
||||||
|
|
||||||
if( !silenced ) {
|
|
||||||
var indices = currentSlide.contentWindow.Reveal.getIndices();
|
|
||||||
window.opener.Reveal.slide( indices.h, indices.v, indices.f );
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Navigate the main window when the notes slide changes
|
// Update once directly
|
||||||
currentSlide.contentWindow.Reveal.addEventListener( 'slidechanged', synchronizeMainWindow );
|
_updateTimer();
|
||||||
currentSlide.contentWindow.Reveal.addEventListener( 'fragmentshown', synchronizeMainWindow );
|
|
||||||
currentSlide.contentWindow.Reveal.addEventListener( 'fragmenthidden', synchronizeMainWindow );
|
// Then update every second
|
||||||
|
setInterval( _updateTimer, 1000 );
|
||||||
|
|
||||||
|
timeEl.addEventListener( 'click', function() {
|
||||||
|
start = new Date();
|
||||||
|
_updateTimer();
|
||||||
|
return false;
|
||||||
|
} );
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
|
|
||||||
document.body.innerHTML = '<p class="error">Unable to access <code>window.opener.location</code>.<br>Make sure the presentation is running on a web server.</p>';
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}, false );
|
|
||||||
|
|
||||||
function zeroPadInteger( num ) {
|
function zeroPadInteger( num ) {
|
||||||
var str = "00" + parseInt( num );
|
|
||||||
|
var str = '00' + parseInt( num );
|
||||||
return str.substring( str.length - 2 );
|
return str.substring( str.length - 2 );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Limits the frequency at which a function can be called.
|
||||||
|
*/
|
||||||
|
function debounce( fn, ms ) {
|
||||||
|
|
||||||
|
var lastTime = 0,
|
||||||
|
timeout;
|
||||||
|
|
||||||
|
return function() {
|
||||||
|
|
||||||
|
var args = arguments;
|
||||||
|
var context = this;
|
||||||
|
|
||||||
|
clearTimeout( timeout );
|
||||||
|
|
||||||
|
var timeSinceLastCall = Date.now() - lastTime;
|
||||||
|
if( timeSinceLastCall > ms ) {
|
||||||
|
fn.apply( context, args );
|
||||||
|
lastTime = Date.now();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
timeout = setTimeout( function() {
|
||||||
|
fn.apply( context, args );
|
||||||
|
lastTime = Date.now();
|
||||||
|
}, ms - timeSinceLastCall );
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
})();
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,60 +1,99 @@
|
||||||
/**
|
/**
|
||||||
* Handles opening of and synchronization with the reveal.js
|
* Handles opening of and synchronization with the reveal.js
|
||||||
* notes window.
|
* notes window.
|
||||||
|
*
|
||||||
|
* Handshake process:
|
||||||
|
* 1. This window posts 'connect' to notes window
|
||||||
|
* - Includes URL of presentation to show
|
||||||
|
* 2. Notes window responds with 'connected' when it is available
|
||||||
|
* 3. This window proceeds to send the current presentation state
|
||||||
|
* to the notes window
|
||||||
*/
|
*/
|
||||||
var RevealNotes = (function() {
|
var RevealNotes = (function() {
|
||||||
|
|
||||||
function openNotes() {
|
function openNotes() {
|
||||||
var jsFileLocation = document.querySelector('script[src$="notes.js"]').src; // this js file path
|
var jsFileLocation = document.querySelector('script[src$="notes.js"]').src; // this js file path
|
||||||
jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, ''); // the js folder path
|
jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, ''); // the js folder path
|
||||||
var notesPopup = window.open( jsFileLocation + 'notes.html', 'reveal.js - Notes', 'width=1120,height=850' );
|
var notesPopup = window.open( jsFileLocation + 'notes.html', 'reveal.js - Notes', 'width=1100,height=700' );
|
||||||
|
|
||||||
// Fires when slide is changed
|
/**
|
||||||
Reveal.addEventListener( 'slidechanged', post );
|
* Connect to the notes window through a postmessage handshake.
|
||||||
|
* Using postmessage enables us to work in situations where the
|
||||||
|
* origins differ, such as a presentation being opened from the
|
||||||
|
* file system.
|
||||||
|
*/
|
||||||
|
function connect() {
|
||||||
|
// Keep trying to connect until we get a 'connected' message back
|
||||||
|
var connectInterval = setInterval( function() {
|
||||||
|
notesPopup.postMessage( JSON.stringify( {
|
||||||
|
namespace: 'reveal-notes',
|
||||||
|
type: 'connect',
|
||||||
|
url: window.location.protocol + '//' + window.location.host + window.location.pathname,
|
||||||
|
state: Reveal.getState()
|
||||||
|
} ), '*' );
|
||||||
|
}, 500 );
|
||||||
|
|
||||||
// Fires when a fragment is shown
|
window.addEventListener( 'message', function( event ) {
|
||||||
Reveal.addEventListener( 'fragmentshown', post );
|
var data = JSON.parse( event.data );
|
||||||
|
if( data && data.namespace === 'reveal-notes' && data.type === 'connected' ) {
|
||||||
// Fires when a fragment is hidden
|
clearInterval( connectInterval );
|
||||||
Reveal.addEventListener( 'fragmenthidden', post );
|
onConnected();
|
||||||
|
}
|
||||||
|
} );
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Posts the current slide data to the notes window
|
* Posts the current slide data to the notes window
|
||||||
*/
|
*/
|
||||||
function post() {
|
function post() {
|
||||||
|
|
||||||
var slideElement = Reveal.getCurrentSlide(),
|
var slideElement = Reveal.getCurrentSlide(),
|
||||||
slideIndices = Reveal.getIndices(),
|
notesElement = slideElement.querySelector( 'aside.notes' );
|
||||||
messageData;
|
|
||||||
|
|
||||||
var notes = slideElement.querySelector( 'aside.notes' ),
|
var messageData = {
|
||||||
nextindexh,
|
namespace: 'reveal-notes',
|
||||||
nextindexv;
|
type: 'state',
|
||||||
|
notes: '',
|
||||||
if( slideElement.nextElementSibling && slideElement.parentNode.nodeName == 'SECTION' ) {
|
markdown: false,
|
||||||
nextindexh = slideIndices.h;
|
state: Reveal.getState()
|
||||||
nextindexv = slideIndices.v + 1;
|
|
||||||
} else {
|
|
||||||
nextindexh = slideIndices.h + 1;
|
|
||||||
nextindexv = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
messageData = {
|
|
||||||
notes : notes ? notes.innerHTML : '',
|
|
||||||
indexh : slideIndices.h,
|
|
||||||
indexv : slideIndices.v,
|
|
||||||
indexf : slideIndices.f,
|
|
||||||
nextindexh : nextindexh,
|
|
||||||
nextindexv : nextindexv,
|
|
||||||
markdown : notes ? typeof notes.getAttribute( 'data-markdown' ) === 'string' : false
|
|
||||||
};
|
};
|
||||||
|
|
||||||
notesPopup.postMessage( JSON.stringify( messageData ), '*' );
|
// Look for notes defined in a slide attribute
|
||||||
|
if( slideElement.hasAttribute( 'data-notes' ) ) {
|
||||||
|
messageData.notes = slideElement.getAttribute( 'data-notes' );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Navigate to the current slide when the notes are loaded
|
// Look for notes defined in an aside element
|
||||||
notesPopup.addEventListener( 'load', function( event ) {
|
if( notesElement ) {
|
||||||
|
messageData.notes = notesElement.innerHTML;
|
||||||
|
messageData.markdown = typeof notesElement.getAttribute( 'data-markdown' ) === 'string';
|
||||||
|
}
|
||||||
|
|
||||||
|
notesPopup.postMessage( JSON.stringify( messageData ), '*' );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called once we have established a connection to the notes
|
||||||
|
* window.
|
||||||
|
*/
|
||||||
|
function onConnected() {
|
||||||
|
|
||||||
|
// Monitor events that trigger a change in state
|
||||||
|
Reveal.addEventListener( 'slidechanged', post );
|
||||||
|
Reveal.addEventListener( 'fragmentshown', post );
|
||||||
|
Reveal.addEventListener( 'fragmenthidden', post );
|
||||||
|
Reveal.addEventListener( 'overviewhidden', post );
|
||||||
|
Reveal.addEventListener( 'overviewshown', post );
|
||||||
|
Reveal.addEventListener( 'paused', post );
|
||||||
|
Reveal.addEventListener( 'resumed', post );
|
||||||
|
|
||||||
|
// Post the initial state
|
||||||
post();
|
post();
|
||||||
}, false );
|
|
||||||
|
}
|
||||||
|
|
||||||
|
connect();
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the there's a 'notes' query set, open directly
|
// If the there's a 'notes' query set, open directly
|
||||||
|
|
|
@ -1,39 +0,0 @@
|
||||||
<html>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<iframe id="reveal" src="../../index.html" style="border: 0;" width="500" height="500"></iframe>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<input id="back" type="button" value="go back"/>
|
|
||||||
<input id="ahead" type="button" value="go ahead"/>
|
|
||||||
<input id="slideto" type="button" value="slideto 2-2"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
(function (){
|
|
||||||
|
|
||||||
var back = document.getElementById( 'back' ),
|
|
||||||
ahead = document.getElementById( 'ahead' ),
|
|
||||||
slideto = document.getElementById( 'slideto' ),
|
|
||||||
reveal = window.frames[0];
|
|
||||||
|
|
||||||
back.addEventListener( 'click', function () {
|
|
||||||
|
|
||||||
reveal.postMessage( JSON.stringify({method: 'prev', args: []}), '*' );
|
|
||||||
}, false );
|
|
||||||
|
|
||||||
ahead.addEventListener( 'click', function (){
|
|
||||||
reveal.postMessage( JSON.stringify({method: 'next', args: []}), '*' );
|
|
||||||
}, false );
|
|
||||||
|
|
||||||
slideto.addEventListener( 'click', function (){
|
|
||||||
reveal.postMessage( JSON.stringify({method: 'slide', args: [2,2]}), '*' );
|
|
||||||
}, false );
|
|
||||||
|
|
||||||
}());
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,42 +0,0 @@
|
||||||
/*
|
|
||||||
|
|
||||||
simple postmessage plugin
|
|
||||||
|
|
||||||
Useful when a reveal slideshow is inside an iframe.
|
|
||||||
It allows to call reveal methods from outside.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
var reveal = window.frames[0];
|
|
||||||
|
|
||||||
// Reveal.prev();
|
|
||||||
reveal.postMessage(JSON.stringify({method: 'prev', args: []}), '*');
|
|
||||||
// Reveal.next();
|
|
||||||
reveal.postMessage(JSON.stringify({method: 'next', args: []}), '*');
|
|
||||||
// Reveal.slide(2, 2);
|
|
||||||
reveal.postMessage(JSON.stringify({method: 'slide', args: [2,2]}), '*');
|
|
||||||
|
|
||||||
Add to the slideshow:
|
|
||||||
|
|
||||||
dependencies: [
|
|
||||||
...
|
|
||||||
{ src: 'plugin/postmessage/postmessage.js', async: true, condition: function() { return !!document.body.classList; } }
|
|
||||||
]
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function (){
|
|
||||||
|
|
||||||
window.addEventListener( "message", function ( event ) {
|
|
||||||
var data = JSON.parse( event.data ),
|
|
||||||
method = data.method,
|
|
||||||
args = data.args;
|
|
||||||
|
|
||||||
if( typeof Reveal[method] === 'function' ) {
|
|
||||||
Reveal[method].apply( Reveal, data.args );
|
|
||||||
}
|
|
||||||
}, false);
|
|
||||||
|
|
||||||
}());
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,34 +11,38 @@
|
||||||
var page = new WebPage();
|
var page = new WebPage();
|
||||||
var system = require( 'system' );
|
var system = require( 'system' );
|
||||||
|
|
||||||
|
var slideWidth = system.args[3] ? system.args[3].split( 'x' )[0] : 960;
|
||||||
|
var slideHeight = system.args[3] ? system.args[3].split( 'x' )[1] : 700;
|
||||||
|
|
||||||
page.viewportSize = {
|
page.viewportSize = {
|
||||||
width: 1024,
|
width: slideWidth,
|
||||||
height: 768
|
height: slideHeight
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
// Something is wrong with these config values. An input
|
||||||
|
// paper width of 1920px actually results in a 756px wide
|
||||||
|
// PDF.
|
||||||
page.paperSize = {
|
page.paperSize = {
|
||||||
format: 'letter',
|
width: Math.round( slideWidth * 2 ),
|
||||||
orientation: 'landscape',
|
height: Math.round( slideHeight * 2 ),
|
||||||
margin: {
|
border: 0
|
||||||
left: '0',
|
|
||||||
right: '0',
|
|
||||||
top: '0',
|
|
||||||
bottom: '0'
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
var revealFile = system.args[1] || 'index.html?print-pdf';
|
var inputFile = system.args[1] || 'index.html?print-pdf';
|
||||||
var slideFile = system.args[2] || 'slides.pdf';
|
var outputFile = system.args[2] || 'slides.pdf';
|
||||||
|
|
||||||
if( slideFile.match( /\.pdf$/gi ) === null ) {
|
if( outputFile.match( /\.pdf$/gi ) === null ) {
|
||||||
slideFile += '.pdf';
|
outputFile += '.pdf';
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log( 'Printing PDF...' );
|
console.log( 'Printing PDF (Paper size: '+ page.paperSize.width + 'x' + page.paperSize.height +')' );
|
||||||
|
|
||||||
page.open( revealFile, function( status ) {
|
page.open( inputFile, function( status ) {
|
||||||
|
window.setTimeout( function() {
|
||||||
console.log( 'Printed succesfully' );
|
console.log( 'Printed succesfully' );
|
||||||
page.render( slideFile );
|
page.render( outputFile );
|
||||||
phantom.exit();
|
phantom.exit();
|
||||||
|
}, 1000 );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
})();
|
})();
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* zoom.js 0.2 (modified version for use with reveal.js)
|
* zoom.js 0.3 (modified for use with reveal.js)
|
||||||
* http://lab.hakim.se/zoom-js
|
* http://lab.hakim.se/zoom-js
|
||||||
* MIT licensed
|
* MIT licensed
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
* Copyright (C) 2011-2014 Hakim El Hattab, http://hakim.se
|
||||||
*/
|
*/
|
||||||
var zoom = (function(){
|
var zoom = (function(){
|
||||||
|
|
||||||
|
@ -35,8 +35,6 @@ var zoom = (function(){
|
||||||
var panEngageTimeout = -1,
|
var panEngageTimeout = -1,
|
||||||
panUpdateInterval = -1;
|
panUpdateInterval = -1;
|
||||||
|
|
||||||
var currentOptions = null;
|
|
||||||
|
|
||||||
// Check for transform support so that we can fallback otherwise
|
// Check for transform support so that we can fallback otherwise
|
||||||
var supportsTransforms = 'WebkitTransform' in document.body.style ||
|
var supportsTransforms = 'WebkitTransform' in document.body.style ||
|
||||||
'MozTransform' in document.body.style ||
|
'MozTransform' in document.body.style ||
|
||||||
|
@ -58,7 +56,7 @@ var zoom = (function(){
|
||||||
if( level !== 1 && event.keyCode === 27 ) {
|
if( level !== 1 && event.keyCode === 27 ) {
|
||||||
zoom.out();
|
zoom.out();
|
||||||
}
|
}
|
||||||
}, false );
|
} );
|
||||||
|
|
||||||
// Monitor mouse movement for panning
|
// Monitor mouse movement for panning
|
||||||
document.addEventListener( 'mousemove', function( event ) {
|
document.addEventListener( 'mousemove', function( event ) {
|
||||||
|
@ -66,23 +64,40 @@ var zoom = (function(){
|
||||||
mouseX = event.clientX;
|
mouseX = event.clientX;
|
||||||
mouseY = event.clientY;
|
mouseY = event.clientY;
|
||||||
}
|
}
|
||||||
}, false );
|
} );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Applies the CSS required to zoom in, prioritizes use of CSS3
|
* Applies the CSS required to zoom in, prefers the use of CSS3
|
||||||
* transforms but falls back on zoom for IE.
|
* transforms but falls back on zoom for IE.
|
||||||
*
|
*
|
||||||
* @param {Number} pageOffsetX
|
* @param {Object} rect
|
||||||
* @param {Number} pageOffsetY
|
|
||||||
* @param {Number} elementOffsetX
|
|
||||||
* @param {Number} elementOffsetY
|
|
||||||
* @param {Number} scale
|
* @param {Number} scale
|
||||||
*/
|
*/
|
||||||
function magnify( pageOffsetX, pageOffsetY, elementOffsetX, elementOffsetY, scale ) {
|
function magnify( rect, scale ) {
|
||||||
|
|
||||||
|
var scrollOffset = getScrollOffset();
|
||||||
|
|
||||||
|
// Ensure a width/height is set
|
||||||
|
rect.width = rect.width || 1;
|
||||||
|
rect.height = rect.height || 1;
|
||||||
|
|
||||||
|
// Center the rect within the zoomed viewport
|
||||||
|
rect.x -= ( window.innerWidth - ( rect.width * scale ) ) / 2;
|
||||||
|
rect.y -= ( window.innerHeight - ( rect.height * scale ) ) / 2;
|
||||||
|
|
||||||
if( supportsTransforms ) {
|
if( supportsTransforms ) {
|
||||||
var origin = pageOffsetX +'px '+ pageOffsetY +'px',
|
// Reset
|
||||||
transform = 'translate('+ -elementOffsetX +'px,'+ -elementOffsetY +'px) scale('+ scale +')';
|
if( scale === 1 ) {
|
||||||
|
document.body.style.transform = '';
|
||||||
|
document.body.style.OTransform = '';
|
||||||
|
document.body.style.msTransform = '';
|
||||||
|
document.body.style.MozTransform = '';
|
||||||
|
document.body.style.WebkitTransform = '';
|
||||||
|
}
|
||||||
|
// Scale
|
||||||
|
else {
|
||||||
|
var origin = scrollOffset.x +'px '+ scrollOffset.y +'px',
|
||||||
|
transform = 'translate('+ -rect.x +'px,'+ -rect.y +'px) scale('+ scale +')';
|
||||||
|
|
||||||
document.body.style.transformOrigin = origin;
|
document.body.style.transformOrigin = origin;
|
||||||
document.body.style.OTransformOrigin = origin;
|
document.body.style.OTransformOrigin = origin;
|
||||||
|
@ -96,8 +111,9 @@ var zoom = (function(){
|
||||||
document.body.style.MozTransform = transform;
|
document.body.style.MozTransform = transform;
|
||||||
document.body.style.WebkitTransform = transform;
|
document.body.style.WebkitTransform = transform;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
// Reset all values
|
// Reset
|
||||||
if( scale === 1 ) {
|
if( scale === 1 ) {
|
||||||
document.body.style.position = '';
|
document.body.style.position = '';
|
||||||
document.body.style.left = '';
|
document.body.style.left = '';
|
||||||
|
@ -106,11 +122,11 @@ var zoom = (function(){
|
||||||
document.body.style.height = '';
|
document.body.style.height = '';
|
||||||
document.body.style.zoom = '';
|
document.body.style.zoom = '';
|
||||||
}
|
}
|
||||||
// Apply scale
|
// Scale
|
||||||
else {
|
else {
|
||||||
document.body.style.position = 'relative';
|
document.body.style.position = 'relative';
|
||||||
document.body.style.left = ( - ( pageOffsetX + elementOffsetX ) / scale ) + 'px';
|
document.body.style.left = ( - ( scrollOffset.x + rect.x ) / scale ) + 'px';
|
||||||
document.body.style.top = ( - ( pageOffsetY + elementOffsetY ) / scale ) + 'px';
|
document.body.style.top = ( - ( scrollOffset.y + rect.y ) / scale ) + 'px';
|
||||||
document.body.style.width = ( scale * 100 ) + '%';
|
document.body.style.width = ( scale * 100 ) + '%';
|
||||||
document.body.style.height = ( scale * 100 ) + '%';
|
document.body.style.height = ( scale * 100 ) + '%';
|
||||||
document.body.style.zoom = scale;
|
document.body.style.zoom = scale;
|
||||||
|
@ -119,13 +135,15 @@ var zoom = (function(){
|
||||||
|
|
||||||
level = scale;
|
level = scale;
|
||||||
|
|
||||||
if( level !== 1 && document.documentElement.classList ) {
|
if( document.documentElement.classList ) {
|
||||||
|
if( level !== 1 ) {
|
||||||
document.documentElement.classList.add( 'zoomed' );
|
document.documentElement.classList.add( 'zoomed' );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
document.documentElement.classList.remove( 'zoomed' );
|
document.documentElement.classList.remove( 'zoomed' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pan the document when the mosue cursor approaches the edges
|
* Pan the document when the mosue cursor approaches the edges
|
||||||
|
@ -159,7 +177,7 @@ var zoom = (function(){
|
||||||
function getScrollOffset() {
|
function getScrollOffset() {
|
||||||
return {
|
return {
|
||||||
x: window.scrollX !== undefined ? window.scrollX : window.pageXOffset,
|
x: window.scrollX !== undefined ? window.scrollX : window.pageXOffset,
|
||||||
y: window.scrollY !== undefined ? window.scrollY : window.pageXYffset
|
y: window.scrollY !== undefined ? window.scrollY : window.pageYOffset
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -175,6 +193,7 @@ var zoom = (function(){
|
||||||
* - scale: can be used instead of width/height to explicitly set scale
|
* - scale: can be used instead of width/height to explicitly set scale
|
||||||
*/
|
*/
|
||||||
to: function( options ) {
|
to: function( options ) {
|
||||||
|
|
||||||
// Due to an implementation limitation we can't zoom in
|
// Due to an implementation limitation we can't zoom in
|
||||||
// to another element without zooming out first
|
// to another element without zooming out first
|
||||||
if( level !== 1 ) {
|
if( level !== 1 ) {
|
||||||
|
@ -188,11 +207,12 @@ var zoom = (function(){
|
||||||
if( !!options.element ) {
|
if( !!options.element ) {
|
||||||
// Space around the zoomed in element to leave on screen
|
// Space around the zoomed in element to leave on screen
|
||||||
var padding = 20;
|
var padding = 20;
|
||||||
|
var bounds = options.element.getBoundingClientRect();
|
||||||
|
|
||||||
options.width = options.element.getBoundingClientRect().width + ( padding * 2 );
|
options.x = bounds.left - padding;
|
||||||
options.height = options.element.getBoundingClientRect().height + ( padding * 2 );
|
options.y = bounds.top - padding;
|
||||||
options.x = options.element.getBoundingClientRect().left - padding;
|
options.width = bounds.width + ( padding * 2 );
|
||||||
options.y = options.element.getBoundingClientRect().top - padding;
|
options.height = bounds.height + ( padding * 2 );
|
||||||
}
|
}
|
||||||
|
|
||||||
// If width/height values are set, calculate scale from those values
|
// If width/height values are set, calculate scale from those values
|
||||||
|
@ -204,13 +224,7 @@ var zoom = (function(){
|
||||||
options.x *= options.scale;
|
options.x *= options.scale;
|
||||||
options.y *= options.scale;
|
options.y *= options.scale;
|
||||||
|
|
||||||
var scrollOffset = getScrollOffset();
|
magnify( options, options.scale );
|
||||||
|
|
||||||
if( options.element ) {
|
|
||||||
scrollOffset.x -= ( window.innerWidth - ( options.width * options.scale ) ) / 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
magnify( scrollOffset.x, scrollOffset.y, options.x, options.y, options.scale );
|
|
||||||
|
|
||||||
if( options.pan !== false ) {
|
if( options.pan !== false ) {
|
||||||
|
|
||||||
|
@ -222,8 +236,6 @@ var zoom = (function(){
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
currentOptions = options;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -234,13 +246,7 @@ var zoom = (function(){
|
||||||
clearTimeout( panEngageTimeout );
|
clearTimeout( panEngageTimeout );
|
||||||
clearInterval( panUpdateInterval );
|
clearInterval( panUpdateInterval );
|
||||||
|
|
||||||
var scrollOffset = getScrollOffset();
|
magnify( { x: 0, y: 0 }, 1 );
|
||||||
|
|
||||||
if( currentOptions && currentOptions.element ) {
|
|
||||||
scrollOffset.x -= ( window.innerWidth - ( currentOptions.width * currentOptions.scale ) ) / 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
magnify( scrollOffset.x, scrollOffset.y, 0, 0, 1 );
|
|
||||||
|
|
||||||
level = 1;
|
level = 1;
|
||||||
},
|
},
|
||||||
|
@ -256,3 +262,5 @@ var zoom = (function(){
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<title>reveal.js - Barebones</title>
|
<title>reveal.js - Barebones</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/reveal.min.css">
|
<link rel="stylesheet" href="../../css/reveal.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../../js/reveal.min.js"></script>
|
<script src="../../js/reveal.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/reveal.min.css">
|
<link rel="stylesheet" href="../../css/reveal.css">
|
||||||
<link rel="stylesheet" href="../../css/theme/default.css" id="theme">
|
<link rel="stylesheet" href="../../css/theme/default.css" id="theme">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../../lib/js/head.min.js"></script>
|
<script src="../../lib/js/head.min.js"></script>
|
||||||
<script src="../../js/reveal.min.js"></script>
|
<script src="../../js/reveal.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/reveal.min.css">
|
<link rel="stylesheet" href="../../css/reveal.css">
|
||||||
<link rel="stylesheet" href="../../css/theme/night.css" id="theme">
|
<link rel="stylesheet" href="../../css/theme/night.css" id="theme">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../../lib/js/head.min.js"></script>
|
<script src="../../lib/js/head.min.js"></script>
|
||||||
<script src="../../js/reveal.min.js"></script>
|
<script src="../../js/reveal.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
|
|
||||||
<link rel="stylesheet" href="../../css/reveal.min.css">
|
<link rel="stylesheet" href="../../css/reveal.css">
|
||||||
<link rel="stylesheet" href="../../css/theme/serif.css" id="theme">
|
<link rel="stylesheet" href="../../css/theme/serif.css" id="theme">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../../lib/js/head.min.js"></script>
|
<script src="../../lib/js/head.min.js"></script>
|
||||||
<script src="../../js/reveal.min.js"></script>
|
<script src="../../js/reveal.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<title>reveal.js - Test Markdown Element Attributes</title>
|
<title>reveal.js - Test Markdown Element Attributes</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/reveal.min.css">
|
<link rel="stylesheet" href="../css/reveal.css">
|
||||||
<link rel="stylesheet" href="qunit-1.12.0.css">
|
<link rel="stylesheet" href="qunit-1.12.0.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -19,10 +19,10 @@
|
||||||
|
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
|
|
||||||
<!-- <section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n"></section> -->
|
<!-- <section data-markdown="example.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section> -->
|
||||||
|
|
||||||
<!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes -->
|
<!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes -->
|
||||||
<section data-markdown data-separator="^\n---\n$" data-vertical="^\n--\n$" data-element-attributes="{_\s*?([^}]+?)}">>
|
<section data-markdown data-separator="^\n---\n$" data-separator-vertical="^\n--\n$" data-element-attributes="{_\s*?([^}]+?)}">>
|
||||||
<script type="text/template">
|
<script type="text/template">
|
||||||
## Slide 1.1
|
## Slide 1.1
|
||||||
<!-- {_class="fragment fade-out" data-fragment-index="1"} -->
|
<!-- {_class="fragment fade-out" data-fragment-index="1"} -->
|
||||||
|
@ -75,8 +75,8 @@
|
||||||
|
|
||||||
|
|
||||||
<section data-markdown data-separator="^\n\n\n"
|
<section data-markdown data-separator="^\n\n\n"
|
||||||
data-vertical="^\n\n"
|
data-separator-vertical="^\n\n"
|
||||||
data-notes="^Note:"
|
data-separator-notes="^Note:"
|
||||||
data-charset="utf-8">
|
data-charset="utf-8">
|
||||||
<script type="text/template">
|
<script type="text/template">
|
||||||
# Test attributes in Markdown with default separator
|
# Test attributes in Markdown with default separator
|
||||||
|
@ -123,7 +123,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../lib/js/head.min.js"></script>
|
<script src="../lib/js/head.min.js"></script>
|
||||||
<script src="../js/reveal.min.js"></script>
|
<script src="../js/reveal.js"></script>
|
||||||
<script src="../plugin/markdown/marked.js"></script>
|
<script src="../plugin/markdown/marked.js"></script>
|
||||||
<script src="../plugin/markdown/markdown.js"></script>
|
<script src="../plugin/markdown/markdown.js"></script>
|
||||||
<script src="qunit-1.12.0.js"></script>
|
<script src="qunit-1.12.0.js"></script>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<title>reveal.js - Test Markdown Attributes</title>
|
<title>reveal.js - Test Markdown Attributes</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/reveal.min.css">
|
<link rel="stylesheet" href="../css/reveal.css">
|
||||||
<link rel="stylesheet" href="qunit-1.12.0.css">
|
<link rel="stylesheet" href="qunit-1.12.0.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -19,12 +19,12 @@
|
||||||
|
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
|
|
||||||
<!-- <section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n"></section> -->
|
<!-- <section data-markdown="example.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section> -->
|
||||||
|
|
||||||
<!-- Slides are separated by three lines, vertical slides by two lines, attributes are one any line starting with (spaces and) two dashes -->
|
<!-- Slides are separated by three lines, vertical slides by two lines, attributes are one any line starting with (spaces and) two dashes -->
|
||||||
<section data-markdown data-separator="^\n\n\n"
|
<section data-markdown data-separator="^\n\n\n"
|
||||||
data-vertical="^\n\n"
|
data-separator-vertical="^\n\n"
|
||||||
data-notes="^Note:"
|
data-separator-notes="^Note:"
|
||||||
data-attributes="--\s(.*?)$"
|
data-attributes="--\s(.*?)$"
|
||||||
data-charset="utf-8">
|
data-charset="utf-8">
|
||||||
<script type="text/template">
|
<script type="text/template">
|
||||||
|
@ -56,8 +56,8 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section data-markdown data-separator="^\n\n\n"
|
<section data-markdown data-separator="^\n\n\n"
|
||||||
data-vertical="^\n\n"
|
data-separator-vertical="^\n\n"
|
||||||
data-notes="^Note:"
|
data-separator-notes="^Note:"
|
||||||
data-charset="utf-8">
|
data-charset="utf-8">
|
||||||
<script type="text/template">
|
<script type="text/template">
|
||||||
# Test attributes in Markdown with default separator
|
# Test attributes in Markdown with default separator
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../lib/js/head.min.js"></script>
|
<script src="../lib/js/head.min.js"></script>
|
||||||
<script src="../js/reveal.min.js"></script>
|
<script src="../js/reveal.js"></script>
|
||||||
<script src="../plugin/markdown/marked.js"></script>
|
<script src="../plugin/markdown/marked.js"></script>
|
||||||
<script src="../plugin/markdown/markdown.js"></script>
|
<script src="../plugin/markdown/markdown.js"></script>
|
||||||
<script src="qunit-1.12.0.js"></script>
|
<script src="qunit-1.12.0.js"></script>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<title>reveal.js - Test Markdown</title>
|
<title>reveal.js - Test Markdown</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/reveal.min.css">
|
<link rel="stylesheet" href="../css/reveal.css">
|
||||||
<link rel="stylesheet" href="qunit-1.12.0.css">
|
<link rel="stylesheet" href="qunit-1.12.0.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -19,10 +19,10 @@
|
||||||
|
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
|
|
||||||
<!-- <section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n"></section> -->
|
<!-- <section data-markdown="example.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section> -->
|
||||||
|
|
||||||
<!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes -->
|
<!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes -->
|
||||||
<section data-markdown data-separator="^\n---\n$" data-vertical="^\n--\n$">
|
<section data-markdown data-separator="^\n---\n$" data-separator-vertical="^\n--\n$">
|
||||||
<script type="text/template">
|
<script type="text/template">
|
||||||
## Slide 1.1
|
## Slide 1.1
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../lib/js/head.min.js"></script>
|
<script src="../lib/js/head.min.js"></script>
|
||||||
<script src="../js/reveal.min.js"></script>
|
<script src="../js/reveal.js"></script>
|
||||||
<script src="../plugin/markdown/marked.js"></script>
|
<script src="../plugin/markdown/marked.js"></script>
|
||||||
<script src="../plugin/markdown/markdown.js"></script>
|
<script src="../plugin/markdown/markdown.js"></script>
|
||||||
<script src="qunit-1.12.0.js"></script>
|
<script src="qunit-1.12.0.js"></script>
|
||||||
|
|
83
test/test-pdf.html
Normal file
83
test/test-pdf.html
Normal file
|
@ -0,0 +1,83 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
|
||||||
|
<title>reveal.js - Test PDF exports</title>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="../css/reveal.css">
|
||||||
|
<link rel="stylesheet" href="../css/print/pdf.css">
|
||||||
|
<link rel="stylesheet" href="qunit-1.12.0.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body style="overflow: auto;">
|
||||||
|
|
||||||
|
<div id="qunit"></div>
|
||||||
|
<div id="qunit-fixture"></div>
|
||||||
|
|
||||||
|
<div class="reveal" style="display: none;">
|
||||||
|
|
||||||
|
<div class="slides">
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h1>1</h1>
|
||||||
|
<img data-src="fake-url.png">
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<section>
|
||||||
|
<h1>2.1</h1>
|
||||||
|
</section>
|
||||||
|
<section>
|
||||||
|
<h1>2.2</h1>
|
||||||
|
</section>
|
||||||
|
<section>
|
||||||
|
<h1>2.3</h1>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="fragment-slides">
|
||||||
|
<section>
|
||||||
|
<h1>3.1</h1>
|
||||||
|
<ul>
|
||||||
|
<li class="fragment">4.1</li>
|
||||||
|
<li class="fragment">4.2</li>
|
||||||
|
<li class="fragment">4.3</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h1>3.2</h1>
|
||||||
|
<ul>
|
||||||
|
<li class="fragment" data-fragment-index="0">4.1</li>
|
||||||
|
<li class="fragment" data-fragment-index="0">4.2</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h1>3.3</h1>
|
||||||
|
<ul>
|
||||||
|
<li class="fragment" data-fragment-index="1">3.3.1</li>
|
||||||
|
<li class="fragment" data-fragment-index="4">3.3.2</li>
|
||||||
|
<li class="fragment" data-fragment-index="4">3.3.3</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h1>4</h1>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script src="../lib/js/head.min.js"></script>
|
||||||
|
<script src="../js/reveal.js"></script>
|
||||||
|
<script src="qunit-1.12.0.js"></script>
|
||||||
|
|
||||||
|
<script src="test-pdf.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
15
test/test-pdf.js
Normal file
15
test/test-pdf.js
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
|
||||||
|
Reveal.addEventListener( 'ready', function() {
|
||||||
|
|
||||||
|
// Only one test for now, we're mainly ensuring that there
|
||||||
|
// are no execution errors when running PDF mode
|
||||||
|
|
||||||
|
test( 'Reveal.isReady', function() {
|
||||||
|
strictEqual( Reveal.isReady(), true, 'returns true' );
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
} );
|
||||||
|
|
||||||
|
Reveal.initialize({ pdf: true });
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<title>reveal.js - Tests</title>
|
<title>reveal.js - Tests</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../css/reveal.min.css">
|
<link rel="stylesheet" href="../css/reveal.css">
|
||||||
<link rel="stylesheet" href="qunit-1.12.0.css">
|
<link rel="stylesheet" href="qunit-1.12.0.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -19,12 +19,13 @@
|
||||||
|
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
|
|
||||||
<section>
|
<section data-background-image="examples/assets/image1.png">
|
||||||
<h1>1</h1>
|
<h1>1</h1>
|
||||||
|
<img data-src="fake-url.png">
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<section>
|
<section data-background="examples/assets/image2.png">
|
||||||
<h1>2.1</h1>
|
<h1>2.1</h1>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
|
@ -72,7 +73,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../lib/js/head.min.js"></script>
|
<script src="../lib/js/head.min.js"></script>
|
||||||
<script src="../js/reveal.min.js"></script>
|
<script src="../js/reveal.js"></script>
|
||||||
<script src="qunit-1.12.0.js"></script>
|
<script src="qunit-1.12.0.js"></script>
|
||||||
|
|
||||||
<script src="test.js"></script>
|
<script src="test.js"></script>
|
||||||
|
|
145
test/test.js
145
test/test.js
|
@ -68,6 +68,12 @@ Reveal.addEventListener( 'ready', function() {
|
||||||
strictEqual( Reveal.isFirstSlide(), true, 'true after Reveal.slide( 0, 0 )' );
|
strictEqual( Reveal.isFirstSlide(), true, 'true after Reveal.slide( 0, 0 )' );
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test( 'Reveal.isFirstSlide after vertical slide', function() {
|
||||||
|
Reveal.slide( 1, 1 );
|
||||||
|
Reveal.slide( 0, 0 );
|
||||||
|
strictEqual( Reveal.isFirstSlide(), true, 'true after Reveal.slide( 1, 1 ) and then Reveal.slide( 0, 0 )' );
|
||||||
|
});
|
||||||
|
|
||||||
test( 'Reveal.isLastSlide', function() {
|
test( 'Reveal.isLastSlide', function() {
|
||||||
Reveal.slide( 0, 0 );
|
Reveal.slide( 0, 0 );
|
||||||
strictEqual( Reveal.isLastSlide(), false, 'false after Reveal.slide( 0, 0 )' );
|
strictEqual( Reveal.isLastSlide(), false, 'false after Reveal.slide( 0, 0 )' );
|
||||||
|
@ -75,34 +81,62 @@ Reveal.addEventListener( 'ready', function() {
|
||||||
var lastSlideIndex = document.querySelectorAll( '.reveal .slides>section' ).length - 1;
|
var lastSlideIndex = document.querySelectorAll( '.reveal .slides>section' ).length - 1;
|
||||||
|
|
||||||
Reveal.slide( lastSlideIndex, 0 );
|
Reveal.slide( lastSlideIndex, 0 );
|
||||||
strictEqual( Reveal.isLastSlide(), true, 'true after Reveal.slide( ', 0+ lastSlideIndex +' )' );
|
strictEqual( Reveal.isLastSlide(), true, 'true after Reveal.slide( '+ lastSlideIndex +', 0 )' );
|
||||||
|
|
||||||
Reveal.slide( 0, 0 );
|
Reveal.slide( 0, 0 );
|
||||||
strictEqual( Reveal.isLastSlide(), false, 'false after Reveal.slide( 0, 0 )' );
|
strictEqual( Reveal.isLastSlide(), false, 'false after Reveal.slide( 0, 0 )' );
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test( 'Reveal.isLastSlide after vertical slide', function() {
|
||||||
|
var lastSlideIndex = document.querySelectorAll( '.reveal .slides>section' ).length - 1;
|
||||||
|
|
||||||
|
Reveal.slide( 1, 1 );
|
||||||
|
Reveal.slide( lastSlideIndex );
|
||||||
|
strictEqual( Reveal.isLastSlide(), true, 'true after Reveal.slide( 1, 1 ) and then Reveal.slide( '+ lastSlideIndex +', 0 )' );
|
||||||
|
});
|
||||||
|
|
||||||
|
test( 'Reveal.getTotalSlides', function() {
|
||||||
|
strictEqual( Reveal.getTotalSlides(), 8, 'eight slides in total' );
|
||||||
|
});
|
||||||
|
|
||||||
test( 'Reveal.getIndices', function() {
|
test( 'Reveal.getIndices', function() {
|
||||||
var indices = Reveal.getIndices();
|
var indices = Reveal.getIndices();
|
||||||
|
|
||||||
ok( typeof indices.hasOwnProperty( 'h' ), 'h exists' );
|
ok( indices.hasOwnProperty( 'h' ), 'h exists' );
|
||||||
ok( typeof indices.hasOwnProperty( 'v' ), 'v exists' );
|
ok( indices.hasOwnProperty( 'v' ), 'v exists' );
|
||||||
ok( typeof indices.hasOwnProperty( 'f' ), 'f exists' );
|
ok( indices.hasOwnProperty( 'f' ), 'f exists' );
|
||||||
|
|
||||||
Reveal.slide( 1, 0 );
|
Reveal.slide( 1, 0 );
|
||||||
ok( Reveal.getIndices().h === 1 && Reveal.getIndices().v === 0, 'h 1, v 0' );
|
strictEqual( Reveal.getIndices().h, 1, 'h 1' );
|
||||||
|
strictEqual( Reveal.getIndices().v, 0, 'v 0' );
|
||||||
|
|
||||||
Reveal.slide( 1, 2 );
|
Reveal.slide( 1, 2 );
|
||||||
ok( Reveal.getIndices().h === 1 && Reveal.getIndices().v === 2, 'h 1, v 2' );
|
strictEqual( Reveal.getIndices().h, 1, 'h 1' );
|
||||||
|
strictEqual( Reveal.getIndices().v, 2, 'v 2' );
|
||||||
|
|
||||||
Reveal.slide( 0, 0 );
|
Reveal.slide( 0, 0 );
|
||||||
|
strictEqual( Reveal.getIndices().h, 0, 'h 0' );
|
||||||
|
strictEqual( Reveal.getIndices().v, 0, 'v 0' );
|
||||||
});
|
});
|
||||||
|
|
||||||
test( 'Reveal.getSlide', function() {
|
test( 'Reveal.getSlide', function() {
|
||||||
var firstSlide = document.querySelector( '.reveal .slides>section:first-child' );
|
equal( Reveal.getSlide( 0 ), document.querySelector( '.reveal .slides>section:first-child' ), 'gets correct first slide' );
|
||||||
|
equal( Reveal.getSlide( 1 ), document.querySelector( '.reveal .slides>section:nth-child(2)' ), 'no v index returns stack' );
|
||||||
|
equal( Reveal.getSlide( 1, 0 ), document.querySelector( '.reveal .slides>section:nth-child(2)>section:nth-child(1)' ), 'v index 0 returns first vertical child' );
|
||||||
|
equal( Reveal.getSlide( 1, 1 ), document.querySelector( '.reveal .slides>section:nth-child(2)>section:nth-child(2)' ), 'v index 1 returns second vertical child' );
|
||||||
|
|
||||||
equal( Reveal.getSlide( 0 ), firstSlide, 'gets correct first slide' );
|
strictEqual( Reveal.getSlide( 100 ), undefined, 'undefined when out of horizontal bounds' );
|
||||||
|
strictEqual( Reveal.getSlide( 1, 100 ), undefined, 'undefined when out of vertical bounds' );
|
||||||
|
});
|
||||||
|
|
||||||
strictEqual( Reveal.getSlide( 100 ), undefined, 'returns undefined when slide can\'t be found' );
|
test( 'Reveal.getSlideBackground', function() {
|
||||||
|
equal( Reveal.getSlideBackground( 0 ), document.querySelector( '.reveal .backgrounds>.slide-background:first-child' ), 'gets correct first background' );
|
||||||
|
equal( Reveal.getSlideBackground( 1 ), document.querySelector( '.reveal .backgrounds>.slide-background:nth-child(2)' ), 'no v index returns stack' );
|
||||||
|
equal( Reveal.getSlideBackground( 1, 0 ), document.querySelector( '.reveal .backgrounds>.slide-background:nth-child(2) .slide-background:nth-child(1)' ), 'v index 0 returns first vertical child' );
|
||||||
|
equal( Reveal.getSlideBackground( 1, 1 ), document.querySelector( '.reveal .backgrounds>.slide-background:nth-child(2) .slide-background:nth-child(2)' ), 'v index 1 returns second vertical child' );
|
||||||
|
|
||||||
|
strictEqual( Reveal.getSlideBackground( 100 ), undefined, 'undefined when out of horizontal bounds' );
|
||||||
|
strictEqual( Reveal.getSlideBackground( 1, 100 ), undefined, 'undefined when out of vertical bounds' );
|
||||||
});
|
});
|
||||||
|
|
||||||
test( 'Reveal.getPreviousSlide/getCurrentSlide', function() {
|
test( 'Reveal.getPreviousSlide/getCurrentSlide', function() {
|
||||||
|
@ -116,6 +150,16 @@ Reveal.addEventListener( 'ready', function() {
|
||||||
equal( Reveal.getCurrentSlide(), secondSlide, 'current is slide #1' );
|
equal( Reveal.getCurrentSlide(), secondSlide, 'current is slide #1' );
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test( 'Reveal.getProgress', function() {
|
||||||
|
Reveal.slide( 0, 0 );
|
||||||
|
strictEqual( Reveal.getProgress(), 0, 'progress is 0 on first slide' );
|
||||||
|
|
||||||
|
var lastSlideIndex = document.querySelectorAll( '.reveal .slides>section' ).length - 1;
|
||||||
|
|
||||||
|
Reveal.slide( lastSlideIndex, 0 );
|
||||||
|
strictEqual( Reveal.getProgress(), 1, 'progress is 1 on last slide' );
|
||||||
|
});
|
||||||
|
|
||||||
test( 'Reveal.getScale', function() {
|
test( 'Reveal.getScale', function() {
|
||||||
ok( typeof Reveal.getScale() === 'number', 'has scale' );
|
ok( typeof Reveal.getScale() === 'number', 'has scale' );
|
||||||
});
|
});
|
||||||
|
@ -331,6 +375,70 @@ Reveal.addEventListener( 'ready', function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------
|
||||||
|
// AUTO-SLIDE TESTS
|
||||||
|
|
||||||
|
QUnit.module( 'Auto Sliding' );
|
||||||
|
|
||||||
|
test( 'Reveal.isAutoSliding', function() {
|
||||||
|
strictEqual( Reveal.isAutoSliding(), false, 'false by default' );
|
||||||
|
|
||||||
|
Reveal.configure({ autoSlide: 10000 });
|
||||||
|
strictEqual( Reveal.isAutoSliding(), true, 'true after starting' );
|
||||||
|
|
||||||
|
Reveal.configure({ autoSlide: 0 });
|
||||||
|
strictEqual( Reveal.isAutoSliding(), false, 'false after setting to 0' );
|
||||||
|
});
|
||||||
|
|
||||||
|
test( 'Reveal.toggleAutoSlide', function() {
|
||||||
|
Reveal.configure({ autoSlide: 10000 });
|
||||||
|
|
||||||
|
Reveal.toggleAutoSlide();
|
||||||
|
strictEqual( Reveal.isAutoSliding(), false, 'false after first toggle' );
|
||||||
|
Reveal.toggleAutoSlide();
|
||||||
|
strictEqual( Reveal.isAutoSliding(), true, 'true after second toggle' );
|
||||||
|
|
||||||
|
Reveal.configure({ autoSlide: 0 });
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncTest( 'autoslidepaused', function() {
|
||||||
|
expect( 1 );
|
||||||
|
|
||||||
|
var _onEvent = function( event ) {
|
||||||
|
ok( true, 'event fired' );
|
||||||
|
}
|
||||||
|
|
||||||
|
Reveal.addEventListener( 'autoslidepaused', _onEvent );
|
||||||
|
Reveal.configure({ autoSlide: 10000 });
|
||||||
|
Reveal.toggleAutoSlide();
|
||||||
|
|
||||||
|
start();
|
||||||
|
|
||||||
|
// cleanup
|
||||||
|
Reveal.configure({ autoSlide: 0 });
|
||||||
|
Reveal.removeEventListener( 'autoslidepaused', _onEvent );
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncTest( 'autoslideresumed', function() {
|
||||||
|
expect( 1 );
|
||||||
|
|
||||||
|
var _onEvent = function( event ) {
|
||||||
|
ok( true, 'event fired' );
|
||||||
|
}
|
||||||
|
|
||||||
|
Reveal.addEventListener( 'autoslideresumed', _onEvent );
|
||||||
|
Reveal.configure({ autoSlide: 10000 });
|
||||||
|
Reveal.toggleAutoSlide();
|
||||||
|
Reveal.toggleAutoSlide();
|
||||||
|
|
||||||
|
start();
|
||||||
|
|
||||||
|
// cleanup
|
||||||
|
Reveal.configure({ autoSlide: 0 });
|
||||||
|
Reveal.removeEventListener( 'autoslideresumed', _onEvent );
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------
|
// ---------------------------------------------------------------
|
||||||
// CONFIGURATION VALUES
|
// CONFIGURATION VALUES
|
||||||
|
|
||||||
|
@ -371,6 +479,25 @@ Reveal.addEventListener( 'ready', function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------
|
||||||
|
// LAZY-LOADING TESTS
|
||||||
|
|
||||||
|
QUnit.module( 'Lazy-Loading' );
|
||||||
|
|
||||||
|
test( 'img with data-src', function() {
|
||||||
|
strictEqual( document.querySelectorAll( '.reveal section img[src]' ).length, 1, 'Image source has been set' );
|
||||||
|
});
|
||||||
|
|
||||||
|
test( 'background images', function() {
|
||||||
|
var imageSource1 = Reveal.getSlide( 0 ).getAttribute( 'data-background-image' );
|
||||||
|
var imageSource2 = Reveal.getSlide( 1, 0 ).getAttribute( 'data-background' );
|
||||||
|
|
||||||
|
// check that the images are applied to the background elements
|
||||||
|
ok( Reveal.getSlideBackground( 0 ).style.backgroundImage.indexOf( imageSource1 ) !== -1, 'data-background-image worked' );
|
||||||
|
ok( Reveal.getSlideBackground( 1, 0 ).style.backgroundImage.indexOf( imageSource2 ) !== -1, 'data-background worked' );
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------
|
// ---------------------------------------------------------------
|
||||||
// EVENT TESTS
|
// EVENT TESTS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue