reveal-ck 0.6.2 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +38 -6
  3. data/files/reveal-ck/templates/index.html/head.html.erb +8 -4
  4. data/files/reveal-ck/templates/index.html/script.js.erb +4 -3
  5. data/files/reveal.js/CONTRIBUTING.md +1 -2
  6. data/files/reveal.js/Gruntfile.js +3 -2
  7. data/files/reveal.js/LICENSE +1 -1
  8. data/files/reveal.js/README.md +88 -23
  9. data/files/reveal.js/css/print/pdf.css +2 -11
  10. data/files/reveal.js/css/reveal.css +1 -41
  11. data/files/reveal.js/css/reveal.scss +1 -42
  12. data/files/reveal.js/css/theme/beige.css +5 -10
  13. data/files/reveal.js/css/theme/black.css +33 -30
  14. data/files/reveal.js/css/theme/blood.css +4 -3
  15. data/files/reveal.js/css/theme/{default.css → league.css} +8 -11
  16. data/files/reveal.js/css/theme/moon.css +5 -10
  17. data/files/reveal.js/css/theme/night.css +4 -3
  18. data/files/reveal.js/css/theme/serif.css +4 -3
  19. data/files/reveal.js/css/theme/simple.css +4 -3
  20. data/files/reveal.js/css/theme/sky.css +4 -3
  21. data/files/reveal.js/css/theme/solarized.css +5 -10
  22. data/files/reveal.js/css/theme/source/beige.scss +1 -12
  23. data/files/reveal.js/css/theme/source/black.scss +17 -12
  24. data/files/reveal.js/css/theme/source/{default.scss → league.scss} +4 -13
  25. data/files/reveal.js/css/theme/source/moon.scss +1 -12
  26. data/files/reveal.js/css/theme/source/solarized.scss +1 -12
  27. data/files/reveal.js/css/theme/source/white.scss +49 -0
  28. data/files/reveal.js/css/theme/template/settings.scss +5 -1
  29. data/files/reveal.js/css/theme/template/theme.scss +4 -3
  30. data/files/reveal.js/css/theme/white.css +261 -0
  31. data/files/reveal.js/index.html +171 -174
  32. data/files/reveal.js/js/reveal.js +32 -36
  33. data/files/reveal.js/lib/font/{league_gothic_license → league-gothic/LICENSE} +0 -0
  34. data/files/reveal.js/lib/font/league-gothic/league-gothic.css +10 -0
  35. data/files/reveal.js/lib/font/league-gothic/league-gothic.eot +0 -0
  36. data/files/reveal.js/lib/font/league-gothic/league-gothic.ttf +0 -0
  37. data/files/reveal.js/lib/font/league-gothic/league-gothic.woff +0 -0
  38. data/files/reveal.js/lib/font/source-sans-pro/LICENSE +45 -0
  39. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
  40. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
  41. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
  42. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
  43. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
  44. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
  45. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
  46. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
  47. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
  48. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
  49. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
  50. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
  51. data/files/reveal.js/lib/font/source-sans-pro/source-sans-pro.css +39 -0
  52. data/files/reveal.js/package.json +1 -1
  53. data/files/reveal.js/plugin/zoom-js/zoom.js +13 -1
  54. data/lib/reveal-ck/config.rb +1 -1
  55. data/lib/reveal-ck/version.rb +1 -1
  56. data/spec/lib/reveal-ck/config_spec.rb +2 -2
  57. metadata +27 -11
  58. data/files/reveal.js/lib/font/league_gothic-webfont.eot +0 -0
  59. data/files/reveal.js/lib/font/league_gothic-webfont.svg +0 -230
  60. data/files/reveal.js/lib/font/league_gothic-webfont.ttf +0 -0
  61. data/files/reveal.js/lib/font/league_gothic-webfont.woff +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76630b76941f3736b93bb84794bef7afac6223bd
4
- data.tar.gz: 0ad0489bf9dc82923213e3fa9c70edd4f7ef36c0
3
+ metadata.gz: 326550c5783a95e1f60f361f50d37c0cb063df3d
4
+ data.tar.gz: a31a0779c867b6f1b8f2f84d9adc1ae7e6ced035
5
5
  SHA512:
6
- metadata.gz: 82b2f640d34bf6556c29724d9280f55f3398b3d3c0c03818f963796a658527692fb3f53792c30d59a0bef9946df6763475e50dfce0a2a2ea8f4223824a8a9df1
7
- data.tar.gz: bdf45ad90615ccde4081d82bf3489d6ddbf4105008a0b3627bcf831519fae969f24673b4e72ddb3c4ce3cd429bdb3af274617a1e219ddd79c96635b2e353c3c3
6
+ metadata.gz: 914090696dcd8af028fa25f6121e0c884676d4ecbe2ca38ffa5438870c55398bd4ff4869132122006df19cce59280c56f908aad04a0c5b79bf9b9464e058bcce
7
+ data.tar.gz: d6ef35777116ea2c6ac947b94993399f2458fde925b949b292be393f8c80deead2b403664cda8e2d88368ca671149e25f1e2b557d0a8cd8b7c1d5780e36c0231
data/README.md CHANGED
@@ -4,6 +4,15 @@
4
4
 
5
5
  reveal-ck helps you author [reveal.js][reveal.js] presentations.
6
6
 
7
+ You can create slides in numerous languages, but the most popular is
8
+ Markdown. And not just any markdown-- it's markdown like you write on
9
+ https://github.com, so it supports:
10
+
11
+ * emoji (:money_with_wings:)
12
+ * automatic links (https://github.com)
13
+ * @mentions (@jedcn)
14
+ * GFM tables
15
+
7
16
  ## How do I get started?
8
17
 
9
18
  * Install [the reveal-ck gem][reveal-ck-gem]
@@ -17,18 +26,41 @@ reveal-ck helps you author [reveal.js][reveal.js] presentations.
17
26
  * content
18
27
  * in a single file
19
28
  ---
20
- 1. markdown
21
- 2. html
22
- 3. erb
23
- 4. haml
24
- 5. slim
25
- 6. ruby
29
+ ## Slides are Separated with `---`
30
+ ---
31
+ ## Vertical Sections..
32
+ Start and End with `***`
33
+ ***
34
+ These
35
+ ---
36
+ Slides
26
37
  ---
38
+ Are
39
+ ---
40
+ Vertical!!
41
+ ***
27
42
  ## :zap: LiveReload is builtin :zap:
43
+ with `reveal-ck serve`
44
+ ---
45
+ ## :metal: emoji comes standard :money_with_wings:
46
+ ---
47
+ ## What's up with the "-ck"?
48
+ It stands for construction kit.
49
+ ---
50
+ # So, if you're not
51
+ a fan of Markdown you can also use
52
+
53
+ 1. html
54
+ 2. erb
55
+ 3. haml
56
+ 4. slim
57
+ 5. ruby (DSL)
28
58
  ---
29
59
  ## See also:
30
60
  http://jedcn.github.io/reveal-ck/
31
61
  ---
62
+ ## Might be helpful:
63
+ https://relishapp.com/jedcn/reveal-ck/
32
64
  ## Questions? Problems?
33
65
  Let me know, @jedcn
34
66
  ---
@@ -8,12 +8,12 @@
8
8
  <meta name="apple-mobile-web-app-capable" content="yes" />
9
9
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
10
10
 
11
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
11
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
12
12
 
13
13
  <link rel="stylesheet" href="css/reveal.css">
14
14
  <link rel="stylesheet" href="css/theme/<%= config.theme %>.css" id="theme">
15
15
 
16
- <!-- For syntax highlighting -->
16
+ <!-- Code syntax highlighting -->
17
17
  <link rel="stylesheet" href="lib/css/zenburn.css">
18
18
 
19
19
  <link rel="stylesheet" href="css/reveal-ck.css">
@@ -22,9 +22,13 @@
22
22
  <link rel="stylesheet" href="<%= file %>">
23
23
  <% end %>
24
24
 
25
- <!-- If the query includes 'print-pdf', use the PDF print sheet -->
25
+ <!-- Printing and PDF exports -->
26
26
  <script>
27
- document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
27
+ var link = document.createElement( 'link' );
28
+ link.rel = 'stylesheet';
29
+ link.type = 'text/css';
30
+ link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
31
+ document.getElementsByTagName( 'head' )[0].appendChild( link );
28
32
  </script>
29
33
 
30
34
  <!--[if lt IE 9]>
@@ -6,13 +6,14 @@
6
6
  }
7
7
  var baseOptions = {
8
8
  transition: '<%= config.transition %>',
9
+
9
10
  dependencies: [
10
11
  { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
11
12
  { src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
12
13
  { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
13
- { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
14
- { src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
15
- { src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
14
+ { src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
15
+ { src: 'plugin/zoom-js/zoom.js', async: true },
16
+ { src: 'plugin/notes/notes.js', async: true }
16
17
  ]
17
18
  };
18
19
  var configOptions = <%= config.revealjs_config.to_json %>
@@ -4,7 +4,7 @@ Please keep the [issue tracker](http://github.com/hakimel/reveal.js/issues) limi
4
4
 
5
5
 
6
6
  ### Personal Support
7
- If you have personal support or setup questions the best place to ask those are [StackOverflow](http://stackoverflow.com/questions/tagged/reveal.js).
7
+ If you have personal support or setup questions the best place to ask those are [StackOverflow](http://stackoverflow.com/questions/tagged/reveal.js).
8
8
 
9
9
 
10
10
  ### Bug Reports
@@ -17,4 +17,3 @@ When reporting a bug make sure to include information about which browser and op
17
17
  - Single-quoted strings
18
18
  - Should be made towards the **dev branch**
19
19
  - Should be submitted from a feature/topic branch (not your master)
20
- - Should not include the minified **reveal.min.js** or **reveal.min.css** files
@@ -11,7 +11,7 @@ module.exports = function(grunt) {
11
11
  ' * http://lab.hakim.se/reveal-js\n' +
12
12
  ' * MIT licensed\n' +
13
13
  ' *\n' +
14
- ' * Copyright (C) 2014 Hakim El Hattab, http://hakim.se\n' +
14
+ ' * Copyright (C) 2015 Hakim El Hattab, http://hakim.se\n' +
15
15
  ' */'
16
16
  },
17
17
 
@@ -37,8 +37,9 @@ module.exports = function(grunt) {
37
37
  },
38
38
  themes: {
39
39
  files: {
40
- 'css/theme/default.css': 'css/theme/source/default.scss',
41
40
  'css/theme/black.css': 'css/theme/source/black.scss',
41
+ 'css/theme/white.css': 'css/theme/source/white.scss',
42
+ 'css/theme/league.css': 'css/theme/source/league.scss',
42
43
  'css/theme/beige.css': 'css/theme/source/beige.scss',
43
44
  'css/theme/night.css': 'css/theme/source/night.scss',
44
45
  'css/theme/serif.css': 'css/theme/source/serif.scss',
@@ -1,4 +1,4 @@
1
- Copyright (C) 2014 Hakim El Hattab, http://hakim.se
1
+ Copyright (C) 2015 Hakim El Hattab, http://hakim.se
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
@@ -1,8 +1,8 @@
1
- # reveal.js [![Build Status](https://travis-ci.org/hakimel/reveal.js.png?branch=master)](https://travis-ci.org/hakimel/reveal.js)
1
+ # reveal.js [![Build Status](https://travis-ci.org/hakimel/reveal.js.svg?branch=master)](https://travis-ci.org/hakimel/reveal.js)
2
2
 
3
3
  A framework for easily creating beautiful presentations using HTML. [Check out the live demo](http://lab.hakim.se/reveal-js/).
4
4
 
5
- reveal.js comes with a broad range of features including [nested slides](https://github.com/hakimel/reveal.js#markup), [markdown contents](https://github.com/hakimel/reveal.js#markdown), [PDF export](https://github.com/hakimel/reveal.js#pdf-export), [speaker notes](https://github.com/hakimel/reveal.js#speaker-notes) and a [JavaScript API](https://github.com/hakimel/reveal.js#api). It's best viewed in a browser with support for CSS 3D transforms but [fallbacks](https://github.com/hakimel/reveal.js/wiki/Browser-Support) are available to make sure your presentation can still be viewed elsewhere.
5
+ reveal.js comes with a broad range of features including [nested slides](https://github.com/hakimel/reveal.js#markup), [Markdown contents](https://github.com/hakimel/reveal.js#markdown), [PDF export](https://github.com/hakimel/reveal.js#pdf-export), [speaker notes](https://github.com/hakimel/reveal.js#speaker-notes) and a [JavaScript API](https://github.com/hakimel/reveal.js#api). It's best viewed in a modern browser but [fallbacks](https://github.com/hakimel/reveal.js/wiki/Browser-Support) are available to make sure your presentation can still be viewed elsewhere.
6
6
 
7
7
 
8
8
  #### More reading:
@@ -13,7 +13,7 @@ reveal.js comes with a broad range of features including [nested slides](https:/
13
13
 
14
14
  ## Online Editor
15
15
 
16
- 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).
16
+ 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).
17
17
 
18
18
 
19
19
  ## Instructions
@@ -230,6 +230,17 @@ You can add your own extensions using the same syntax. The following properties
230
230
  - **condition**: [optional] Function which must return true for the script to be loaded
231
231
 
232
232
 
233
+ ### Ready Event
234
+
235
+ A 'ready' event is fired when reveal.js has loaded all non-async dependencies and is ready to start navigating. To check if reveal.js is already 'ready' you can call `Reveal.isReady()`.
236
+
237
+ ```javascript
238
+ Reveal.addEventListener( 'ready', function( event ) {
239
+ // event.currentSlide, event.indexh, event.indexv
240
+ } );
241
+ ```
242
+
243
+
233
244
  ### Presentation Size
234
245
 
235
246
  All presentations have a normal size, that is the resolution at which they are authored. The framework will automatically scale presentations uniformly based on this size to ensure that everything fits on any given display or viewport.
@@ -252,7 +263,7 @@ Reveal.initialize({
252
263
 
253
264
  // Bounds for smallest/largest possible scale to apply to content
254
265
  minScale: 0.2,
255
- maxScale: 1.0
266
+ maxScale: 1.5
256
267
 
257
268
  });
258
269
  ```
@@ -306,7 +317,7 @@ To enable lazy loading all you need to do is change your "src" attributes to "da
306
317
  ```html
307
318
  <section>
308
319
  <img data-src="image.png">
309
- <iframe data-src="http://slides.com">
320
+ <iframe data-src="http://slides.com"></iframe>
310
321
  <video>
311
322
  <source data-src="video.webm" type="video/webm" />
312
323
  <source data-src="video.mp4" type="video/mp4" />
@@ -317,7 +328,7 @@ To enable lazy loading all you need to do is change your "src" attributes to "da
317
328
 
318
329
  ### API
319
330
 
320
- The ``Reveal`` class provides a JavaScript API for controlling navigation and reading state:
331
+ The ``Reveal`` object exposes a JavaScript API for controlling navigation and reading state:
321
332
 
322
333
  ```javascript
323
334
  // Navigation
@@ -330,15 +341,28 @@ Reveal.prev();
330
341
  Reveal.next();
331
342
  Reveal.prevFragment();
332
343
  Reveal.nextFragment();
344
+
345
+ // Toggle presentation states, optionally pass true/false to force on/off
333
346
  Reveal.toggleOverview();
334
347
  Reveal.togglePause();
335
348
  Reveal.toggleAutoSlide();
336
349
 
350
+ // Change a config value at runtime
351
+ Reveal.configure({ controls: true });
352
+
353
+ // Returns the present configuration options
354
+ Reveal.getConfig();
355
+
356
+ // Fetch the current scale of the presentation
357
+ Reveal.getScale();
358
+
337
359
  // Retrieves the previous and current slide elements
338
360
  Reveal.getPreviousSlide();
339
361
  Reveal.getCurrentSlide();
340
362
 
341
363
  Reveal.getIndices(); // { h: 0, v: 0 } }
364
+ Reveal.getProgress(); // 0-1
365
+ Reveal.getTotalSlides();
342
366
 
343
367
  // State checks
344
368
  Reveal.isFirstSlide();
@@ -348,16 +372,6 @@ Reveal.isPaused();
348
372
  Reveal.isAutoSliding();
349
373
  ```
350
374
 
351
- ### Ready Event
352
-
353
- The 'ready' event is fired when reveal.js has loaded all (synchronous) dependencies and is ready to start navigating.
354
-
355
- ```javascript
356
- Reveal.addEventListener( 'ready', function( event ) {
357
- // event.currentSlide, event.indexh, event.indexv
358
- } );
359
- ```
360
-
361
375
  ### Slide Changed Event
362
376
 
363
377
  An 'slidechanged' event is fired each time the slide is changed (regardless of state). The event object holds the index values of the current slide as well as a reference to the previous and current slide HTML nodes.
@@ -370,8 +384,24 @@ Reveal.addEventListener( 'slidechanged', function( event ) {
370
384
  } );
371
385
  ```
372
386
 
387
+ ### Presentation State
388
+
389
+ The presentation's current state can be fetched by using the `getState` method. A state object contains all of the information required to put the presentation back as it was when `getState` was first called. Sort of like a snapshot. It's a simple object that can easily be stringified and persisted or sent over the wire.
373
390
 
374
- ### States
391
+ ```javascript
392
+ Reveal.slide( 1 );
393
+ // we're on slide 1
394
+
395
+ var state = Reveal.getState();
396
+
397
+ Reveal.slide( 3 );
398
+ // we're on slide 3
399
+
400
+ Reveal.setState( state );
401
+ // we're back on slide 1
402
+ ```
403
+
404
+ ### Slide States
375
405
 
376
406
  If you set ``data-state="somestate"`` on a slide ``<section>``, "somestate" will be applied as a class on the document element when that slide is opened. This allows you to apply broad style changes to the page based on the active slide.
377
407
 
@@ -590,10 +620,43 @@ Limitations:
590
620
  - Only one descendant per slide section can be stretched
591
621
 
592
622
 
623
+ ### postMessage API
624
+ The framework has a built-in postMessage API that can be used when communicating with a presentation inside of another window. Here's an example showing how you'd make a reveal.js instance in the given window proceed to slide 2:
625
+
626
+ ```javascript
627
+ <window>.postMessage( JSON.stringify({ method: 'slide', args: [ 2 ] }), '*' );
628
+ ```
629
+
630
+ When reveal.js runs inside of an iframe it can optionally bubble all of its events to the parent. Bubbled events are stringified JSON with three fields: namespace, eventName and state. Here's how you subscribe to them from the parent window:
631
+
632
+ ```javascript
633
+ window.addEventListener( 'message', function( event ) {
634
+ var data = JSON.parse( event.data );
635
+ if( data.namespace === 'reveal' && data.eventName ='slidechanged' ) {
636
+ // Slide changed, see data.state for slide number
637
+ }
638
+ } );
639
+ ```
640
+
641
+ This cross-window messaging can be toggled on or off using configuration flags.
642
+
643
+ ```javascript
644
+ Reveal.initialize({
645
+ ...,
646
+
647
+ // Exposes the reveal.js API through window.postMessage
648
+ postMessage: true,
649
+
650
+ // Dispatches all reveal.js events to the parent window through postMessage
651
+ postMessageEvents: false
652
+ });
653
+ ```
654
+
655
+
593
656
  ## PDF Export
594
657
 
595
658
  Presentations can be exported to PDF via a special print stylesheet. This feature requires that you use [Google Chrome](http://google.com/chrome).
596
- Here's an example of an exported presentation that's been uploaded to SlideShare: http://www.slideshare.net/hakimel/revealjs-13872948.
659
+ Here's an example of an exported presentation that's been uploaded to SlideShare: http://www.slideshare.net/hakimel/revealjs-300.
597
660
 
598
661
  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).
599
662
  2. Open the in-browser print dialog (CMD+P).
@@ -608,7 +671,9 @@ Here's an example of an exported presentation that's been uploaded to SlideShare
608
671
 
609
672
  The framework comes with a few different themes included:
610
673
 
611
- - default: Gray background, white text, blue links
674
+ - black: Black background, white text, blue links (default theme)
675
+ - white: White background, black text, blue links
676
+ - league: Gray background, white text, blue links (default theme for reveal.js < 3.0.0)
612
677
  - beige: Beige background, dark text, brown links
613
678
  - sky: Blue background, thin white text, blue links
614
679
  - night: Black background, thick white text, orange links
@@ -616,10 +681,10 @@ The framework comes with a few different themes included:
616
681
  - simple: White background, black text, blue links
617
682
  - solarized: Cream-colored background, dark green text, blue links
618
683
 
619
- Each theme is available as a separate stylesheet. To change theme you will need to replace **default** below with your desired theme name in index.html:
684
+ Each theme is available as a separate stylesheet. To change theme you will need to replace **black** below with your desired theme name in index.html:
620
685
 
621
686
  ```html
622
- <link rel="stylesheet" href="css/theme/default.css" id="theme">
687
+ <link rel="stylesheet" href="css/theme/black.css" id="theme">
623
688
  ```
624
689
 
625
690
  If you want to add a theme of your own see the instructions here: [/css/theme/README.md](https://github.com/hakimel/reveal.js/blob/master/css/theme/README.md).
@@ -903,7 +968,7 @@ The core of reveal.js is very easy to install. You'll simply need to download a
903
968
 
904
969
  ### Full setup
905
970
 
906
- Some reveal.js features, like external markdown and speaker notes, require that presentations run from a local web server. The following instructions will set up such a server as well as all of the development tasks needed to make edits to the reveal.js source code.
971
+ Some reveal.js features, like external Markdown and speaker notes, require that presentations run from a local web server. The following instructions will set up such a server as well as all of the development tasks needed to make edits to the reveal.js source code.
907
972
 
908
973
  1. Install [Node.js](http://nodejs.org/)
909
974
 
@@ -945,4 +1010,4 @@ Some reveal.js features, like external markdown and speaker notes, require that
945
1010
 
946
1011
  MIT licensed
947
1012
 
948
- Copyright (C) 2014 Hakim El Hattab, http://hakim.se
1013
+ Copyright (C) 2015 Hakim El Hattab, http://hakim.se
@@ -56,22 +56,13 @@ h1,h2,h3,h4,h5,h6 {
56
56
  text-shadow: 0 0 0 #000 !important;
57
57
  }
58
58
 
59
- /* SECTION 5: Make hyperlinks more usable.
60
- Ensure links are underlined, and consider appending
61
- the URL to the end of the link for usability. */
62
- a:link,
63
- a:visited {
64
- font-weight: normal;
65
- text-decoration: underline;
66
- }
67
-
68
59
  .reveal pre code {
69
60
  overflow: hidden !important;
70
61
  font-family: Courier, 'Courier New', monospace !important;
71
62
  }
72
63
 
73
64
 
74
- /* SECTION 6: more reveal.js specific additions by @skypanther */
65
+ /* SECTION 5: more reveal.js specific additions by @skypanther */
75
66
  ul, ol, div, p {
76
67
  visibility: visible;
77
68
  position: static;
@@ -156,7 +147,7 @@ ul, ol, div, p {
156
147
  top: 0;
157
148
  left: 0;
158
149
  width: 100%;
159
- z-index: 0;
150
+ z-index: -1;
160
151
  }
161
152
  /* All elements should be above the slide-background */
162
153
  .reveal section>* {
@@ -3,7 +3,7 @@
3
3
  * http://lab.hakim.se/reveal-js
4
4
  * MIT licensed
5
5
  *
6
- * Copyright (C) 2014 Hakim El Hattab, http://hakim.se
6
+ * Copyright (C) 2015 Hakim El Hattab, http://hakim.se
7
7
  */
8
8
  /*********************************************
9
9
  * RESET STYLES
@@ -290,8 +290,6 @@ body {
290
290
  overflow: visible;
291
291
  z-index: 1;
292
292
  text-align: center;
293
- -webkit-transition: -webkit-perspective 0.4s ease;
294
- transition: perspective 0.4s ease;
295
293
  -webkit-perspective: 600px;
296
294
  perspective: 600px;
297
295
  -webkit-perspective-origin: 50% 40%;
@@ -729,44 +727,6 @@ body {
729
727
  -webkit-transition: none !important;
730
728
  transition: none !important; }
731
729
 
732
- /*********************************************
733
- * BACKGROUND STATES [DEPRECATED]
734
- *********************************************/
735
- .reveal .state-background {
736
- position: absolute;
737
- width: 100%;
738
- height: 100%;
739
- background: rgba(0, 0, 0, 0);
740
- -webkit-transition: background 800ms ease;
741
- transition: background 800ms ease; }
742
-
743
- .alert .reveal .state-background {
744
- background: rgba(200, 50, 30, 0.6); }
745
-
746
- .soothe .reveal .state-background {
747
- background: rgba(50, 200, 90, 0.4); }
748
-
749
- .blackout .reveal .state-background {
750
- background: rgba(0, 0, 0, 0.6); }
751
-
752
- .whiteout .reveal .state-background {
753
- background: rgba(255, 255, 255, 0.6); }
754
-
755
- .cobalt .reveal .state-background {
756
- background: rgba(22, 152, 213, 0.6); }
757
-
758
- .mint .reveal .state-background {
759
- background: rgba(22, 213, 75, 0.6); }
760
-
761
- .submerge .reveal .state-background {
762
- background: rgba(12, 25, 77, 0.6); }
763
-
764
- .lila .reveal .state-background {
765
- background: rgba(180, 50, 140, 0.6); }
766
-
767
- .sunset .reveal .state-background {
768
- background: rgba(255, 122, 0, 0.6); }
769
-
770
730
  /*********************************************
771
731
  * PER-SLIDE BACKGROUNDS
772
732
  *********************************************/