keydown 0.7.1 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/.travis.yml +3 -0
- data/LICENSE +1 -1
- data/README.md +16 -15
- data/VERSION +1 -1
- data/keydown.gemspec +9 -6
- data/lib/keydown.rb +9 -22
- data/lib/keydown/html_helpers.rb +12 -0
- data/lib/keydown/{lib/slide.rb → slide.rb} +16 -19
- data/lib/keydown/{lib/slidedeck.rb → slidedeck.rb} +20 -5
- data/lib/keydown/tasks.rb +5 -0
- data/lib/keydown/tasks/base.rb +15 -0
- data/lib/keydown/tasks/generate.rb +5 -1
- data/lib/keydown/tasks/slides.rb +1 -1
- data/lib/version.rb +1 -1
- data/spec/lib/html_helpers_spec.rb +26 -0
- data/spec/lib/slide_spec.rb +29 -17
- data/spec/lib/slidedeck_spec.rb +41 -13
- data/spec/spec_helper.rb +2 -6
- data/spec/tasks/generate_spec.rb +41 -20
- data/spec/tasks/slides_spec.rb +83 -44
- data/templates/deck.js/code.html.haml +1 -0
- data/templates/deck.js/index.html.haml +54 -0
- data/templates/deck.js/slide.html.haml +6 -0
- data/templates/generate/css/%presentation_name%.css +12 -1
- data/templates/generate/deck.js/core/deck.core.css +394 -0
- data/templates/generate/deck.js/core/deck.core.js +461 -0
- data/templates/generate/deck.js/core/deck.core.scss +432 -0
- data/templates/generate/deck.js/extensions/codemirror/CONTRIBUTORS.txt +2 -0
- data/templates/generate/deck.js/extensions/codemirror/MIT-LICENSE.txt +21 -0
- data/templates/generate/deck.js/extensions/codemirror/README.md +120 -0
- data/templates/generate/deck.js/extensions/codemirror/VERSION.txt +1 -0
- data/templates/generate/deck.js/extensions/codemirror/codemirror.js +21 -0
- data/templates/generate/deck.js/extensions/codemirror/deck.codemirror.css +89 -0
- data/templates/generate/deck.js/extensions/codemirror/deck.codemirror.js +213 -0
- data/templates/generate/deck.js/extensions/codemirror/deck.codemirror.scss +107 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/clike/clike.js +247 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/clike/index.html +102 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/clojure/clojure.js +207 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/clojure/index.html +85 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/coffeescript/LICENSE +22 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/coffeescript/coffeescript.js +325 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/coffeescript/index.html +722 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/css/css.js +124 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/css/index.html +56 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/diff/diff.css +3 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/diff/diff.js +13 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/diff/index.html +99 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/haskell/haskell.js +242 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/haskell/index.html +60 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/htmlmixed/htmlmixed.js +79 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/htmlmixed/index.html +52 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/javascript/index.html +78 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/javascript/javascript.js +348 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/lua/index.html +72 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/lua/lua.js +138 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/php/index.html +49 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/php/php.js +115 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/plsql/index.html +63 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/plsql/plsql.js +217 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/python/LICENSE.txt +21 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/python/index.html +123 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/python/python.js +321 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/r/LICENSE +24 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/r/index.html +74 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/r/r.js +141 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/rst/index.html +526 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/rst/rst.css +75 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/rst/rst.js +333 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/ruby/LICENSE +24 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/ruby/index.html +172 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/ruby/ruby.js +195 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/scheme/index.html +65 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/scheme/scheme.js +202 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/smalltalk/index.html +56 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/smalltalk/smalltalk.js +122 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/sparql/index.html +41 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/sparql/sparql.js +143 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/stex/index.html +96 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/stex/stex.js +167 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/velocity/index.html +103 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/velocity/velocity.js +146 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/xml/index.html +42 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/xml/xml.js +231 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/xmlpure/index.html +60 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/xmlpure/xmlpure.js +481 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/yaml/index.html +68 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/yaml/yaml.js +95 -0
- data/templates/generate/deck.js/extensions/codemirror/themes/cobalt.css +17 -0
- data/templates/generate/deck.js/extensions/codemirror/themes/default.css +19 -0
- data/templates/generate/deck.js/extensions/codemirror/themes/elegant.css +9 -0
- data/templates/generate/deck.js/extensions/codemirror/themes/neat.css +8 -0
- data/templates/generate/deck.js/extensions/codemirror/themes/night.css +20 -0
- data/templates/generate/deck.js/extensions/goto/deck.goto.css +41 -0
- data/templates/generate/deck.js/extensions/goto/deck.goto.html +6 -0
- data/templates/generate/deck.js/extensions/goto/deck.goto.js +118 -0
- data/templates/generate/deck.js/extensions/goto/deck.goto.scss +46 -0
- data/templates/generate/deck.js/extensions/hash/deck.hash.css +13 -0
- data/templates/generate/deck.js/extensions/hash/deck.hash.html +2 -0
- data/templates/generate/deck.js/extensions/hash/deck.hash.js +125 -0
- data/templates/generate/deck.js/extensions/hash/deck.hash.scss +15 -0
- data/templates/generate/deck.js/extensions/menu/deck.menu.css +24 -0
- data/templates/generate/deck.js/extensions/menu/deck.menu.js +127 -0
- data/templates/generate/deck.js/extensions/menu/deck.menu.scss +29 -0
- data/templates/generate/deck.js/extensions/navigation/deck.navigation.css +43 -0
- data/templates/generate/deck.js/extensions/navigation/deck.navigation.html +3 -0
- data/templates/generate/deck.js/extensions/navigation/deck.navigation.js +83 -0
- data/templates/generate/deck.js/extensions/navigation/deck.navigation.scss +56 -0
- data/templates/generate/deck.js/extensions/scale/deck.scale.css +16 -0
- data/templates/generate/deck.js/extensions/scale/deck.scale.js +155 -0
- data/templates/generate/deck.js/extensions/scale/deck.scale.scss +17 -0
- data/templates/generate/deck.js/extensions/status/deck.status.css +14 -0
- data/templates/generate/deck.js/extensions/status/deck.status.html +6 -0
- data/templates/generate/deck.js/extensions/status/deck.status.js +42 -0
- data/templates/generate/deck.js/extensions/status/deck.status.scss +16 -0
- data/templates/generate/deck.js/support/jquery.1.6.4.min.js +4 -0
- data/templates/generate/deck.js/support/modernizr.custom.js +4 -0
- data/templates/generate/deck.js/themes/style/neon.css +114 -0
- data/templates/generate/deck.js/themes/style/neon.scss +139 -0
- data/templates/generate/deck.js/themes/style/swiss.css +75 -0
- data/templates/generate/deck.js/themes/style/swiss.scss +91 -0
- data/templates/generate/deck.js/themes/style/web-2.0.css +187 -0
- data/templates/generate/deck.js/themes/style/web-2.0.scss +214 -0
- data/templates/generate/deck.js/themes/transition/fade.css +44 -0
- data/templates/generate/deck.js/themes/transition/fade.scss +70 -0
- data/templates/generate/deck.js/themes/transition/horizontal-slide.css +79 -0
- data/templates/generate/deck.js/themes/transition/horizontal-slide.scss +94 -0
- data/templates/generate/deck.js/themes/transition/vertical-slide.css +97 -0
- data/templates/generate/deck.js/themes/transition/vertical-slide.scss +116 -0
- data/templates/keydown.css.erb +27 -23
- metadata +171 -32
- data/Gemfile.lock +0 -41
- data/templates/generate/css/rocks.css +0 -392
- data/templates/generate/css/syntax_highlighting.css +0 -135
- data/templates/generate/js/rocks.js +0 -419
- data/templates/rocks/index.rhtml +0 -132
- data/templates/rocks/slide.rhtml +0 -10
@@ -0,0 +1,432 @@
|
|
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
|
+
|
15
|
+
.js & {
|
16
|
+
visibility:hidden;
|
17
|
+
}
|
18
|
+
|
19
|
+
.ready & {
|
20
|
+
visibility:visible;
|
21
|
+
}
|
22
|
+
|
23
|
+
.touch & {
|
24
|
+
-webkit-text-size-adjust:none;
|
25
|
+
}
|
26
|
+
|
27
|
+
/* Resets and base styles from HTML5 Boilerplate */
|
28
|
+
div, span, object, iframe,
|
29
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
30
|
+
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
|
31
|
+
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
|
32
|
+
fieldset, form, label, legend,
|
33
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
34
|
+
article, aside, canvas, details, figcaption, figure,
|
35
|
+
footer, header, hgroup, menu, nav, section, summary,
|
36
|
+
time, mark, audio, video {
|
37
|
+
margin: 0;
|
38
|
+
padding: 0;
|
39
|
+
border: 0;
|
40
|
+
font-size: 100%;
|
41
|
+
font: inherit;
|
42
|
+
vertical-align: baseline;
|
43
|
+
}
|
44
|
+
|
45
|
+
article, aside, details, figcaption, figure,
|
46
|
+
footer, header, hgroup, menu, nav, section {
|
47
|
+
display: block;
|
48
|
+
}
|
49
|
+
|
50
|
+
blockquote, q {
|
51
|
+
quotes:none;
|
52
|
+
|
53
|
+
&:before, &:after {
|
54
|
+
content:"";
|
55
|
+
content:none;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
ins {
|
60
|
+
background-color:#ff9;
|
61
|
+
color:#000;
|
62
|
+
text-decoration:none;
|
63
|
+
}
|
64
|
+
|
65
|
+
mark {
|
66
|
+
background-color:#ff9;
|
67
|
+
color:#000;
|
68
|
+
font-style:italic;
|
69
|
+
font-weight:bold;
|
70
|
+
}
|
71
|
+
|
72
|
+
del {
|
73
|
+
text-decoration:line-through;
|
74
|
+
}
|
75
|
+
|
76
|
+
abbr[title], dfn[title] {
|
77
|
+
border-bottom:1px dotted;
|
78
|
+
cursor:help;
|
79
|
+
}
|
80
|
+
|
81
|
+
table {
|
82
|
+
border-collapse:collapse;
|
83
|
+
border-spacing:0;
|
84
|
+
}
|
85
|
+
|
86
|
+
hr {
|
87
|
+
display:block;
|
88
|
+
height:1px;
|
89
|
+
border:0;
|
90
|
+
border-top:1px solid #ccc;
|
91
|
+
margin:1em 0;
|
92
|
+
padding:0;
|
93
|
+
}
|
94
|
+
|
95
|
+
input, select {
|
96
|
+
vertical-align:middle;
|
97
|
+
}
|
98
|
+
|
99
|
+
select, input, textarea, button {
|
100
|
+
font:99% sans-serif;
|
101
|
+
}
|
102
|
+
|
103
|
+
pre, code, kbd, samp {
|
104
|
+
font-family:monospace, sans-serif;
|
105
|
+
}
|
106
|
+
|
107
|
+
a {
|
108
|
+
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
109
|
+
|
110
|
+
&:hover, &:active {
|
111
|
+
outline:none;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
ul, ol {
|
116
|
+
margin-left:2em;
|
117
|
+
vertical-align:top;
|
118
|
+
}
|
119
|
+
|
120
|
+
ol {
|
121
|
+
list-style-type:decimal;
|
122
|
+
}
|
123
|
+
|
124
|
+
nav {
|
125
|
+
ul, li {
|
126
|
+
margin:0;
|
127
|
+
list-style:none;
|
128
|
+
list-style-image:none;
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
small {
|
133
|
+
font-size:85%;
|
134
|
+
}
|
135
|
+
|
136
|
+
strong, th {
|
137
|
+
font-weight:bold;
|
138
|
+
}
|
139
|
+
|
140
|
+
td {
|
141
|
+
vertical-align:top;
|
142
|
+
}
|
143
|
+
|
144
|
+
sub, sup {
|
145
|
+
font-size:75%;
|
146
|
+
line-height:0;
|
147
|
+
position:relative;
|
148
|
+
}
|
149
|
+
|
150
|
+
sup {
|
151
|
+
top:-0.5em;
|
152
|
+
}
|
153
|
+
|
154
|
+
sub { bottom: -0.25em; }
|
155
|
+
|
156
|
+
textarea {
|
157
|
+
overflow:auto;
|
158
|
+
}
|
159
|
+
|
160
|
+
legend {
|
161
|
+
.ie6 &, .ie7 & {
|
162
|
+
margin-left:-7px;
|
163
|
+
}
|
164
|
+
}
|
165
|
+
|
166
|
+
input[type="radio"] {
|
167
|
+
vertical-align:text-bottom;
|
168
|
+
}
|
169
|
+
|
170
|
+
input[type="checkbox"] {
|
171
|
+
vertical-align:bottom;
|
172
|
+
}
|
173
|
+
|
174
|
+
.ie7 input[type="checkbox"] {
|
175
|
+
vertical-align:baseline;
|
176
|
+
}
|
177
|
+
|
178
|
+
.ie6 input {
|
179
|
+
vertical-align:text-bottom;
|
180
|
+
}
|
181
|
+
|
182
|
+
label, input[type="button"], input[type="submit"], input[type="image"], button {
|
183
|
+
cursor:pointer;
|
184
|
+
}
|
185
|
+
|
186
|
+
button, input, select, textarea {
|
187
|
+
margin: 0;
|
188
|
+
}
|
189
|
+
|
190
|
+
input, textarea {
|
191
|
+
&:invalid {
|
192
|
+
border-radius:1px;
|
193
|
+
-moz-box-shadow:0px 0px 5px red;
|
194
|
+
-webkit-box-shadow:0px 0px 5px red;
|
195
|
+
box-shadow: 0px 0px 5px red;
|
196
|
+
|
197
|
+
.no-boxshadow {
|
198
|
+
background-color: #f0dddd;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
}
|
202
|
+
|
203
|
+
button {
|
204
|
+
width:auto;
|
205
|
+
overflow:visible;
|
206
|
+
}
|
207
|
+
|
208
|
+
.ie7 & img {
|
209
|
+
-ms-interpolation-mode: bicubic; }
|
210
|
+
|
211
|
+
&, select, input, textarea {
|
212
|
+
color:#444;
|
213
|
+
}
|
214
|
+
|
215
|
+
a {
|
216
|
+
color:#607890;
|
217
|
+
|
218
|
+
&:hover, &:focus {
|
219
|
+
color:#036;
|
220
|
+
}
|
221
|
+
|
222
|
+
&:link {
|
223
|
+
-webkit-tap-highlight-color: #fff;
|
224
|
+
}
|
225
|
+
}
|
226
|
+
/* End HTML5 Boilerplate adaptations */
|
227
|
+
|
228
|
+
h1 {
|
229
|
+
font-size:4.5em;
|
230
|
+
font-weight:bold;
|
231
|
+
text-align:center;
|
232
|
+
padding-top:1em;
|
233
|
+
|
234
|
+
.csstransforms & {
|
235
|
+
padding:0 48px;
|
236
|
+
position:absolute;
|
237
|
+
left:0;
|
238
|
+
right:0;
|
239
|
+
top:50%;
|
240
|
+
-webkit-transform:translate3d(0, -50%, 0);
|
241
|
+
-moz-transform:translate(0, -50%);
|
242
|
+
-ms-transform:translate(0, -50%);
|
243
|
+
-o-transform:translate(0, -50%);
|
244
|
+
transform:translate3d(0, -50%, 0);
|
245
|
+
}
|
246
|
+
}
|
247
|
+
|
248
|
+
h2 {
|
249
|
+
font-size:2.25em;
|
250
|
+
font-weight:bold;
|
251
|
+
padding-top:.5em;
|
252
|
+
margin:0 0 .66666em 0;
|
253
|
+
border-bottom:3px solid #888;
|
254
|
+
}
|
255
|
+
|
256
|
+
h3 {
|
257
|
+
font-size:1.4375em;
|
258
|
+
font-weight:bold;
|
259
|
+
margin-bottom:.30435em;
|
260
|
+
}
|
261
|
+
|
262
|
+
h4 {
|
263
|
+
font-size:1.25em;
|
264
|
+
font-weight:bold;
|
265
|
+
margin-bottom:.25em;
|
266
|
+
}
|
267
|
+
|
268
|
+
h5 {
|
269
|
+
font-size:1.125em;
|
270
|
+
font-weight:bold;
|
271
|
+
margin-bottom:.2222em;
|
272
|
+
}
|
273
|
+
|
274
|
+
h6 {
|
275
|
+
font-size:1em;
|
276
|
+
font-weight:bold;
|
277
|
+
}
|
278
|
+
|
279
|
+
img, iframe, video {
|
280
|
+
display:block;
|
281
|
+
max-width:100%;
|
282
|
+
}
|
283
|
+
|
284
|
+
video, iframe, img {
|
285
|
+
display:block;
|
286
|
+
margin:0 auto;
|
287
|
+
}
|
288
|
+
|
289
|
+
p, blockquote, iframe, img, ul, ol, pre, video {
|
290
|
+
margin-bottom:1em;
|
291
|
+
}
|
292
|
+
|
293
|
+
pre {
|
294
|
+
white-space:pre;
|
295
|
+
white-space:pre-wrap;
|
296
|
+
word-wrap:break-word;
|
297
|
+
padding: 1em;
|
298
|
+
border:1px solid #888;
|
299
|
+
}
|
300
|
+
|
301
|
+
em {
|
302
|
+
font-style:italic;
|
303
|
+
}
|
304
|
+
|
305
|
+
li {
|
306
|
+
padding:.25em 0;
|
307
|
+
vertical-align:middle;
|
308
|
+
}
|
309
|
+
|
310
|
+
&.deck-loading {
|
311
|
+
display:none;
|
312
|
+
}
|
313
|
+
}
|
314
|
+
|
315
|
+
.slide {
|
316
|
+
width:auto;
|
317
|
+
min-height:100%;
|
318
|
+
position:relative;
|
319
|
+
}
|
320
|
+
|
321
|
+
.deck-before, .deck-previous, .deck-next, .deck-after {
|
322
|
+
position:absolute;
|
323
|
+
left:-999em;
|
324
|
+
top:-999em;
|
325
|
+
}
|
326
|
+
|
327
|
+
.deck-current {
|
328
|
+
z-index:2;
|
329
|
+
}
|
330
|
+
|
331
|
+
.slide .slide {
|
332
|
+
visibility:hidden;
|
333
|
+
position:static;
|
334
|
+
min-height:0;
|
335
|
+
}
|
336
|
+
|
337
|
+
.deck-child-current {
|
338
|
+
position:static;
|
339
|
+
z-index:2;
|
340
|
+
|
341
|
+
.slide {
|
342
|
+
visibility:hidden;
|
343
|
+
}
|
344
|
+
|
345
|
+
.deck-previous, .deck-before, .deck-current {
|
346
|
+
visibility:visible;
|
347
|
+
}
|
348
|
+
}
|
349
|
+
|
350
|
+
body.deck-container {
|
351
|
+
overflow:visible;
|
352
|
+
}
|
353
|
+
|
354
|
+
@media all and (orientation:portrait) {
|
355
|
+
|
356
|
+
}
|
357
|
+
|
358
|
+
@media all and (orientation:landscape) {
|
359
|
+
|
360
|
+
}
|
361
|
+
|
362
|
+
@media screen and (max-device-width: 480px) {
|
363
|
+
|
364
|
+
/* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
|
365
|
+
}
|
366
|
+
|
367
|
+
|
368
|
+
@media print {
|
369
|
+
* {
|
370
|
+
background: transparent !important;
|
371
|
+
color: black !important;
|
372
|
+
text-shadow: none !important;
|
373
|
+
filter:none !important;
|
374
|
+
-ms-filter: none !important;
|
375
|
+
-webkit-box-reflect:none !important;
|
376
|
+
-moz-box-reflect:none !important;
|
377
|
+
-webkit-box-shadow:none !important;
|
378
|
+
-moz-box-shadow:none !important;
|
379
|
+
box-shadow:none !important;
|
380
|
+
|
381
|
+
:before, :after {
|
382
|
+
display:none !important;
|
383
|
+
}
|
384
|
+
}
|
385
|
+
a, a:visited { color: #444 !important; text-decoration: underline; }
|
386
|
+
a[href]:after { content: " (" attr(href) ")"; }
|
387
|
+
abbr[title]:after { content: " (" attr(title) ")"; }
|
388
|
+
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
|
389
|
+
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
390
|
+
thead { display: table-header-group; }
|
391
|
+
tr, img { page-break-inside: avoid; }
|
392
|
+
@page { margin: 0.5cm; }
|
393
|
+
p, h2, h3 { orphans: 3; widows: 3; }
|
394
|
+
h2, h3{ page-break-after: avoid; }
|
395
|
+
|
396
|
+
.slide {
|
397
|
+
position:static !important;
|
398
|
+
visibility:visible !important;
|
399
|
+
display:block !important;
|
400
|
+
-webkit-transform:none !important;
|
401
|
+
-moz-transform:none !important;
|
402
|
+
-o-transform:none !important;
|
403
|
+
-ms-transform:none !important;
|
404
|
+
transform:none !important;
|
405
|
+
opacity:1 !important;
|
406
|
+
}
|
407
|
+
|
408
|
+
h1 {
|
409
|
+
-webkit-transform:none !important;
|
410
|
+
-moz-transform:none !important;
|
411
|
+
-o-transform:none !important;
|
412
|
+
-ms-transform:none !important;
|
413
|
+
transform:none !important;
|
414
|
+
padding:0 !important;
|
415
|
+
position:static !important;
|
416
|
+
}
|
417
|
+
|
418
|
+
.deck-container > .slide {
|
419
|
+
page-break-after: always;
|
420
|
+
}
|
421
|
+
|
422
|
+
.deck-container {
|
423
|
+
width:100% !important;
|
424
|
+
height:auto !important;
|
425
|
+
padding:0 !important;
|
426
|
+
display:block !important;
|
427
|
+
}
|
428
|
+
|
429
|
+
script {
|
430
|
+
display:none;
|
431
|
+
}
|
432
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2011 Irene Ros
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|