eggplant 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/.gitignore +1 -0
  2. data/Gemfile +6 -0
  3. data/Gemfile.lock +66 -0
  4. data/README.md +30 -0
  5. data/Rakefile +8 -0
  6. data/bin/eggplant +5 -0
  7. data/eggplant.gemspec +34 -0
  8. data/lib/eggplant.rb +8 -0
  9. data/lib/eggplant/assets/css/eggplant/main.css +77 -0
  10. data/lib/eggplant/assets/css/vendor/deck.core.css +393 -0
  11. data/lib/eggplant/assets/css/vendor/extensions/deck.codemirror.css +89 -0
  12. data/lib/eggplant/assets/css/vendor/extensions/deck.goto.css +41 -0
  13. data/lib/eggplant/assets/css/vendor/extensions/deck.hash.css +13 -0
  14. data/lib/eggplant/assets/css/vendor/extensions/deck.menu.css +24 -0
  15. data/lib/eggplant/assets/css/vendor/extensions/deck.navigation.css +43 -0
  16. data/lib/eggplant/assets/css/vendor/extensions/deck.scale.css +16 -0
  17. data/lib/eggplant/assets/css/vendor/extensions/deck.status.css +14 -0
  18. data/lib/eggplant/assets/css/vendor/extensions/deck.subslides.css +9 -0
  19. data/lib/eggplant/assets/css/vendor/themes/neon.css +114 -0
  20. data/lib/eggplant/assets/css/vendor/themes/swiss.css +75 -0
  21. data/lib/eggplant/assets/css/vendor/themes/web-2.0.css +187 -0
  22. data/lib/eggplant/assets/css/vendor/transitions/fade.css +43 -0
  23. data/lib/eggplant/assets/css/vendor/transitions/horizontal-slide.css +79 -0
  24. data/lib/eggplant/assets/css/vendor/transitions/vertical-slide.css +97 -0
  25. data/lib/eggplant/assets/js/eggplant/main.js +38 -0
  26. data/lib/eggplant/assets/js/eggplant/remote.js +0 -0
  27. data/lib/eggplant/assets/js/vendor/coffee-script.js +8 -0
  28. data/lib/eggplant/assets/js/vendor/deck.core.js +457 -0
  29. data/lib/eggplant/assets/js/vendor/extensions/deck.goto.js +118 -0
  30. data/lib/eggplant/assets/js/vendor/extensions/deck.hash.js +113 -0
  31. data/lib/eggplant/assets/js/vendor/extensions/deck.menu.js +127 -0
  32. data/lib/eggplant/assets/js/vendor/extensions/deck.navigation.js +83 -0
  33. data/lib/eggplant/assets/js/vendor/extensions/deck.scale.js +155 -0
  34. data/lib/eggplant/assets/js/vendor/extensions/deck.status.js +42 -0
  35. data/lib/eggplant/assets/js/vendor/extensions/deck.subslides.js +50 -0
  36. data/lib/eggplant/assets/js/vendor/jquery.js +9046 -0
  37. data/lib/eggplant/assets/js/vendor/less.js +2769 -0
  38. data/lib/eggplant/assets/js/vendor/modernizr.js +1116 -0
  39. data/lib/eggplant/cli.rb +113 -0
  40. data/lib/eggplant/markdown.rb +76 -0
  41. data/lib/eggplant/server.rb +168 -0
  42. data/lib/eggplant/slides.rb +65 -0
  43. data/lib/eggplant/version.rb +3 -0
  44. data/lib/eggplant/views/remote.slim +17 -0
  45. data/lib/eggplant/views/show.slim +47 -0
  46. metadata +281 -0
@@ -0,0 +1 @@
1
+ public/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source :rubygems
2
+
3
+ gem 'rake'
4
+
5
+ # Specify your gem's dependencies in ..gemspec
6
+ gemspec
@@ -0,0 +1,66 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ eggplant (0.2.0)
5
+ albino
6
+ em-websocket
7
+ eventmachine (~> 1.0.0.beta)
8
+ nokogiri
9
+ rdiscount
10
+ sinatra (~> 1.2)
11
+ sinatra-assetpack
12
+ slim
13
+ thin
14
+ thor
15
+ uglifier
16
+
17
+ GEM
18
+ remote: http://rubygems.org/
19
+ specs:
20
+ addressable (2.2.6)
21
+ albino (1.3.3)
22
+ posix-spawn (>= 0.3.6)
23
+ daemons (1.1.4)
24
+ em-websocket (0.3.1)
25
+ addressable (>= 2.1.1)
26
+ eventmachine (>= 0.12.9)
27
+ eventmachine (1.0.0.beta.4)
28
+ execjs (1.2.9)
29
+ multi_json (~> 1.0)
30
+ jsmin (1.0.1)
31
+ multi_json (1.0.3)
32
+ nokogiri (1.5.0)
33
+ posix-spawn (0.3.6)
34
+ rack (1.3.3)
35
+ rack-test (0.6.1)
36
+ rack (>= 1.0)
37
+ rake (0.9.2)
38
+ rdiscount (1.6.8)
39
+ sinatra (1.2.6)
40
+ rack (~> 1.1)
41
+ tilt (< 2.0, >= 1.2.2)
42
+ sinatra-assetpack (0.0.10)
43
+ jsmin
44
+ rack-test
45
+ sinatra
46
+ tilt (>= 1.3.0)
47
+ slim (1.0.2)
48
+ temple (~> 0.3.3)
49
+ tilt (~> 1.3.2)
50
+ temple (0.3.4)
51
+ thin (1.2.11)
52
+ daemons (>= 1.0.9)
53
+ eventmachine (>= 0.12.6)
54
+ rack (>= 1.0.0)
55
+ thor (0.14.6)
56
+ tilt (1.3.3)
57
+ uglifier (1.0.3)
58
+ execjs (>= 0.3.0)
59
+ multi_json (>= 1.0.2)
60
+
61
+ PLATFORMS
62
+ ruby
63
+
64
+ DEPENDENCIES
65
+ eggplant!
66
+ rake
@@ -0,0 +1,30 @@
1
+ ## Eggplant ##
2
+
3
+ Deck.js + Markdown = Eggplant
4
+ =========================================
5
+
6
+ Eggplant is a presentation software, inspired by showoff. The basic idea is the same, you write your slides
7
+ in Markdown, Eggplant do the rest for you.
8
+
9
+ It can:
10
+
11
+ * show simple slides writem with Markdown
12
+ * show syntax highlighted code
13
+ * execute Javascript or Coffeescript live and display results
14
+ * bullets with incremental advancing
15
+ * call up a menu of sections/slides at any time to jump around
16
+ * do simple transitions (instant, fade, slide in)
17
+ * do everything else Deck.js do
18
+
19
+ It might will can:
20
+
21
+ * re-enact command line interactions
22
+ * show a pre-show slideshow while you wait to start
23
+ * perform simple animations of images moving between keyframes
24
+
25
+ * let audience members download slides, code samples or other supplementary material
26
+
27
+ * simple remote control from another browser (like an iphone)
28
+ * show a timer - elapsed / remaining
29
+ * show synchronized, hidden notes
30
+ * let you write on the slide with your mouse, madden-style via canvas
@@ -0,0 +1,8 @@
1
+ require 'bundler'
2
+
3
+ Bundler::GemHelper.install_tasks
4
+
5
+ APP_FILE = 'lib/eggplant/server.rb'
6
+ APP_CLASS = 'Eggplant::Server'
7
+
8
+ require 'sinatra/assetpack/rake'
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+ require 'rubygems'
3
+ require 'eggplant/cli'
4
+
5
+ Eggplant::CLI.start
@@ -0,0 +1,34 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "eggplant/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "eggplant"
7
+ s.version = Eggplant::VERSION
8
+ s.authors = ["Paul Chavard"]
9
+ s.email = ["paul@chavard.net"]
10
+ s.homepage = "http://github.com/tchak/eggplant"
11
+ s.summary = "Presentation software for developers"
12
+ s.description = "Eggplant is a Sinatra web app that reads simple markdown files for a presentation."
13
+
14
+ s.add_runtime_dependency 'rdiscount'
15
+ s.add_runtime_dependency 'nokogiri'
16
+ s.add_runtime_dependency 'albino'
17
+
18
+ s.add_runtime_dependency 'thor'
19
+
20
+ s.add_runtime_dependency 'sinatra', '~> 1.2'
21
+ s.add_runtime_dependency 'uglifier'
22
+ s.add_runtime_dependency 'sinatra-assetpack'
23
+ s.add_runtime_dependency 'slim'
24
+
25
+ s.add_runtime_dependency 'eventmachine', '~> 1.0.0.beta'
26
+ s.add_runtime_dependency 'em-websocket'
27
+ s.add_runtime_dependency 'thin'
28
+
29
+ s.files = `git ls-files`.split("\n")
30
+ s.files += Dir.glob("lib/eggplant/public/**/*")
31
+
32
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
33
+ s.require_paths = ["lib"]
34
+ end
@@ -0,0 +1,8 @@
1
+ require 'rdiscount'
2
+ require 'nokogiri'
3
+
4
+ require 'eggplant/markdown'
5
+ require 'eggplant/slides'
6
+
7
+ module Eggplant
8
+ end
@@ -0,0 +1,77 @@
1
+ .notes {
2
+ display:none;
3
+ }
4
+
5
+ pre.highlight {
6
+ border: none;
7
+ padding:0;
8
+ }
9
+
10
+ .slide li {
11
+ font-size:2em;
12
+ }
13
+
14
+ .highlight.code {
15
+ background: #444;
16
+ }
17
+
18
+ /* - Ripped shamefully from GitHub - */
19
+ .code .c { color: #999988; font-style: italic } /* Comment */
20
+ .code .err { color: #a61717; background-color: #e3d2d2 } /* Error */
21
+ .code .k { font-weight: bold } /* Keyword */
22
+ .code .o { font-weight: bold } /* Operator */
23
+ .code .cm { color: #999988; font-style: italic } /* Comment.Multiline */
24
+ .code .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
25
+ .code .c1 { color: #999988; font-style: italic } /* Comment.Single */
26
+ .code .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
27
+ .code .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
28
+ .code .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
29
+ .code .ge { font-style: italic } /* Generic.Emph */
30
+ .code .gr { color: #aa0000 } /* Generic.Error */
31
+ .code .gh { color: #999999 } /* Generic.Heading */
32
+ .code .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
33
+ .code .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
34
+ .code .go { color: #888888 } /* Generic.Output */
35
+ .code .gp { color: #555555 } /* Generic.Prompt */
36
+ .code .gs { font-weight: bold } /* Generic.Strong */
37
+ .code .gu { color: #aaaaaa } /* Generic.Subheading */
38
+ .code .gt { color: #aa0000 } /* Generic.Traceback */
39
+ .code .kc { font-weight: bold } /* Keyword.Constant */
40
+ .code .kd { font-weight: bold } /* Keyword.Declaration */
41
+ .code .kp { font-weight: bold } /* Keyword.Pseudo */
42
+ .code .kr { font-weight: bold } /* Keyword.Reserved */
43
+ .code .kt { color: #445588; font-weight: bold } /* Keyword.Type */
44
+ .code .m { color: #009999 } /* Literal.Number */
45
+ .code .s { color: #d14 } /* Literal.String */
46
+ .code .na { color: #008080 } /* Name.Attribute */
47
+ .code .nb { color: #0086B3 } /* Name.Builtin */
48
+ .code .nc { color: #445588; font-weight: bold } /* Name.Class */
49
+ .code .no { color: #008080 } /* Name.Constant */
50
+ .code .ni { color: #800080 } /* Name.Entity */
51
+ .code .ne { color: #990000; font-weight: bold } /* Name.Exception */
52
+ .code .nf { color: #990000; font-weight: bold } /* Name.Function */
53
+ .code .nn { color: #555555 } /* Name.Namespace */
54
+ .code .nt { color: #000080 } /* Name.Tag */
55
+ .code .nv { color: #008080 } /* Name.Variable */
56
+ .code .ow { font-weight: bold } /* Operator.Word */
57
+ .code .w { color: #bbbbbb } /* Text.Whitespace */
58
+ .code .mf { color: #009999 } /* Literal.Number.Float */
59
+ .code .mh { color: #009999 } /* Literal.Number.Hex */
60
+ .code .mi { color: #009999 } /* Literal.Number.Integer */
61
+ .code .mo { color: #009999 } /* Literal.Number.Oct */
62
+ .code .sb { color: #d14 } /* Literal.String.Backtick */
63
+ .code .sc { color: #d14 } /* Literal.String.Char */
64
+ .code .sd { color: #d14 } /* Literal.String.Doc */
65
+ .code .s2 { color: #d14 } /* Literal.String.Double */
66
+ .code .se { color: #d14 } /* Literal.String.Escape */
67
+ .code .sh { color: #d14 } /* Literal.String.Heredoc */
68
+ .code .si { color: #d14 } /* Literal.String.Interpol */
69
+ .code .sx { color: #d14 } /* Literal.String.Other */
70
+ .code .sr { color: #009926 } /* Literal.String.Regex */
71
+ .code .s1 { color: #d14 } /* Literal.String.Single */
72
+ .code .ss { color: #990073 } /* Literal.String.Symbol */
73
+ .code .bp { color: #999999 } /* Name.Builtin.Pseudo */
74
+ .code .vc { color: #008080 } /* Name.Variable.Class */
75
+ .code .vg { color: #008080 } /* Name.Variable.Global */
76
+ .code .vi { color: #008080 } /* Name.Variable.Instance */
77
+ .code .il { color: #009999 } /* Literal.Number.Integer.Long */
@@ -0,0 +1,393 @@
1
+ html {
2
+ height: 100%;
3
+ }
4
+
5
+ .deck-container {
6
+ position: relative;
7
+ height: 100%;
8
+ width: 70%;
9
+ margin: 0 auto;
10
+ padding: 0 48px;
11
+ font-size: 16px;
12
+ line-height: 1.25;
13
+ overflow: hidden;
14
+ /* Resets and base styles from HTML5 Boilerplate */
15
+ /* End HTML5 Boilerplate adaptations */
16
+ }
17
+ .js .deck-container {
18
+ visibility: hidden;
19
+ }
20
+ .ready .deck-container {
21
+ visibility: visible;
22
+ }
23
+ .touch .deck-container {
24
+ -webkit-text-size-adjust: none;
25
+ }
26
+ .deck-container div, .deck-container span, .deck-container object, .deck-container iframe,
27
+ .deck-container h1, .deck-container h2, .deck-container h3, .deck-container h4, .deck-container h5, .deck-container h6, .deck-container p, .deck-container blockquote, .deck-container pre,
28
+ .deck-container abbr, .deck-container address, .deck-container cite, .deck-container code, .deck-container del, .deck-container dfn, .deck-container em, .deck-container img, .deck-container ins, .deck-container kbd, .deck-container q, .deck-container samp,
29
+ .deck-container small, .deck-container strong, .deck-container sub, .deck-container sup, .deck-container var, .deck-container b, .deck-container i, .deck-container dl, .deck-container dt, .deck-container dd, .deck-container ol, .deck-container ul, .deck-container li,
30
+ .deck-container fieldset, .deck-container form, .deck-container label, .deck-container legend,
31
+ .deck-container table, .deck-container caption, .deck-container tbody, .deck-container tfoot, .deck-container thead, .deck-container tr, .deck-container th, .deck-container td,
32
+ .deck-container article, .deck-container aside, .deck-container canvas, .deck-container details, .deck-container figcaption, .deck-container figure,
33
+ .deck-container footer, .deck-container header, .deck-container hgroup, .deck-container menu, .deck-container nav, .deck-container section, .deck-container summary,
34
+ .deck-container time, .deck-container mark, .deck-container audio, .deck-container video {
35
+ margin: 0;
36
+ padding: 0;
37
+ border: 0;
38
+ font-size: 100%;
39
+ font: inherit;
40
+ vertical-align: baseline;
41
+ }
42
+ .deck-container article, .deck-container aside, .deck-container details, .deck-container figcaption, .deck-container figure,
43
+ .deck-container footer, .deck-container header, .deck-container hgroup, .deck-container menu, .deck-container nav, .deck-container section {
44
+ display: block;
45
+ }
46
+ .deck-container blockquote, .deck-container q {
47
+ quotes: none;
48
+ }
49
+ .deck-container blockquote:before, .deck-container blockquote:after, .deck-container q:before, .deck-container q:after {
50
+ content: "";
51
+ content: none;
52
+ }
53
+ .deck-container ins {
54
+ background-color: #ff9;
55
+ color: #000;
56
+ text-decoration: none;
57
+ }
58
+ .deck-container mark {
59
+ background-color: #ff9;
60
+ color: #000;
61
+ font-style: italic;
62
+ font-weight: bold;
63
+ }
64
+ .deck-container del {
65
+ text-decoration: line-through;
66
+ }
67
+ .deck-container abbr[title], .deck-container dfn[title] {
68
+ border-bottom: 1px dotted;
69
+ cursor: help;
70
+ }
71
+ .deck-container table {
72
+ border-collapse: collapse;
73
+ border-spacing: 0;
74
+ }
75
+ .deck-container hr {
76
+ display: block;
77
+ height: 1px;
78
+ border: 0;
79
+ border-top: 1px solid #ccc;
80
+ margin: 1em 0;
81
+ padding: 0;
82
+ }
83
+ .deck-container input, .deck-container select {
84
+ vertical-align: middle;
85
+ }
86
+ .deck-container select, .deck-container input, .deck-container textarea, .deck-container button {
87
+ font: 99% sans-serif;
88
+ }
89
+ .deck-container pre, .deck-container code, .deck-container kbd, .deck-container samp {
90
+ font-family: monospace, sans-serif;
91
+ }
92
+ .deck-container a {
93
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
94
+ }
95
+ .deck-container a:hover, .deck-container a:active {
96
+ outline: none;
97
+ }
98
+ .deck-container ul, .deck-container ol {
99
+ margin-left: 2em;
100
+ vertical-align: top;
101
+ }
102
+ .deck-container ol {
103
+ list-style-type: decimal;
104
+ }
105
+ .deck-container nav ul, .deck-container nav li {
106
+ margin: 0;
107
+ list-style: none;
108
+ list-style-image: none;
109
+ }
110
+ .deck-container small {
111
+ font-size: 85%;
112
+ }
113
+ .deck-container strong, .deck-container th {
114
+ font-weight: bold;
115
+ }
116
+ .deck-container td {
117
+ vertical-align: top;
118
+ }
119
+ .deck-container sub, .deck-container sup {
120
+ font-size: 75%;
121
+ line-height: 0;
122
+ position: relative;
123
+ }
124
+ .deck-container sup {
125
+ top: -0.5em;
126
+ }
127
+ .deck-container sub {
128
+ bottom: -0.25em;
129
+ }
130
+ .deck-container textarea {
131
+ overflow: auto;
132
+ }
133
+ .ie6 .deck-container legend, .ie7 .deck-container legend {
134
+ margin-left: -7px;
135
+ }
136
+ .deck-container input[type="radio"] {
137
+ vertical-align: text-bottom;
138
+ }
139
+ .deck-container input[type="checkbox"] {
140
+ vertical-align: bottom;
141
+ }
142
+ .deck-container .ie7 input[type="checkbox"] {
143
+ vertical-align: baseline;
144
+ }
145
+ .deck-container .ie6 input {
146
+ vertical-align: text-bottom;
147
+ }
148
+ .deck-container label, .deck-container input[type="button"], .deck-container input[type="submit"], .deck-container input[type="image"], .deck-container button {
149
+ cursor: pointer;
150
+ }
151
+ .deck-container button, .deck-container input, .deck-container select, .deck-container textarea {
152
+ margin: 0;
153
+ }
154
+ .deck-container input:invalid, .deck-container textarea:invalid {
155
+ border-radius: 1px;
156
+ -moz-box-shadow: 0px 0px 5px red;
157
+ -webkit-box-shadow: 0px 0px 5px red;
158
+ box-shadow: 0px 0px 5px red;
159
+ }
160
+ .deck-container input:invalid .no-boxshadow, .deck-container textarea:invalid .no-boxshadow {
161
+ background-color: #f0dddd;
162
+ }
163
+ .deck-container button {
164
+ width: auto;
165
+ overflow: visible;
166
+ }
167
+ .ie7 .deck-container img {
168
+ -ms-interpolation-mode: bicubic;
169
+ }
170
+ .deck-container, .deck-container select, .deck-container input, .deck-container textarea {
171
+ color: #444;
172
+ }
173
+ .deck-container a {
174
+ color: #607890;
175
+ }
176
+ .deck-container a:hover, .deck-container a:focus {
177
+ color: #036;
178
+ }
179
+ .deck-container a:link {
180
+ -webkit-tap-highlight-color: #fff;
181
+ }
182
+ .deck-container h1 {
183
+ font-size: 4.5em;
184
+ font-weight: bold;
185
+ text-align: center;
186
+ padding-top: 1em;
187
+ }
188
+ .csstransforms .deck-container h1 {
189
+ padding: 0 48px;
190
+ position: absolute;
191
+ left: 0;
192
+ right: 0;
193
+ top: 50%;
194
+ -webkit-transform: translate3d(0, -50%, 0);
195
+ -moz-transform: translate(0, -50%);
196
+ -ms-transform: translate(0, -50%);
197
+ -o-transform: translate(0, -50%);
198
+ transform: translate3d(0, -50%, 0);
199
+ }
200
+ .deck-container h2 {
201
+ font-size: 2.25em;
202
+ font-weight: bold;
203
+ padding-top: .5em;
204
+ margin: 0 0 .66666em 0;
205
+ border-bottom: 3px solid #888;
206
+ }
207
+ .deck-container h3 {
208
+ font-size: 1.4375em;
209
+ font-weight: bold;
210
+ margin-bottom: .30435em;
211
+ }
212
+ .deck-container h4 {
213
+ font-size: 1.25em;
214
+ font-weight: bold;
215
+ margin-bottom: .25em;
216
+ }
217
+ .deck-container h5 {
218
+ font-size: 1.125em;
219
+ font-weight: bold;
220
+ margin-bottom: .2222em;
221
+ }
222
+ .deck-container h6 {
223
+ font-size: 1em;
224
+ font-weight: bold;
225
+ }
226
+ .deck-container img, .deck-container iframe, .deck-container video {
227
+ display: block;
228
+ max-width: 100%;
229
+ }
230
+ .deck-container video, .deck-container iframe, .deck-container img {
231
+ display: block;
232
+ margin: 0 auto;
233
+ }
234
+ .deck-container p, .deck-container blockquote, .deck-container iframe, .deck-container img, .deck-container ul, .deck-container ol, .deck-container pre, .deck-container video {
235
+ margin-bottom: 1em;
236
+ }
237
+ .deck-container pre {
238
+ white-space: pre;
239
+ white-space: pre-wrap;
240
+ word-wrap: break-word;
241
+ padding: 1em;
242
+ border: 1px solid #888;
243
+ }
244
+ .deck-container em {
245
+ font-style: italic;
246
+ }
247
+ .deck-container li {
248
+ padding: .25em 0;
249
+ vertical-align: middle;
250
+ }
251
+ .deck-container.deck-loading {
252
+ display: none;
253
+ }
254
+
255
+ .slide {
256
+ width: auto;
257
+ min-height: 100%;
258
+ position: relative;
259
+ }
260
+
261
+ .deck-before, .deck-previous, .deck-next, .deck-after {
262
+ position: absolute;
263
+ left: -999em;
264
+ top: -999em;
265
+ }
266
+
267
+ .deck-current {
268
+ z-index: 2;
269
+ }
270
+
271
+ .slide .slide {
272
+ visibility: hidden;
273
+ position: static;
274
+ min-height: 0;
275
+ }
276
+
277
+ .deck-child-current {
278
+ position: static;
279
+ z-index: 2;
280
+ }
281
+ .deck-child-current .slide {
282
+ visibility: hidden;
283
+ }
284
+ .deck-child-current .deck-previous, .deck-child-current .deck-before, .deck-child-current .deck-current {
285
+ visibility: visible;
286
+ }
287
+
288
+ body.deck-container {
289
+ overflow: visible;
290
+ }
291
+
292
+ @media all and (orientation:portrait) {}
293
+ @media all and (orientation:landscape) {}
294
+ @media screen and (max-device-width: 480px) {
295
+ /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
296
+ }
297
+
298
+ @media print {
299
+ * {
300
+ background: transparent !important;
301
+ color: black !important;
302
+ text-shadow: none !important;
303
+ filter: none !important;
304
+ -ms-filter: none !important;
305
+ -webkit-box-reflect: none !important;
306
+ -moz-box-reflect: none !important;
307
+ -webkit-box-shadow: none !important;
308
+ -moz-box-shadow: none !important;
309
+ box-shadow: none !important;
310
+ }
311
+ * :before, * :after {
312
+ display: none !important;
313
+ }
314
+
315
+ a, a:visited {
316
+ color: #444 !important;
317
+ text-decoration: underline;
318
+ }
319
+
320
+ a[href]:after {
321
+ content: " (" attr(href) ")";
322
+ }
323
+
324
+ abbr[title]:after {
325
+ content: " (" attr(title) ")";
326
+ }
327
+
328
+ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
329
+ content: "";
330
+ }
331
+
332
+ pre, blockquote {
333
+ border: 1px solid #999;
334
+ page-break-inside: avoid;
335
+ }
336
+
337
+ thead {
338
+ display: table-header-group;
339
+ }
340
+
341
+ tr, img {
342
+ page-break-inside: avoid;
343
+ }
344
+
345
+ @page {
346
+ margin: 0.5cm;
347
+ }
348
+
349
+ p, h2, h3 {
350
+ orphans: 3;
351
+ widows: 3;
352
+ }
353
+
354
+ h2, h3 {
355
+ page-break-after: avoid;
356
+ }
357
+
358
+ .slide {
359
+ position: static !important;
360
+ visibility: visible !important;
361
+ display: block !important;
362
+ -webkit-transform: none !important;
363
+ -moz-transform: none !important;
364
+ -o-transform: none !important;
365
+ -ms-transform: none !important;
366
+ transform: none !important;
367
+ }
368
+
369
+ h1 {
370
+ -webkit-transform: none !important;
371
+ -moz-transform: none !important;
372
+ -o-transform: none !important;
373
+ -ms-transform: none !important;
374
+ transform: none !important;
375
+ padding: 0 !important;
376
+ position: static !important;
377
+ }
378
+
379
+ .deck-container > .slide {
380
+ page-break-after: always;
381
+ }
382
+
383
+ .deck-container {
384
+ width: 100% !important;
385
+ height: auto !important;
386
+ padding: 0 !important;
387
+ display: block !important;
388
+ }
389
+
390
+ script {
391
+ display: none;
392
+ }
393
+ }