slideparts 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +3 -0
  5. data/Gemfile +8 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +40 -0
  8. data/Rakefile +7 -0
  9. data/bin/slide +5 -0
  10. data/lib/slide_template/Guardfile +3 -0
  11. data/lib/slide_template/_layouts/default.html.erb +74 -0
  12. data/lib/slide_template/css/print/paper.css +202 -0
  13. data/lib/slide_template/css/print/pdf.css +157 -0
  14. data/lib/slide_template/css/reveal.css +1141 -0
  15. data/lib/slide_template/css/reveal.scss +1316 -0
  16. data/lib/slide_template/css/theme/README.md +25 -0
  17. data/lib/slide_template/css/theme/beige.css +265 -0
  18. data/lib/slide_template/css/theme/black.css +261 -0
  19. data/lib/slide_template/css/theme/blood.css +291 -0
  20. data/lib/slide_template/css/theme/league.css +267 -0
  21. data/lib/slide_template/css/theme/moon.css +265 -0
  22. data/lib/slide_template/css/theme/night.css +259 -0
  23. data/lib/slide_template/css/theme/serif.css +261 -0
  24. data/lib/slide_template/css/theme/simple.css +261 -0
  25. data/lib/slide_template/css/theme/sky.css +268 -0
  26. data/lib/slide_template/css/theme/solarized.css +265 -0
  27. data/lib/slide_template/css/theme/source/beige.scss +39 -0
  28. data/lib/slide_template/css/theme/source/black.scss +49 -0
  29. data/lib/slide_template/css/theme/source/blood.scss +91 -0
  30. data/lib/slide_template/css/theme/source/league.scss +34 -0
  31. data/lib/slide_template/css/theme/source/moon.scss +57 -0
  32. data/lib/slide_template/css/theme/source/night.scss +35 -0
  33. data/lib/slide_template/css/theme/source/serif.scss +35 -0
  34. data/lib/slide_template/css/theme/source/simple.scss +38 -0
  35. data/lib/slide_template/css/theme/source/sky.scss +46 -0
  36. data/lib/slide_template/css/theme/source/solarized.scss +63 -0
  37. data/lib/slide_template/css/theme/source/white.scss +49 -0
  38. data/lib/slide_template/css/theme/template/mixins.scss +29 -0
  39. data/lib/slide_template/css/theme/template/settings.scss +43 -0
  40. data/lib/slide_template/css/theme/template/theme.scss +339 -0
  41. data/lib/slide_template/css/theme/white.css +261 -0
  42. data/lib/slide_template/index.haml +5 -0
  43. data/lib/slide_template/js/reveal.js +4276 -0
  44. data/lib/slide_template/lib/css/zenburn.css +117 -0
  45. data/lib/slide_template/lib/font/league-gothic/LICENSE +2 -0
  46. data/lib/slide_template/lib/font/league-gothic/league-gothic.css +10 -0
  47. data/lib/slide_template/lib/font/league-gothic/league-gothic.eot +0 -0
  48. data/lib/slide_template/lib/font/league-gothic/league-gothic.ttf +0 -0
  49. data/lib/slide_template/lib/font/league-gothic/league-gothic.woff +0 -0
  50. data/lib/slide_template/lib/font/source-sans-pro/LICENSE +45 -0
  51. data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
  52. data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
  53. data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
  54. data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
  55. data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
  56. data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
  57. data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
  58. data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
  59. data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
  60. data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
  61. data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
  62. data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
  63. data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro.css +39 -0
  64. data/lib/slide_template/lib/js/classList.js +2 -0
  65. data/lib/slide_template/lib/js/head.min.js +8 -0
  66. data/lib/slide_template/lib/js/html5shiv.js +7 -0
  67. data/lib/slide_template/plugin/highlight/highlight.js +30 -0
  68. data/lib/slide_template/plugin/leap/leap.js +159 -0
  69. data/lib/slide_template/plugin/markdown/example.html +129 -0
  70. data/lib/slide_template/plugin/markdown/example.md +31 -0
  71. data/lib/slide_template/plugin/markdown/markdown.js +393 -0
  72. data/lib/slide_template/plugin/markdown/marked.js +37 -0
  73. data/lib/slide_template/plugin/math/math.js +64 -0
  74. data/lib/slide_template/plugin/multiplex/client.js +13 -0
  75. data/lib/slide_template/plugin/multiplex/index.js +56 -0
  76. data/lib/slide_template/plugin/multiplex/master.js +51 -0
  77. data/lib/slide_template/plugin/notes-server/client.js +60 -0
  78. data/lib/slide_template/plugin/notes-server/index.js +66 -0
  79. data/lib/slide_template/plugin/notes-server/notes.html +396 -0
  80. data/lib/slide_template/plugin/notes/notes.html +406 -0
  81. data/lib/slide_template/plugin/notes/notes.js +122 -0
  82. data/lib/slide_template/plugin/print-pdf/print-pdf.js +48 -0
  83. data/lib/slide_template/plugin/remotes/remotes.js +39 -0
  84. data/lib/slide_template/plugin/search/search.js +196 -0
  85. data/lib/slide_template/plugin/zoom-js/zoom.js +278 -0
  86. data/lib/slideparts.rb +20 -0
  87. data/lib/slideparts/command.rb +38 -0
  88. data/lib/slideparts/commands/build.rb +34 -0
  89. data/lib/slideparts/commands/new.rb +23 -0
  90. data/lib/slideparts/commands/server.rb +26 -0
  91. data/lib/slideparts/version.rb +3 -0
  92. data/slideparts.gemspec +24 -0
  93. data/spec/command_spec.rb +9 -0
  94. data/spec/spec_helper.rb +2 -0
  95. metadata +182 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f90f6504d3ee5d48e5446bf68c5df3ba8adaba17
4
+ data.tar.gz: 07efee8d4874e1189138429aae28e828bca3d87d
5
+ SHA512:
6
+ metadata.gz: 0869f467122e21f229a8d8f0ff345ed1535e2a9ee8fe15446657955d1c9242951e67339440e94ac237956fc031c50280d1581845252100049448cc12e8d4b915
7
+ data.tar.gz: e925ce28137be1f4421138511480125da4d59e5c058367240d6597b464dd7dd34a46432301eb85f992f862216407cf822cb82090c7ef6236ea5e82d86cd60768
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.3
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in slideparts.gemspec
4
+ gemspec
5
+
6
+ gem 'haml'
7
+
8
+ gem 'rspec-mocks'
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 ino_h
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # Slideparts
2
+
3
+ Slidepartsはスライドをコマンドベースで簡単に作成できます。
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'slideparts'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install slideparts
20
+
21
+ ## Usage
22
+
23
+ create project:
24
+
25
+ $ slide new sample_slide
26
+ $ cd sample_slide
27
+ $ slide build
28
+ $ slide server
29
+
30
+ access:
31
+
32
+ http://localhost:3000/
33
+
34
+ ## Contributing
35
+
36
+ 1. Fork it ( https://github.com/[my-github-username]/slideparts/fork )
37
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
38
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
39
+ 4. Push to the branch (`git push origin my-new-feature`)
40
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
7
+
data/bin/slide ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'slideparts'
4
+
5
+ Slideparts::Command.execute
@@ -0,0 +1,3 @@
1
+ guard :shell do
2
+ watch(/(.*).haml/) {|m| `slide build` }
3
+ end
@@ -0,0 +1,74 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="utf-8">
6
+
7
+ <title>reveal.js - The HTML Presentation Framework</title>
8
+
9
+ <meta name="description" content="A framework for easily creating beautiful presentations using HTML">
10
+ <meta name="author" content="Hakim El Hattab">
11
+
12
+ <meta name="apple-mobile-web-app-capable" content="yes" />
13
+ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
14
+
15
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
16
+
17
+ <link rel="stylesheet" href="css/reveal.css">
18
+ <link rel="stylesheet" href="css/theme/black.css" id="theme">
19
+
20
+ <!-- Code syntax highlighting -->
21
+ <link rel="stylesheet" href="lib/css/zenburn.css">
22
+
23
+ <!-- Printing and PDF exports -->
24
+ <script>
25
+ var link = document.createElement( 'link' );
26
+ link.rel = 'stylesheet';
27
+ link.type = 'text/css';
28
+ link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
29
+ document.getElementsByTagName( 'head' )[0].appendChild( link );
30
+ </script>
31
+
32
+ <!--[if lt IE 9]>
33
+ <script src="lib/js/html5shiv.js"></script>
34
+ <![endif]-->
35
+ </head>
36
+
37
+ <body>
38
+
39
+ <div class="reveal">
40
+
41
+ <!-- Any section element inside of this container is displayed as a slide -->
42
+ <div class="slides"><%= @slides %></div>
43
+ </div>
44
+
45
+ <script src="lib/js/head.min.js"></script>
46
+ <script src="js/reveal.js"></script>
47
+
48
+ <script>
49
+
50
+ // Full list of configuration options available at:
51
+ // https://github.com/hakimel/reveal.js#configuration
52
+ Reveal.initialize({
53
+ controls: true,
54
+ progress: true,
55
+ history: true,
56
+ center: true,
57
+
58
+ transition: 'slide', // none/fade/slide/convex/concave/zoom
59
+
60
+ // Optional reveal.js plugins
61
+ dependencies: [
62
+ { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
63
+ { src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
64
+ { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
65
+ { src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
66
+ { src: 'plugin/zoom-js/zoom.js', async: true },
67
+ { src: 'plugin/notes/notes.js', async: true }
68
+ ]
69
+ });
70
+
71
+ </script>
72
+
73
+ </body>
74
+ </html>
@@ -0,0 +1,202 @@
1
+ /* Default Print Stylesheet Template
2
+ by Rob Glazebrook of CSSnewbie.com
3
+ Last Updated: June 4, 2008
4
+
5
+ Feel free (nay, compelled) to edit, append, and
6
+ manipulate this file as you see fit. */
7
+
8
+
9
+ @media print {
10
+
11
+ /* SECTION 1: Set default width, margin, float, and
12
+ background. This prevents elements from extending
13
+ beyond the edge of the printed page, and prevents
14
+ unnecessary background images from printing */
15
+ html {
16
+ background: #fff;
17
+ width: auto;
18
+ height: auto;
19
+ overflow: visible;
20
+ }
21
+ body {
22
+ background: #fff;
23
+ font-size: 20pt;
24
+ width: auto;
25
+ height: auto;
26
+ border: 0;
27
+ margin: 0 5%;
28
+ padding: 0;
29
+ overflow: visible;
30
+ float: none !important;
31
+ }
32
+
33
+ /* SECTION 2: Remove any elements not needed in print.
34
+ This would include navigation, ads, sidebars, etc. */
35
+ .nestedarrow,
36
+ .controls,
37
+ .fork-reveal,
38
+ .share-reveal,
39
+ .state-background,
40
+ .reveal .progress,
41
+ .reveal .backgrounds {
42
+ display: none !important;
43
+ }
44
+
45
+ /* SECTION 3: Set body font face, size, and color.
46
+ Consider using a serif font for readability. */
47
+ body, p, td, li, div {
48
+ font-size: 20pt!important;
49
+ font-family: Georgia, "Times New Roman", Times, serif !important;
50
+ color: #000;
51
+ }
52
+
53
+ /* SECTION 4: Set heading font face, sizes, and color.
54
+ Differentiate your headings from your body text.
55
+ Perhaps use a large sans-serif for distinction. */
56
+ h1,h2,h3,h4,h5,h6 {
57
+ color: #000!important;
58
+ height: auto;
59
+ line-height: normal;
60
+ font-family: Georgia, "Times New Roman", Times, serif !important;
61
+ text-shadow: 0 0 0 #000 !important;
62
+ text-align: left;
63
+ letter-spacing: normal;
64
+ }
65
+ /* Need to reduce the size of the fonts for printing */
66
+ h1 { font-size: 28pt !important; }
67
+ h2 { font-size: 24pt !important; }
68
+ h3 { font-size: 22pt !important; }
69
+ h4 { font-size: 22pt !important; font-variant: small-caps; }
70
+ h5 { font-size: 21pt !important; }
71
+ h6 { font-size: 20pt !important; font-style: italic; }
72
+
73
+ /* SECTION 5: Make hyperlinks more usable.
74
+ Ensure links are underlined, and consider appending
75
+ the URL to the end of the link for usability. */
76
+ a:link,
77
+ a:visited {
78
+ color: #000 !important;
79
+ font-weight: bold;
80
+ text-decoration: underline;
81
+ }
82
+ /*
83
+ .reveal a:link:after,
84
+ .reveal a:visited:after {
85
+ content: " (" attr(href) ") ";
86
+ color: #222 !important;
87
+ font-size: 90%;
88
+ }
89
+ */
90
+
91
+
92
+ /* SECTION 6: more reveal.js specific additions by @skypanther */
93
+ ul, ol, div, p {
94
+ visibility: visible;
95
+ position: static;
96
+ width: auto;
97
+ height: auto;
98
+ display: block;
99
+ overflow: visible;
100
+ margin: 0;
101
+ text-align: left !important;
102
+ }
103
+ .reveal pre,
104
+ .reveal table {
105
+ margin-left: 0;
106
+ margin-right: 0;
107
+ }
108
+ .reveal pre code {
109
+ padding: 20px;
110
+ border: 1px solid #ddd;
111
+ }
112
+ .reveal blockquote {
113
+ margin: 20px 0;
114
+ }
115
+ .reveal .slides {
116
+ position: static !important;
117
+ width: auto !important;
118
+ height: auto !important;
119
+
120
+ left: 0 !important;
121
+ top: 0 !important;
122
+ margin-left: 0 !important;
123
+ margin-top: 0 !important;
124
+ padding: 0 !important;
125
+ zoom: 1 !important;
126
+
127
+ overflow: visible !important;
128
+ display: block !important;
129
+
130
+ text-align: left !important;
131
+ -webkit-perspective: none;
132
+ -moz-perspective: none;
133
+ -ms-perspective: none;
134
+ perspective: none;
135
+
136
+ -webkit-perspective-origin: 50% 50%;
137
+ -moz-perspective-origin: 50% 50%;
138
+ -ms-perspective-origin: 50% 50%;
139
+ perspective-origin: 50% 50%;
140
+ }
141
+ .reveal .slides section {
142
+ visibility: visible !important;
143
+ position: static !important;
144
+ width: 100% !important;
145
+ height: auto !important;
146
+ display: block !important;
147
+ overflow: visible !important;
148
+
149
+ left: 0 !important;
150
+ top: 0 !important;
151
+ margin-left: 0 !important;
152
+ margin-top: 0 !important;
153
+ padding: 60px 20px !important;
154
+ z-index: auto !important;
155
+
156
+ opacity: 1 !important;
157
+
158
+ page-break-after: always !important;
159
+
160
+ -webkit-transform-style: flat !important;
161
+ -moz-transform-style: flat !important;
162
+ -ms-transform-style: flat !important;
163
+ transform-style: flat !important;
164
+
165
+ -webkit-transform: none !important;
166
+ -moz-transform: none !important;
167
+ -ms-transform: none !important;
168
+ transform: none !important;
169
+
170
+ -webkit-transition: none !important;
171
+ -moz-transition: none !important;
172
+ -ms-transition: none !important;
173
+ transition: none !important;
174
+ }
175
+ .reveal .slides section.stack {
176
+ padding: 0 !important;
177
+ }
178
+ .reveal section:last-of-type {
179
+ page-break-after: avoid !important;
180
+ }
181
+ .reveal section .fragment {
182
+ opacity: 1 !important;
183
+ visibility: visible !important;
184
+
185
+ -webkit-transform: none !important;
186
+ -moz-transform: none !important;
187
+ -ms-transform: none !important;
188
+ transform: none !important;
189
+ }
190
+ .reveal section img {
191
+ display: block;
192
+ margin: 15px 0px;
193
+ background: rgba(255,255,255,1);
194
+ border: 1px solid #666;
195
+ box-shadow: none;
196
+ }
197
+
198
+ .reveal section small {
199
+ font-size: 0.8em;
200
+ }
201
+
202
+ }
@@ -0,0 +1,157 @@
1
+ /* Default Print Stylesheet Template
2
+ by Rob Glazebrook of CSSnewbie.com
3
+ Last Updated: June 4, 2008
4
+
5
+ Feel free (nay, compelled) to edit, append, and
6
+ manipulate this file as you see fit. */
7
+
8
+
9
+ /* SECTION 1: Set default width, margin, float, and
10
+ background. This prevents elements from extending
11
+ beyond the edge of the printed page, and prevents
12
+ unnecessary background images from printing */
13
+
14
+ * {
15
+ -webkit-print-color-adjust: exact;
16
+ }
17
+
18
+ body {
19
+ margin: 0 auto !important;
20
+ border: 0;
21
+ padding: 0;
22
+ float: none !important;
23
+ overflow: visible;
24
+ }
25
+
26
+ html {
27
+ width: 100%;
28
+ height: 100%;
29
+ overflow: visible;
30
+ }
31
+
32
+ /* SECTION 2: Remove any elements not needed in print.
33
+ This would include navigation, ads, sidebars, etc. */
34
+ .nestedarrow,
35
+ .reveal .controls,
36
+ .reveal .progress,
37
+ .reveal .slide-number,
38
+ .reveal .playback,
39
+ .reveal.overview,
40
+ .fork-reveal,
41
+ .share-reveal,
42
+ .state-background {
43
+ display: none !important;
44
+ }
45
+
46
+ /* SECTION 3: Set body font face, size, and color.
47
+ Consider using a serif font for readability. */
48
+ body, p, td, li, div {
49
+
50
+ }
51
+
52
+ /* SECTION 4: Set heading font face, sizes, and color.
53
+ Differentiate your headings from your body text.
54
+ Perhaps use a large sans-serif for distinction. */
55
+ h1,h2,h3,h4,h5,h6 {
56
+ text-shadow: 0 0 0 #000 !important;
57
+ }
58
+
59
+ .reveal pre code {
60
+ overflow: hidden !important;
61
+ font-family: Courier, 'Courier New', monospace !important;
62
+ }
63
+
64
+
65
+ /* SECTION 5: more reveal.js specific additions by @skypanther */
66
+ ul, ol, div, p {
67
+ visibility: visible;
68
+ position: static;
69
+ width: auto;
70
+ height: auto;
71
+ display: block;
72
+ overflow: visible;
73
+ margin: auto;
74
+ }
75
+ .reveal {
76
+ width: auto !important;
77
+ height: auto !important;
78
+ overflow: hidden !important;
79
+ }
80
+ .reveal .slides {
81
+ position: static;
82
+ width: 100%;
83
+ height: auto;
84
+
85
+ left: auto;
86
+ top: auto;
87
+ margin: 0 !important;
88
+ padding: 0 !important;
89
+
90
+ overflow: visible;
91
+ display: block;
92
+
93
+ -webkit-perspective: none;
94
+ -moz-perspective: none;
95
+ -ms-perspective: none;
96
+ perspective: none;
97
+
98
+ -webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */
99
+ -moz-perspective-origin: 50% 50%;
100
+ -ms-perspective-origin: 50% 50%;
101
+ perspective-origin: 50% 50%;
102
+ }
103
+ .reveal .slides section {
104
+ page-break-after: always !important;
105
+
106
+ visibility: visible !important;
107
+ position: relative !important;
108
+ display: block !important;
109
+ position: relative !important;
110
+
111
+ margin: 0 !important;
112
+ padding: 0 !important;
113
+ box-sizing: border-box !important;
114
+ min-height: 1px;
115
+
116
+ opacity: 1 !important;
117
+
118
+ -webkit-transform-style: flat !important;
119
+ -moz-transform-style: flat !important;
120
+ -ms-transform-style: flat !important;
121
+ transform-style: flat !important;
122
+
123
+ -webkit-transform: none !important;
124
+ -moz-transform: none !important;
125
+ -ms-transform: none !important;
126
+ transform: none !important;
127
+ }
128
+ .reveal section.stack {
129
+ margin: 0 !important;
130
+ padding: 0 !important;
131
+ page-break-after: avoid !important;
132
+ height: auto !important;
133
+ min-height: auto !important;
134
+ }
135
+ .reveal img {
136
+ box-shadow: none;
137
+ }
138
+ .reveal .roll {
139
+ overflow: visible;
140
+ line-height: 1em;
141
+ }
142
+
143
+ /* Slide backgrounds are placed inside of their slide when exporting to PDF */
144
+ .reveal section .slide-background {
145
+ display: block !important;
146
+ position: absolute;
147
+ top: 0;
148
+ left: 0;
149
+ width: 100%;
150
+ z-index: -1;
151
+ }
152
+ /* All elements should be above the slide-background */
153
+ .reveal section>* {
154
+ position: relative;
155
+ z-index: 1;
156
+ }
157
+