slideit 0.1.0
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.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/README.md +38 -0
- data/Rakefile +10 -0
- data/bin/slideit +34 -0
- data/lib/slideit/version.rb +3 -0
- data/lib/slideit.rb +110 -0
- data/res/reveal.js-3.3.0/.gitignore +13 -0
- data/res/reveal.js-3.3.0/.travis.yml +5 -0
- data/res/reveal.js-3.3.0/CONTRIBUTING.md +23 -0
- data/res/reveal.js-3.3.0/Gruntfile.js +176 -0
- data/res/reveal.js-3.3.0/LICENSE +19 -0
- data/res/reveal.js-3.3.0/README.md +1104 -0
- data/res/reveal.js-3.3.0/bower.json +27 -0
- data/res/reveal.js-3.3.0/css/print/paper.css +202 -0
- data/res/reveal.js-3.3.0/css/print/pdf.css +160 -0
- data/res/reveal.js-3.3.0/css/reveal.css +1331 -0
- data/res/reveal.js-3.3.0/css/reveal.scss +1411 -0
- data/res/reveal.js-3.3.0/css/theme/README.md +21 -0
- data/res/reveal.js-3.3.0/css/theme/beige.css +291 -0
- data/res/reveal.js-3.3.0/css/theme/black.css +287 -0
- data/res/reveal.js-3.3.0/css/theme/blood.css +310 -0
- data/res/reveal.js-3.3.0/css/theme/league.css +293 -0
- data/res/reveal.js-3.3.0/css/theme/moon.css +291 -0
- data/res/reveal.js-3.3.0/css/theme/night.css +285 -0
- data/res/reveal.js-3.3.0/css/theme/serif.css +287 -0
- data/res/reveal.js-3.3.0/css/theme/simple.css +287 -0
- data/res/reveal.js-3.3.0/css/theme/sky.css +294 -0
- data/res/reveal.js-3.3.0/css/theme/solarized.css +291 -0
- data/res/reveal.js-3.3.0/css/theme/source/beige.scss +39 -0
- data/res/reveal.js-3.3.0/css/theme/source/black.scss +49 -0
- data/res/reveal.js-3.3.0/css/theme/source/blood.scss +79 -0
- data/res/reveal.js-3.3.0/css/theme/source/league.scss +34 -0
- data/res/reveal.js-3.3.0/css/theme/source/moon.scss +57 -0
- data/res/reveal.js-3.3.0/css/theme/source/night.scss +35 -0
- data/res/reveal.js-3.3.0/css/theme/source/serif.scss +35 -0
- data/res/reveal.js-3.3.0/css/theme/source/simple.scss +38 -0
- data/res/reveal.js-3.3.0/css/theme/source/sky.scss +46 -0
- data/res/reveal.js-3.3.0/css/theme/source/solarized.scss +63 -0
- data/res/reveal.js-3.3.0/css/theme/source/white.scss +49 -0
- data/res/reveal.js-3.3.0/css/theme/template/mixins.scss +29 -0
- data/res/reveal.js-3.3.0/css/theme/template/settings.scss +43 -0
- data/res/reveal.js-3.3.0/css/theme/template/theme.scss +346 -0
- data/res/reveal.js-3.3.0/css/theme/white.css +287 -0
- data/res/reveal.js-3.3.0/demo.html +410 -0
- data/res/reveal.js-3.3.0/index.html +52 -0
- data/res/reveal.js-3.3.0/js/reveal.js +4744 -0
- data/res/reveal.js-3.3.0/lib/css/zenburn.css +80 -0
- data/res/reveal.js-3.3.0/lib/font/league-gothic/LICENSE +2 -0
- data/res/reveal.js-3.3.0/lib/font/league-gothic/league-gothic.css +10 -0
- data/res/reveal.js-3.3.0/lib/font/league-gothic/league-gothic.eot +0 -0
- data/res/reveal.js-3.3.0/lib/font/league-gothic/league-gothic.ttf +0 -0
- data/res/reveal.js-3.3.0/lib/font/league-gothic/league-gothic.woff +0 -0
- data/res/reveal.js-3.3.0/lib/font/source-sans-pro/LICENSE +45 -0
- data/res/reveal.js-3.3.0/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
- data/res/reveal.js-3.3.0/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
- data/res/reveal.js-3.3.0/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
- data/res/reveal.js-3.3.0/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
- data/res/reveal.js-3.3.0/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
- data/res/reveal.js-3.3.0/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
- data/res/reveal.js-3.3.0/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
- data/res/reveal.js-3.3.0/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
- data/res/reveal.js-3.3.0/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
- data/res/reveal.js-3.3.0/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
- data/res/reveal.js-3.3.0/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
- data/res/reveal.js-3.3.0/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
- data/res/reveal.js-3.3.0/lib/font/source-sans-pro/source-sans-pro.css +39 -0
- data/res/reveal.js-3.3.0/lib/js/classList.js +2 -0
- data/res/reveal.js-3.3.0/lib/js/head.min.js +9 -0
- data/res/reveal.js-3.3.0/lib/js/html5shiv.js +7 -0
- data/res/reveal.js-3.3.0/package.json +44 -0
- data/res/reveal.js-3.3.0/plugin/highlight/highlight.js +31 -0
- data/res/reveal.js-3.3.0/plugin/markdown/example.html +129 -0
- data/res/reveal.js-3.3.0/plugin/markdown/example.md +31 -0
- data/res/reveal.js-3.3.0/plugin/markdown/markdown.js +405 -0
- data/res/reveal.js-3.3.0/plugin/markdown/marked.js +6 -0
- data/res/reveal.js-3.3.0/plugin/math/math.js +67 -0
- data/res/reveal.js-3.3.0/plugin/multiplex/client.js +13 -0
- data/res/reveal.js-3.3.0/plugin/multiplex/index.js +64 -0
- data/res/reveal.js-3.3.0/plugin/multiplex/master.js +31 -0
- data/res/reveal.js-3.3.0/plugin/multiplex/package.json +19 -0
- data/res/reveal.js-3.3.0/plugin/notes/notes.html +414 -0
- data/res/reveal.js-3.3.0/plugin/notes/notes.js +136 -0
- data/res/reveal.js-3.3.0/plugin/notes-server/client.js +65 -0
- data/res/reveal.js-3.3.0/plugin/notes-server/index.js +69 -0
- data/res/reveal.js-3.3.0/plugin/notes-server/notes.html +407 -0
- data/res/reveal.js-3.3.0/plugin/print-pdf/print-pdf.js +48 -0
- data/res/reveal.js-3.3.0/plugin/search/search.js +196 -0
- data/res/reveal.js-3.3.0/plugin/zoom-js/zoom.js +278 -0
- data/res/reveal.js-3.3.0/simple.html +90 -0
- data/res/reveal.js-3.3.0/test/examples/assets/image1.png +0 -0
- data/res/reveal.js-3.3.0/test/examples/assets/image2.png +0 -0
- data/res/reveal.js-3.3.0/test/examples/barebones.html +41 -0
- data/res/reveal.js-3.3.0/test/examples/embedded-media.html +49 -0
- data/res/reveal.js-3.3.0/test/examples/math.html +185 -0
- data/res/reveal.js-3.3.0/test/examples/slide-backgrounds.html +144 -0
- data/res/reveal.js-3.3.0/test/examples/slide-transitions.html +101 -0
- data/res/reveal.js-3.3.0/test/qunit-1.12.0.css +244 -0
- data/res/reveal.js-3.3.0/test/qunit-1.12.0.js +2212 -0
- data/res/reveal.js-3.3.0/test/test-markdown-element-attributes.html +134 -0
- data/res/reveal.js-3.3.0/test/test-markdown-element-attributes.js +46 -0
- data/res/reveal.js-3.3.0/test/test-markdown-slide-attributes.html +128 -0
- data/res/reveal.js-3.3.0/test/test-markdown-slide-attributes.js +47 -0
- data/res/reveal.js-3.3.0/test/test-markdown.html +52 -0
- data/res/reveal.js-3.3.0/test/test-markdown.js +15 -0
- data/res/reveal.js-3.3.0/test/test-pdf.html +83 -0
- data/res/reveal.js-3.3.0/test/test-pdf.js +15 -0
- data/res/reveal.js-3.3.0/test/test.html +86 -0
- data/res/reveal.js-3.3.0/test/test.js +597 -0
- data/res/reveal.js-3.3.0/test.md +31 -0
- data/slideit.gemspec +25 -0
- metadata +199 -0
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
|
|
7
|
+
<title>reveal.js - Math Plugin</title>
|
|
8
|
+
|
|
9
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
10
|
+
|
|
11
|
+
<link rel="stylesheet" href="../../css/reveal.css">
|
|
12
|
+
<link rel="stylesheet" href="../../css/theme/night.css" id="theme">
|
|
13
|
+
</head>
|
|
14
|
+
|
|
15
|
+
<body>
|
|
16
|
+
|
|
17
|
+
<div class="reveal">
|
|
18
|
+
|
|
19
|
+
<div class="slides">
|
|
20
|
+
|
|
21
|
+
<section>
|
|
22
|
+
<h2>reveal.js Math Plugin</h2>
|
|
23
|
+
<p>A thin wrapper for MathJax</p>
|
|
24
|
+
</section>
|
|
25
|
+
|
|
26
|
+
<section>
|
|
27
|
+
<h3>The Lorenz Equations</h3>
|
|
28
|
+
|
|
29
|
+
\[\begin{aligned}
|
|
30
|
+
\dot{x} & = \sigma(y-x) \\
|
|
31
|
+
\dot{y} & = \rho x - y - xz \\
|
|
32
|
+
\dot{z} & = -\beta z + xy
|
|
33
|
+
\end{aligned} \]
|
|
34
|
+
</section>
|
|
35
|
+
|
|
36
|
+
<section>
|
|
37
|
+
<h3>The Cauchy-Schwarz Inequality</h3>
|
|
38
|
+
|
|
39
|
+
<script type="math/tex; mode=display">
|
|
40
|
+
\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
|
|
41
|
+
</script>
|
|
42
|
+
</section>
|
|
43
|
+
|
|
44
|
+
<section>
|
|
45
|
+
<h3>A Cross Product Formula</h3>
|
|
46
|
+
|
|
47
|
+
\[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix}
|
|
48
|
+
\mathbf{i} & \mathbf{j} & \mathbf{k} \\
|
|
49
|
+
\frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\
|
|
50
|
+
\frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0
|
|
51
|
+
\end{vmatrix} \]
|
|
52
|
+
</section>
|
|
53
|
+
|
|
54
|
+
<section>
|
|
55
|
+
<h3>The probability of getting \(k\) heads when flipping \(n\) coins is</h3>
|
|
56
|
+
|
|
57
|
+
\[P(E) = {n \choose k} p^k (1-p)^{ n-k} \]
|
|
58
|
+
</section>
|
|
59
|
+
|
|
60
|
+
<section>
|
|
61
|
+
<h3>An Identity of Ramanujan</h3>
|
|
62
|
+
|
|
63
|
+
\[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} =
|
|
64
|
+
1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}}
|
|
65
|
+
{1+\frac{e^{-8\pi}} {1+\ldots} } } } \]
|
|
66
|
+
</section>
|
|
67
|
+
|
|
68
|
+
<section>
|
|
69
|
+
<h3>A Rogers-Ramanujan Identity</h3>
|
|
70
|
+
|
|
71
|
+
\[ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots =
|
|
72
|
+
\prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}\]
|
|
73
|
+
</section>
|
|
74
|
+
|
|
75
|
+
<section>
|
|
76
|
+
<h3>Maxwell’s Equations</h3>
|
|
77
|
+
|
|
78
|
+
\[ \begin{aligned}
|
|
79
|
+
\nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\
|
|
80
|
+
\nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\
|
|
81
|
+
\nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned}
|
|
82
|
+
\]
|
|
83
|
+
</section>
|
|
84
|
+
|
|
85
|
+
<section>
|
|
86
|
+
<section>
|
|
87
|
+
<h3>The Lorenz Equations</h3>
|
|
88
|
+
|
|
89
|
+
<div class="fragment">
|
|
90
|
+
\[\begin{aligned}
|
|
91
|
+
\dot{x} & = \sigma(y-x) \\
|
|
92
|
+
\dot{y} & = \rho x - y - xz \\
|
|
93
|
+
\dot{z} & = -\beta z + xy
|
|
94
|
+
\end{aligned} \]
|
|
95
|
+
</div>
|
|
96
|
+
</section>
|
|
97
|
+
|
|
98
|
+
<section>
|
|
99
|
+
<h3>The Cauchy-Schwarz Inequality</h3>
|
|
100
|
+
|
|
101
|
+
<div class="fragment">
|
|
102
|
+
\[ \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \]
|
|
103
|
+
</div>
|
|
104
|
+
</section>
|
|
105
|
+
|
|
106
|
+
<section>
|
|
107
|
+
<h3>A Cross Product Formula</h3>
|
|
108
|
+
|
|
109
|
+
<div class="fragment">
|
|
110
|
+
\[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix}
|
|
111
|
+
\mathbf{i} & \mathbf{j} & \mathbf{k} \\
|
|
112
|
+
\frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\
|
|
113
|
+
\frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0
|
|
114
|
+
\end{vmatrix} \]
|
|
115
|
+
</div>
|
|
116
|
+
</section>
|
|
117
|
+
|
|
118
|
+
<section>
|
|
119
|
+
<h3>The probability of getting \(k\) heads when flipping \(n\) coins is</h3>
|
|
120
|
+
|
|
121
|
+
<div class="fragment">
|
|
122
|
+
\[P(E) = {n \choose k} p^k (1-p)^{ n-k} \]
|
|
123
|
+
</div>
|
|
124
|
+
</section>
|
|
125
|
+
|
|
126
|
+
<section>
|
|
127
|
+
<h3>An Identity of Ramanujan</h3>
|
|
128
|
+
|
|
129
|
+
<div class="fragment">
|
|
130
|
+
\[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} =
|
|
131
|
+
1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}}
|
|
132
|
+
{1+\frac{e^{-8\pi}} {1+\ldots} } } } \]
|
|
133
|
+
</div>
|
|
134
|
+
</section>
|
|
135
|
+
|
|
136
|
+
<section>
|
|
137
|
+
<h3>A Rogers-Ramanujan Identity</h3>
|
|
138
|
+
|
|
139
|
+
<div class="fragment">
|
|
140
|
+
\[ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots =
|
|
141
|
+
\prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}\]
|
|
142
|
+
</div>
|
|
143
|
+
</section>
|
|
144
|
+
|
|
145
|
+
<section>
|
|
146
|
+
<h3>Maxwell’s Equations</h3>
|
|
147
|
+
|
|
148
|
+
<div class="fragment">
|
|
149
|
+
\[ \begin{aligned}
|
|
150
|
+
\nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\
|
|
151
|
+
\nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\
|
|
152
|
+
\nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned}
|
|
153
|
+
\]
|
|
154
|
+
</div>
|
|
155
|
+
</section>
|
|
156
|
+
</section>
|
|
157
|
+
|
|
158
|
+
</div>
|
|
159
|
+
|
|
160
|
+
</div>
|
|
161
|
+
|
|
162
|
+
<script src="../../lib/js/head.min.js"></script>
|
|
163
|
+
<script src="../../js/reveal.js"></script>
|
|
164
|
+
|
|
165
|
+
<script>
|
|
166
|
+
|
|
167
|
+
Reveal.initialize({
|
|
168
|
+
history: true,
|
|
169
|
+
transition: 'linear',
|
|
170
|
+
|
|
171
|
+
math: {
|
|
172
|
+
// mathjax: 'http://cdn.mathjax.org/mathjax/latest/MathJax.js',
|
|
173
|
+
config: 'TeX-AMS_HTML-full'
|
|
174
|
+
},
|
|
175
|
+
|
|
176
|
+
dependencies: [
|
|
177
|
+
{ src: '../../lib/js/classList.js' },
|
|
178
|
+
{ src: '../../plugin/math/math.js', async: true }
|
|
179
|
+
]
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
</script>
|
|
183
|
+
|
|
184
|
+
</body>
|
|
185
|
+
</html>
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
|
|
7
|
+
<title>reveal.js - Slide Backgrounds</title>
|
|
8
|
+
|
|
9
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
10
|
+
|
|
11
|
+
<link rel="stylesheet" href="../../css/reveal.css">
|
|
12
|
+
<link rel="stylesheet" href="../../css/theme/serif.css" id="theme">
|
|
13
|
+
<style type="text/css" media="screen">
|
|
14
|
+
.slides section.has-dark-background,
|
|
15
|
+
.slides section.has-dark-background h2 {
|
|
16
|
+
color: #fff;
|
|
17
|
+
}
|
|
18
|
+
.slides section.has-light-background,
|
|
19
|
+
.slides section.has-light-background h2 {
|
|
20
|
+
color: #222;
|
|
21
|
+
}
|
|
22
|
+
</style>
|
|
23
|
+
</head>
|
|
24
|
+
|
|
25
|
+
<body>
|
|
26
|
+
|
|
27
|
+
<div class="reveal">
|
|
28
|
+
|
|
29
|
+
<div class="slides">
|
|
30
|
+
|
|
31
|
+
<section data-background="#00ffff">
|
|
32
|
+
<h2>data-background: #00ffff</h2>
|
|
33
|
+
</section>
|
|
34
|
+
|
|
35
|
+
<section data-background="#bb00bb">
|
|
36
|
+
<h2>data-background: #bb00bb</h2>
|
|
37
|
+
</section>
|
|
38
|
+
|
|
39
|
+
<section data-background-color="lightblue">
|
|
40
|
+
<h2>data-background: lightblue</h2>
|
|
41
|
+
</section>
|
|
42
|
+
|
|
43
|
+
<section>
|
|
44
|
+
<section data-background="#ff0000">
|
|
45
|
+
<h2>data-background: #ff0000</h2>
|
|
46
|
+
</section>
|
|
47
|
+
<section data-background="rgba(0, 0, 0, 0.2)">
|
|
48
|
+
<h2>data-background: rgba(0, 0, 0, 0.2)</h2>
|
|
49
|
+
</section>
|
|
50
|
+
<section data-background="salmon">
|
|
51
|
+
<h2>data-background: salmon</h2>
|
|
52
|
+
</section>
|
|
53
|
+
</section>
|
|
54
|
+
|
|
55
|
+
<section data-background="rgba(0, 100, 100, 0.2)">
|
|
56
|
+
<section>
|
|
57
|
+
<h2>Background applied to stack</h2>
|
|
58
|
+
</section>
|
|
59
|
+
<section>
|
|
60
|
+
<h2>Background applied to stack</h2>
|
|
61
|
+
</section>
|
|
62
|
+
<section data-background="rgb(66, 66, 66)">
|
|
63
|
+
<h2>Background applied to slide inside of stack</h2>
|
|
64
|
+
</section>
|
|
65
|
+
</section>
|
|
66
|
+
|
|
67
|
+
<section data-background-transition="slide" data-background="assets/image1.png">
|
|
68
|
+
<h2>Background image</h2>
|
|
69
|
+
</section>
|
|
70
|
+
|
|
71
|
+
<section>
|
|
72
|
+
<section data-background-transition="slide" data-background="assets/image1.png">
|
|
73
|
+
<h2>Background image</h2>
|
|
74
|
+
</section>
|
|
75
|
+
<section data-background-transition="slide" data-background="assets/image1.png">
|
|
76
|
+
<h2>Background image</h2>
|
|
77
|
+
</section>
|
|
78
|
+
</section>
|
|
79
|
+
|
|
80
|
+
<section data-background="assets/image2.png" data-background-size="100px" data-background-repeat="repeat" data-background-color="#111">
|
|
81
|
+
<h2>Background image</h2>
|
|
82
|
+
<pre>data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"</pre>
|
|
83
|
+
</section>
|
|
84
|
+
|
|
85
|
+
<section data-background="#888888">
|
|
86
|
+
<h2>Same background twice (1/2)</h2>
|
|
87
|
+
</section>
|
|
88
|
+
<section data-background="#888888">
|
|
89
|
+
<h2>Same background twice (2/2)</h2>
|
|
90
|
+
</section>
|
|
91
|
+
|
|
92
|
+
<section data-background-video="https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm">
|
|
93
|
+
<h2>Video background</h2>
|
|
94
|
+
</section>
|
|
95
|
+
|
|
96
|
+
<section data-background-iframe="https://slides.com/news/make-better-presentations/embed?style=hidden&autoSlide=4000">
|
|
97
|
+
<h2>Iframe background</h2>
|
|
98
|
+
</section>
|
|
99
|
+
|
|
100
|
+
<section>
|
|
101
|
+
<section data-background="#417203">
|
|
102
|
+
<h2>Same background twice vertical (1/2)</h2>
|
|
103
|
+
</section>
|
|
104
|
+
<section data-background="#417203">
|
|
105
|
+
<h2>Same background twice vertical (2/2)</h2>
|
|
106
|
+
</section>
|
|
107
|
+
</section>
|
|
108
|
+
|
|
109
|
+
<section data-background="#934f4d">
|
|
110
|
+
<h2>Same background from horizontal to vertical (1/3)</h2>
|
|
111
|
+
</section>
|
|
112
|
+
<section>
|
|
113
|
+
<section data-background="#934f4d">
|
|
114
|
+
<h2>Same background from horizontal to vertical (2/3)</h2>
|
|
115
|
+
</section>
|
|
116
|
+
<section data-background="#934f4d">
|
|
117
|
+
<h2>Same background from horizontal to vertical (3/3)</h2>
|
|
118
|
+
</section>
|
|
119
|
+
</section>
|
|
120
|
+
|
|
121
|
+
</div>
|
|
122
|
+
|
|
123
|
+
</div>
|
|
124
|
+
|
|
125
|
+
<script src="../../lib/js/head.min.js"></script>
|
|
126
|
+
<script src="../../js/reveal.js"></script>
|
|
127
|
+
|
|
128
|
+
<script>
|
|
129
|
+
|
|
130
|
+
// Full list of configuration options available here:
|
|
131
|
+
// https://github.com/hakimel/reveal.js#configuration
|
|
132
|
+
Reveal.initialize({
|
|
133
|
+
center: true,
|
|
134
|
+
// rtl: true,
|
|
135
|
+
|
|
136
|
+
transition: 'linear',
|
|
137
|
+
// transitionSpeed: 'slow',
|
|
138
|
+
// backgroundTransition: 'slide'
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
</script>
|
|
142
|
+
|
|
143
|
+
</body>
|
|
144
|
+
</html>
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
|
|
7
|
+
<title>reveal.js - Slide Transitions</title>
|
|
8
|
+
|
|
9
|
+
<link rel="stylesheet" href="../../css/reveal.css">
|
|
10
|
+
<link rel="stylesheet" href="../../css/theme/white.css" id="theme">
|
|
11
|
+
<style type="text/css" media="screen">
|
|
12
|
+
.slides section.has-dark-background,
|
|
13
|
+
.slides section.has-dark-background h3 {
|
|
14
|
+
color: #fff;
|
|
15
|
+
}
|
|
16
|
+
.slides section.has-light-background,
|
|
17
|
+
.slides section.has-light-background h3 {
|
|
18
|
+
color: #222;
|
|
19
|
+
}
|
|
20
|
+
</style>
|
|
21
|
+
</head>
|
|
22
|
+
|
|
23
|
+
<body>
|
|
24
|
+
|
|
25
|
+
<div class="reveal">
|
|
26
|
+
|
|
27
|
+
<div class="slides">
|
|
28
|
+
|
|
29
|
+
<section>
|
|
30
|
+
<h3>Default</h3>
|
|
31
|
+
</section>
|
|
32
|
+
|
|
33
|
+
<section>
|
|
34
|
+
<h3>Default</h3>
|
|
35
|
+
</section>
|
|
36
|
+
|
|
37
|
+
<section data-transition="zoom">
|
|
38
|
+
<h3>data-transition: zoom</h3>
|
|
39
|
+
</section>
|
|
40
|
+
|
|
41
|
+
<section data-transition="zoom-in fade-out">
|
|
42
|
+
<h3>data-transition: zoom-in fade-out</h3>
|
|
43
|
+
</section>
|
|
44
|
+
|
|
45
|
+
<section>
|
|
46
|
+
<h3>Default</h3>
|
|
47
|
+
</section>
|
|
48
|
+
|
|
49
|
+
<section data-transition="convex">
|
|
50
|
+
<h3>data-transition: convex</h3>
|
|
51
|
+
</section>
|
|
52
|
+
|
|
53
|
+
<section data-transition="convex-in concave-out">
|
|
54
|
+
<h3>data-transition: convex-in concave-out</h3>
|
|
55
|
+
</section>
|
|
56
|
+
|
|
57
|
+
<section>
|
|
58
|
+
<section data-transition="zoom">
|
|
59
|
+
<h3>Default</h3>
|
|
60
|
+
</section>
|
|
61
|
+
<section data-transition="concave">
|
|
62
|
+
<h3>data-transition: concave</h3>
|
|
63
|
+
</section>
|
|
64
|
+
<section data-transition="convex-in fade-out">
|
|
65
|
+
<h3>data-transition: convex-in fade-out</h3>
|
|
66
|
+
</section>
|
|
67
|
+
<section>
|
|
68
|
+
<h3>Default</h3>
|
|
69
|
+
</section>
|
|
70
|
+
</section>
|
|
71
|
+
|
|
72
|
+
<section data-transition="none">
|
|
73
|
+
<h3>data-transition: none</h3>
|
|
74
|
+
</section>
|
|
75
|
+
|
|
76
|
+
<section>
|
|
77
|
+
<h3>Default</h3>
|
|
78
|
+
</section>
|
|
79
|
+
|
|
80
|
+
</div>
|
|
81
|
+
|
|
82
|
+
</div>
|
|
83
|
+
|
|
84
|
+
<script src="../../lib/js/head.min.js"></script>
|
|
85
|
+
<script src="../../js/reveal.js"></script>
|
|
86
|
+
|
|
87
|
+
<script>
|
|
88
|
+
|
|
89
|
+
Reveal.initialize({
|
|
90
|
+
center: true,
|
|
91
|
+
history: true,
|
|
92
|
+
|
|
93
|
+
// transition: 'slide',
|
|
94
|
+
// transitionSpeed: 'slow',
|
|
95
|
+
// backgroundTransition: 'slide'
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
</script>
|
|
99
|
+
|
|
100
|
+
</body>
|
|
101
|
+
</html>
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* QUnit v1.12.0 - A JavaScript Unit Testing Framework
|
|
3
|
+
*
|
|
4
|
+
* http://qunitjs.com
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2012 jQuery Foundation and other contributors
|
|
7
|
+
* Released under the MIT license.
|
|
8
|
+
* http://jquery.org/license
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/** Font Family and Sizes */
|
|
12
|
+
|
|
13
|
+
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
|
|
14
|
+
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
|
|
18
|
+
#qunit-tests { font-size: smaller; }
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/** Resets */
|
|
22
|
+
|
|
23
|
+
#qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
|
|
24
|
+
margin: 0;
|
|
25
|
+
padding: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/** Header */
|
|
30
|
+
|
|
31
|
+
#qunit-header {
|
|
32
|
+
padding: 0.5em 0 0.5em 1em;
|
|
33
|
+
|
|
34
|
+
color: #8699a4;
|
|
35
|
+
background-color: #0d3349;
|
|
36
|
+
|
|
37
|
+
font-size: 1.5em;
|
|
38
|
+
line-height: 1em;
|
|
39
|
+
font-weight: normal;
|
|
40
|
+
|
|
41
|
+
border-radius: 5px 5px 0 0;
|
|
42
|
+
-moz-border-radius: 5px 5px 0 0;
|
|
43
|
+
-webkit-border-top-right-radius: 5px;
|
|
44
|
+
-webkit-border-top-left-radius: 5px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
#qunit-header a {
|
|
48
|
+
text-decoration: none;
|
|
49
|
+
color: #c2ccd1;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
#qunit-header a:hover,
|
|
53
|
+
#qunit-header a:focus {
|
|
54
|
+
color: #fff;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
#qunit-testrunner-toolbar label {
|
|
58
|
+
display: inline-block;
|
|
59
|
+
padding: 0 .5em 0 .1em;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
#qunit-banner {
|
|
63
|
+
height: 5px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
#qunit-testrunner-toolbar {
|
|
67
|
+
padding: 0.5em 0 0.5em 2em;
|
|
68
|
+
color: #5E740B;
|
|
69
|
+
background-color: #eee;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
#qunit-userAgent {
|
|
74
|
+
padding: 0.5em 0 0.5em 2.5em;
|
|
75
|
+
background-color: #2b81af;
|
|
76
|
+
color: #fff;
|
|
77
|
+
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
#qunit-modulefilter-container {
|
|
81
|
+
float: right;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/** Tests: Pass/Fail */
|
|
85
|
+
|
|
86
|
+
#qunit-tests {
|
|
87
|
+
list-style-position: inside;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
#qunit-tests li {
|
|
91
|
+
padding: 0.4em 0.5em 0.4em 2.5em;
|
|
92
|
+
border-bottom: 1px solid #fff;
|
|
93
|
+
list-style-position: inside;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
|
|
97
|
+
display: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
#qunit-tests li strong {
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
#qunit-tests li a {
|
|
105
|
+
padding: 0.5em;
|
|
106
|
+
color: #c2ccd1;
|
|
107
|
+
text-decoration: none;
|
|
108
|
+
}
|
|
109
|
+
#qunit-tests li a:hover,
|
|
110
|
+
#qunit-tests li a:focus {
|
|
111
|
+
color: #000;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
#qunit-tests li .runtime {
|
|
115
|
+
float: right;
|
|
116
|
+
font-size: smaller;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.qunit-assert-list {
|
|
120
|
+
margin-top: 0.5em;
|
|
121
|
+
padding: 0.5em;
|
|
122
|
+
|
|
123
|
+
background-color: #fff;
|
|
124
|
+
|
|
125
|
+
border-radius: 5px;
|
|
126
|
+
-moz-border-radius: 5px;
|
|
127
|
+
-webkit-border-radius: 5px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.qunit-collapsed {
|
|
131
|
+
display: none;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
#qunit-tests table {
|
|
135
|
+
border-collapse: collapse;
|
|
136
|
+
margin-top: .2em;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
#qunit-tests th {
|
|
140
|
+
text-align: right;
|
|
141
|
+
vertical-align: top;
|
|
142
|
+
padding: 0 .5em 0 0;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
#qunit-tests td {
|
|
146
|
+
vertical-align: top;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
#qunit-tests pre {
|
|
150
|
+
margin: 0;
|
|
151
|
+
white-space: pre-wrap;
|
|
152
|
+
word-wrap: break-word;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
#qunit-tests del {
|
|
156
|
+
background-color: #e0f2be;
|
|
157
|
+
color: #374e0c;
|
|
158
|
+
text-decoration: none;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
#qunit-tests ins {
|
|
162
|
+
background-color: #ffcaca;
|
|
163
|
+
color: #500;
|
|
164
|
+
text-decoration: none;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/*** Test Counts */
|
|
168
|
+
|
|
169
|
+
#qunit-tests b.counts { color: black; }
|
|
170
|
+
#qunit-tests b.passed { color: #5E740B; }
|
|
171
|
+
#qunit-tests b.failed { color: #710909; }
|
|
172
|
+
|
|
173
|
+
#qunit-tests li li {
|
|
174
|
+
padding: 5px;
|
|
175
|
+
background-color: #fff;
|
|
176
|
+
border-bottom: none;
|
|
177
|
+
list-style-position: inside;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/*** Passing Styles */
|
|
181
|
+
|
|
182
|
+
#qunit-tests li li.pass {
|
|
183
|
+
color: #3c510c;
|
|
184
|
+
background-color: #fff;
|
|
185
|
+
border-left: 10px solid #C6E746;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
|
|
189
|
+
#qunit-tests .pass .test-name { color: #366097; }
|
|
190
|
+
|
|
191
|
+
#qunit-tests .pass .test-actual,
|
|
192
|
+
#qunit-tests .pass .test-expected { color: #999999; }
|
|
193
|
+
|
|
194
|
+
#qunit-banner.qunit-pass { background-color: #C6E746; }
|
|
195
|
+
|
|
196
|
+
/*** Failing Styles */
|
|
197
|
+
|
|
198
|
+
#qunit-tests li li.fail {
|
|
199
|
+
color: #710909;
|
|
200
|
+
background-color: #fff;
|
|
201
|
+
border-left: 10px solid #EE5757;
|
|
202
|
+
white-space: pre;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
#qunit-tests > li:last-child {
|
|
206
|
+
border-radius: 0 0 5px 5px;
|
|
207
|
+
-moz-border-radius: 0 0 5px 5px;
|
|
208
|
+
-webkit-border-bottom-right-radius: 5px;
|
|
209
|
+
-webkit-border-bottom-left-radius: 5px;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
#qunit-tests .fail { color: #000000; background-color: #EE5757; }
|
|
213
|
+
#qunit-tests .fail .test-name,
|
|
214
|
+
#qunit-tests .fail .module-name { color: #000000; }
|
|
215
|
+
|
|
216
|
+
#qunit-tests .fail .test-actual { color: #EE5757; }
|
|
217
|
+
#qunit-tests .fail .test-expected { color: green; }
|
|
218
|
+
|
|
219
|
+
#qunit-banner.qunit-fail { background-color: #EE5757; }
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
/** Result */
|
|
223
|
+
|
|
224
|
+
#qunit-testresult {
|
|
225
|
+
padding: 0.5em 0.5em 0.5em 2.5em;
|
|
226
|
+
|
|
227
|
+
color: #2b81af;
|
|
228
|
+
background-color: #D2E0E6;
|
|
229
|
+
|
|
230
|
+
border-bottom: 1px solid white;
|
|
231
|
+
}
|
|
232
|
+
#qunit-testresult .module-name {
|
|
233
|
+
font-weight: bold;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/** Fixture */
|
|
237
|
+
|
|
238
|
+
#qunit-fixture {
|
|
239
|
+
position: absolute;
|
|
240
|
+
top: -10000px;
|
|
241
|
+
left: -10000px;
|
|
242
|
+
width: 1000px;
|
|
243
|
+
height: 1000px;
|
|
244
|
+
}
|