-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.html
557 lines (501 loc) · 20.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
<!DOCTYPE html>
<html>
<head>
<title>TITLE</title>
<!-- meta information -->
<meta name="author" content="Torsten Schrade" />
<meta charset="utf-8" />
<meta name="viewport" content="width=1024" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<!-- favicons -->
<link rel="shortcut icon" href="resources/img/favicon.png" />
<link rel="apple-touch-icon" href="resources/img/apple-touch-icon.png" />
<!-- CSS reset and grid -->
<link href="vendor/normalize/normalize-4.1.1.css" rel="stylesheet" />
<link href="vendor/skeleton/skeleton-2.0.4.css" rel="stylesheet" />
<!-- fonts -->
<link href="resources/css/fonts.css?family=Open+Sans:400,700,600,600italic,400italic,700italic,800,800italic" rel="stylesheet" type="text/css" />
<!-- styles for included libraries -->
<!-- chartist -->
<link rel="stylesheet" href="vendor/chartist/chartist.min-0.9.7.css" />
<!-- codemirror -->
<link rel="stylesheet" href="vendor/codemirror/lib/codemirror.css" />
<!-- highlight -->
<link rel="stylesheet" href="vendor/highlight/styles/default.css" />
<link rel="stylesheet" href="resources/css/hljs.linenumbering.css" />
<!-- magnific popup -->
<link rel="stylesheet" href="vendor/magnific-popup/magnific-popup-1.1.0.css" />
<!-- standard presentation styles -->
<link href="resources/css/style.css" rel="stylesheet" />
<!-- custom presentation styles -->
<link href="resources/css/custom.css" rel="stylesheet" />
<!-- custom print styles -->
<link href="resources/css/print.css" rel="stylesheet" />
<!-- js needed in head -->
<!-- greuler -->
<script src="vendor/d3/d3-6.7.0.min.js"></script>
<script src="vendor/cola/cola.v3.min.js"></script>
<script src="vendor/greuler/greuler-1.0.0.min.js"></script>
<!-- html5 dataset shim for IE -->
<script src="vendor/impress/html5-dataset.js" type="text/javascript"></script>
</head>
<body>
<div class="fallback-message">
<p>
Your browser <strong>doesn't support the features required</strong> by impress.mod.js,
so you are presented with a simplified version of this presentation.
</p>
<p>
For the best experience please use the latest <strong>Chrome</strong>, <strong>Safari</strong>
or <strong>Firefox</strong> browser.
</p>
</div>
<div id="impress">
<div class="step">
<h4><strong>Date</strong> | <a href="#">Location</a></h4>
<h4><strong>Context</strong></h4>
<h1 class="down-100">Title</h1>
<h2 class="up-25">Subtitle</h2>
<h4 class="down-100">
<strong>Slides:</strong>
<a href="#" title="View the presentation online">
Link
</a>
</h4>
<h5>
<strong><a href="#">Author(s)</a></strong> |
<img src="resources/img/Octicons-mark-github.svg" alt="Twitter" class="gh-icon" />
<a href="https://github.com/digicademy/" title="Digital Academy on GitHub">digicademy</a> |
<a href="https://creativecommons.org/licenses/by/4.0/">CC-BY 4.0</a>
</h5>
</div>
<div class="step">
<h2>Table of Contents</h2>
<ol class="line-height-one-five">
<li>
One
</li>
<li>
Two
</li>
<li>
Three
</li>
</ol>
</div>
<div class="step">
<h1 class="red">01</h1>
<h2 class="line-height-one-five">
Basics
</h2>
</div>
<div class="step">
<h1>Heading (H1)</h1>
<h2>Heading (H2)</h2>
<h3>Heading (H3)</h3>
<h4>Heading (H4)</h4>
<h5>Heading (H5)</h5>
<h6>Heading (H6)</h6>
</div>
<div class="step">
<h2>Text</h2>
<h3 class="up-25 after-25">Standard text styles</h3>
<p class="justify">
To die or fly to <span class="dotted">dream</span>: ay, <em>that makes calamity of office</em>, and to be: to dread of, and the heart-ache<sup>1</sup>
and sweat pith their <span class="outline">currents</span> turns, puzzles <code>the pale cast of outrageous</code> for who would bear, <strong>to be
or to sleep</strong> of <del>death</del> <ins>life</ins> what pith and sweat pith <span class="underline">the pangs and arrows</span> of dispriz'd lose ills
we have shuffled o'er with a <span class="highlight">bare</span> bourn no <a href="https://en.wikipedia.org/wiki/Mortal_coil">mortal coil</a>. <cite>W.S., Volume<sub>2</sub></cite>
</p>
<blockquote>
Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
The frumious Bandersnatch!
</blockquote>
</div>
<div class="step">
<h2>Text</h2>
<h3 class="up-25 after-25">Text classes (medium, small, x-small)</h3>
<h4><strong>medium</strong></h4>
<p class="medium up-25">
To die or fly to <span class="dotted">dream</span>: ay, <em>that makes calamity of office</em>, and to be: to dread of, and the heart-ache<sup>1</sup>
and sweat pith their <span class="outline">currents</span> turns, puzzles <code>the pale cast of outrageous</code> for who would bear, <strong>to be
or to sleep</strong> of <del>death</del> <ins>life</ins> what pith and sweat pith <span class="underline">the pangs and arrows</span> of dispriz'd lose ills
we have shuffled o'er with a <span class="highlight">bare</span> bourn no <a href="https://en.wikipedia.org/wiki/Mortal_coil">mortal coil</a>. <cite>W.S., Volume<sub>2</sub></cite>
</p>
<h5><strong>small</strong></h5>
<p class="small up-25">
To die or fly to <span class="dotted">dream</span>: ay, <em>that makes calamity of office</em>, and to be: to dread of, and the heart-ache<sup>1</sup>
and sweat pith their <span class="outline">currents</span> turns, puzzles <code>the pale cast of outrageous</code> for who would bear, <strong>to be
or to sleep</strong> of <del>death</del> <ins>life</ins> what pith and sweat pith <span class="underline">the pangs and arrows</span> of dispriz'd lose ills
we have shuffled o'er with a <span class="highlight">bare</span> bourn no <a href="https://en.wikipedia.org/wiki/Mortal_coil">mortal coil</a>. <cite>W.S., Volume<sub>2</sub></cite>
</p>
<h6><strong>x-small</strong></h6>
<p class="x-small up-25">
To die or fly to <span class="dotted">dream</span>: ay, <em>that makes calamity of office</em>, and to be: to dread of, and the heart-ache<sup>1</sup>
and sweat pith their <span class="outline">currents</span> turns, puzzles <code>the pale cast of outrageous</code> for who would bear, <strong>to be
or to sleep</strong> of <del>death</del> <ins>life</ins> what pith and sweat pith <span class="underline">the pangs and arrows</span> of dispriz'd lose ills
we have shuffled o'er with a <span class="highlight">bare</span> bourn no <a href="https://en.wikipedia.org/wiki/Mortal_coil">mortal coil</a>. <cite>W.S., Volume<sub>2</sub></cite>
</p>
</div>
<div class="step">
<h2>Lists, Lists, Lists</h2>
<h3 class="up-25 after-25">Definition, unordered, ordered</h3>
<div class="row">
<div class="four columns">
<dl>
<dt>
Acceleration
</dt>
<dd>
A constant force, acting on a particle of mass m, will produce a constant acceleration a
</dd>
<dt>
Energy
</dt>
<dd>
If we represent kinetic energy by the symbol K, then K = ½ m v²
</dd>
</dl>
</div>
<div class="four columns">
<h3>Medium</h3>
<ul>
<li>One</li>
<li>Two
<ul>
<li>Two.One</li>
<li>Two.Two</li>
</ul>
</li>
<li>Three</li>
</ul>
<h4>Small</h4>
<ul class="small">
<li>One</li>
<li>Two
<ul>
<li>Two.One</li>
<li>Two.Two</li>
</ul>
</li>
<li>Three</li>
</ul>
</div>
<div class="four columns">
<h3>Medium</h3>
<ol>
<li>One</li>
<li>Two
<ol>
<li>Two.One</li>
<li>Two.Two</li>
</ol>
</li>
<li>Thre</li>
</ol>
<h4>Small</h4>
<ol class="small">
<li>One</li>
<li>Two
<ol>
<li>Two.One</li>
<li>Two.Two</li>
</ol>
</li>
<li>Thre</li>
</ol>
</div>
</div>
</div>
<div class="step">
<h2>Tables</h2>
<h3 class="up-25 after-50">Table styles</h3>
<table>
<thead>
<tr>
<th>One</th>
<th>Two</th>
<th>Three</th>
</tr>
</thead>
<tbody>
<tr>
<td>Four</td>
<td>Five</td>
<td>Six</td>
</tr>
<tr>
<td>Seven</td>
<td>Eight</td>
<td>Nine</td>
</tr>
</tbody>
</table>
</div>
<div class="step">
<h1 class="red">02</h1>
<h2 class="line-height-one-five">
Advanced
</h2>
</div>
<div class="step">
<h2>Slide structure</h2>
<h3 class="up-25 after-50">Twelfe column grid with skeleton.css</h3>
<div class="example-grid">
<div class="row">
<div class="one column">One</div>
<div class="eleven columns">Eleven</div>
</div>
<div class="row">
<div class="two columns">Two</div>
<div class="ten columns">Ten</div>
</div>
<div class="row">
<div class="three columns">Three</div>
<div class="nine columns">Nine</div>
</div>
<div class="row">
<div class="four columns">Four</div>
<div class="eight columns">Eight</div>
</div>
<div class="row">
<div class="five columns">Five</div>
<div class="seven columns">Seven</div>
</div>
<div class="row">
<div class="six columns">Six</div>
<div class="six columns">Six</div>
</div>
<div class="row">
<div class="seven columns">Seven</div>
<div class="five columns">Five</div>
</div>
<div class="row">
<div class="eight columns">Eight</div>
<div class="four columns">Four</div>
</div>
<div class="row">
<div class="nine columns">Nine</div>
<div class="three columns">Three</div>
</div>
<div class="row">
<div class="ten columns">Ten</div>
<div class="two columns">Two</div>
</div>
<div class="row">
<div class="eleven columns">Eleven</div>
<div class="one column">One</div>
</div>
</div>
<p class="down-25">
Website: <a href="http://getskeleton.com/">http://getskeleton.com/</a>
</p>
</div>
<div class="step">
<h2>Substeps</h2>
<h3 class="up-25 after-50">Triggered with class "substep"</h3>
<ul class="line-height-one-five">
<li class="substep">One</li>
<li class="substep">Two</li>
<li class="substep">Three</li>
<li class="substep">Four</li>
<li class="substep">Five</li>
</ul>
</div>
<div class="step">
<h2>Responsive images</h2>
<h3 class="up-25 after-50">With magnific popup</h3>
<div class="mfp-lightbox row">
<div class="three columns">
<a href="resources/img/1024x768.png">
<img src="resources/img/1024x768.png" />
</a>
</div>
<div class="four columns">
<a href="resources/img/1024x768.png">
<img src="resources/img/1024x768.png" />
</a>
</div>
<div class="five columns">
<a href="resources/img/1024x768.png">
<img src="resources/img/1024x768.png" />
</a>
</div>
</div>
<p class="down-50">
Website: <a href="http://dimsemenov.com/plugins/magnific-popup/">http://dimsemenov.com/plugins/magnific-popup/</a>
</p>
</div>
<div class="step">
<h2>Code listings</h2>
<h3 class="up-25 after-50">With highlight.js (support for most languages)</h3>
<pre>
<code class="linenumbers js">function $initHighlight(block, cls) {
try {
if (cls.search(/\bno\-highlight\b/) != -1)
return process(block, true, 0x0F) +
` class="${cls}"`;
} catch (e) {
/* handle exception */
}
for (var i = 0 / 2; i < classes.length; i++) {
if (checkCondition(classes[i]) === undefined)
console.log('undefined');
}
}
export $initHighlight;
</code>
</pre>
<p>
Website: <a href="https://highlightjs.org/">https://highlightjs.org/</a>
</p>
</div>
<div class="step">
<h2>Alternative code listing</h2>
<h3 class="up-25 after-25">With Codemirror (support for even more languages)</h3>
<form><textarea id="sparql" name="sparql">
PREFIX rel: <http://purl.org/vocab/relationship/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?subject ?subjectLabel ?object ?objectLabel ?predicate
WHERE {
?subject ?predicate ?object .
?subject (rel:parentOf|^rel:parentOf|rel:spouseOf) ?object .
?subject rdfs:label ?subjectLabel .
?object rdfs:label ?objectLabel .
?subject foaf:gender ?subjectGender .
?object foaf:gender ?objectGender .
BIND (IF(?subjectGender = "male"@en, "gold", "yellowgreen") AS ?sourceColor)
BIND (IF(?objectGender = "male"@en, "gold", "yellowgreen") AS ?targetColor)
}
</textarea></form>
<p>
Website: <a href="https://codemirror.net/">https://codemirror.net/</a>
</p>
</div>
<div class="step">
<h2>Charts</h2>
<h3 class="up-25 after-50">With chartist.js</h3>
<div class="ct-container">
<div class="ct-chart ct-major-twelfth project-count"></div>
</div>
<p class="down-25">
Website: <a href="https://gionkunz.github.io/chartist-js/">https://gionkunz.github.io/chartist-js/</a>
</p>
</div>
<div class="step">
<h2>Graph models</h2>
<h3 class="up-25 after-25">With greuler.js</h3>
<div id="greuler"></div>
<script>
'use strict';
greuler({
target: '#greuler',
width: 480,
height: 300,
data: {
nodes: [
{ id: 0 },
{ id: 1 },
{ id: 2 },
{ id: 3 },
{ id: 4 },
{ id: 5 }
],
edges: [
{ source: 0, target: 1 },
{ source: 0, target: 2, directed: true },
{ source: 0, target: 3 },
{ source: 1, target: 2, directed: true },
{ source: 4, target: 0 },
{ source: 5, target: 0, directed: true },
{ source: 4, target: 5 }
]
}
}).update()
</script>
<p class="down-75">
Website: <a href="https://mauriciopoppe.github.io/greuler/#/">https://mauriciopoppe.github.io/greuler/#/</a>
</p>
</div>
<div class="step">
<div class="centered">
<h1>F I N I S</h1>
<h2>Thank you</h2>
</div>
</div>
<div class="step">
<h2>Literature & Software</h2>
<h4>Literature</h4>
<ul class="small">
<li>
One
</li>
<li>
Two
</li>
<li>
Three
</li>
</ul>
<h4>Software</h4>
<ul class="small">
<li>
One
</li>
<li>
Two
</li>
<li>
Three
</li>
</ul>
<h4>Download</h4>
<ul class="small">
<li>
<a href="#">
Link to presentation
</a>
</li>
<li>
License: <a href="https://creativecommons.org/licenses/by/4.0/">CC-BY 4.0</a>, Author
</li>
</ul>
</div>
</div>
<!-- jquery -->
<script src="vendor/jquery/jquery-1.11.0.min.js"></script>
<!-- chartist -->
<script src="vendor/chartist/chartist.min-0.9.7.js"></script>
<script src="resources/js/chartist.charts.js"></script>
<!-- codemirror -->
<script src="vendor/codemirror/lib/codemirror.js"></script>
<script src="vendor/codemirror/addon/edit/matchbrackets.js"></script>
<script src="vendor/codemirror/mode/sparql/sparql.js"></script>
<script>
var editor = CodeMirror.fromTextArea(document.getElementById("sparql"), {
mode: "application/sparql-query",
matchBrackets: true,
lineNumbers: true,
viewportMargin: Infinity
});
</script>
<!-- highlight -->
<script src="vendor/highlight/highlight.pack-9.3.0.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="resources/js/hljs.linenumbering.js"></script>
<!-- magnific popup -->
<script src="vendor/magnific-popup/jquery.magnific-popup.min-1.1.0.js"></script>
<script src="resources/js/magnific-popup.lightbox.js"></script>
<!-- impress.mod.js -->
<script src="vendor/impress/impress.fork.js"></script>
<script src="vendor/impress/impress-slidenum.js"></script>
<script>
var obj = impress();
obj.init();
initSlideNo(obj);
</script>
</body>
</html>