-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathday4.html
627 lines (611 loc) · 28 KB
/
day4.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
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>INF 362 - Spring 2014 - Unit 3: Web Design</title>
<meta name="description" content="Web Design">
<meta name="author" content="Eric Steinborn">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="css/reveal.min.css">
<link rel="stylesheet" href="css/theme/default.css" id="theme">
<!-- For syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- If the query includes 'print-pdf', use the PDF print sheet -->
<script>
document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
</script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<!-- Unit 3 Day 3 Begin -->
<section>
<h1>Unit 3 - Day 4</h1>
<p>"Where things start make sense..."</p>
</section>
<section>
<h2>Draft Reviews First 5</h2>
<ol>
<li>All applicable PDF content available on the site.</li>
<li>Proper flow through all sttages/steps of the timeline.</li>
<li>Navigating from stage to stage should flow easily. (UX flow)</li>
<li>Must be accessibile (alt tags, content visibility, scaling, color blindness, touch friendly)</li>
<li>Works on all major devices.</li>
</ol>
</section>
<section>
<h2>Draft Reviews Last 5</h2>
<ol>
<li>Interface must be intuitive/easy to use (How do i use this interface? ooh thats how!)</li>
<li>Flow and style of layout should be easy to understand (how much work does it take to find a certain piece of information)</li>
<li>Design should not be cluttered, should be inviting, stress-free</li>
<li>Tested against user personas.</li>
<li>Should not require more than 3 clicks to get to your destination</li>
</ol>
</section>
<section>
<h2>Submit your Midterm draft reviews</h2>
<p><a href="http://bit.ly/inf-af-mt">http://bit.ly/inf-af-mt</a></p>
<p><a href="http://bit.ly/inf-hb-mt">http://bit.ly/inf-hb-mt</a></p>
<p><a href="http://bit.ly/inf-t4-mt">http://bit.ly/inf-t4-mt</a></p>
<p><a href="http://bit.ly/inf-w3-mt">http://bit.ly/inf-w3-mt</a></p>
</section>
<section>
<h1>Questions?</h1>
</section>
<section>
<h2>RWD Images</h2>
<p><a href="http://foundation.zurb.com/docs/components/interchange.html">We're going to use Foundation's Interchange</a></p>
</section>
<section>
<h2>Interchange syntax</h2>
<pre><code><img data-interchange="
[image_path, (media query)],
[image_path, (media query)]"></code></pre>
</section>
<section>
<h2>Interchange Media Queries</h2>
<pre><code><img data-interchange="
[image_path, (media query)], [image_path, (media query)]"></code></pre>
<table class="table-size">
<thead>
<tr>
<th>Name</th>
<th>Media Query</th>
</tr>
</thead>
<tbody>
<tr>
<td>default</td>
<td><code>only screen and (min-width: 1px)</code></td>
</tr>
<tr>
<td>small</td>
<td><code>only screen and (min-width: 1px)</code></td>
</tr>
<tr>
<td>medium</td>
<td><code>only screen and (min-width: 641px)</code></td>
</tr>
<tr>
<td>large</td>
<td><code>only screen and (min-width: 1024px)</code></td>
</tr>
<tr>
<td>landscape</td>
<td><code>only screen and (orientation: landscape)</code></td>
</tr>
<tr>
<td>portrait</td>
<td><code>only screen and (orientation: portrait)</code></td>
</tr>
<tr>
<td>retina</td>
<td><code>only screen and (min-device-pixel-ratio: 2),<br>
only screen and (min-resolution: 192dpi),<br>
only screen and (min-resolution: 2dppx)</code>
</td>
</tr>
</tbody>
</table>
</section>
<section>
<pre><code><img data-interchange="
[image_path, (media query)], [image_path, (media query)]"></code></pre>
<p>Write interchange that swaps image1.jpg with image2.jpg when it is at large</p>
<table class="table-size">
<thead>
<tr>
<th>Name</th>
<th>Media Query</th>
</tr>
</thead>
<tbody>
<tr>
<td>default</td>
<td><code>only screen and (min-width: 1px)</code></td>
</tr>
<tr>
<td>small</td>
<td><code>only screen and (min-width: 1px)</code></td>
</tr>
<tr>
<td>medium</td>
<td><code>only screen and (min-width: 641px)</code></td>
</tr>
<tr>
<td>large</td>
<td><code>only screen and (min-width: 1024px)</code></td>
</tr>
<tr>
<td>landscape</td>
<td><code>only screen and (orientation: landscape)</code></td>
</tr>
<tr>
<td>portrait</td>
<td><code>only screen and (orientation: portrait)</code></td>
</tr>
<tr>
<td>retina</td>
<td><code>only screen and (min-device-pixel-ratio: 2),<br>
only screen and (min-resolution: 192dpi),<br>
only screen and (min-resolution: 2dppx)</code>
</td>
</tr>
</tbody>
</table>
</section>
<section>
<pre><code class="html"><img data-interchange="
[image1.jpg, (default)], [image2.jpg, (large)]"></code></pre>
</code></pre>
</section>
<section>
<h2>Now add a retina version</h2>
<p>image1-2x.jpg</p>
<pre class="fragment"><code class="html"><img data-interchange="
[image1.jpg, (default)],
[image2.jpg, (large)],
[image1-2x.jpg, (retina)]"></code></pre>
</section>
<section>
<h2>Add your own Media Query</h2>
<p>other.jpg at screen and min-width 1px</p>
<pre class="fragment"><code class="html"><img data-interchange="
[image1.jpg, (default)],
[image2.jpg, (large)],
[image1-2x.jpg, (retina),
[other.jpg, (only screen and (min-width: 1px))]"></code></pre>
</section>
<section>
<h2>Add your own Media Query</h2>
<p>big.jpg min-width 1280px</p>
<pre class="fragment"><code class="html"><img data-interchange="
[image1.jpg, (default)],
[image2.jpg, (large)],
[image1-2x.jpg, (retina),
[other.jpg, (only screen and (min-width: 1px))]
[big.jpg, ((min-width: 1280px))]"></code></pre>
</section>
<section>
<h2>Interchange Notes</h2>
<p>See the double parenthesis? Excluding only screen makes it look like that.</p>
<pre><code class="html"><img data-interchange="
[image1.jpg, (default)],
[image2.jpg, (large)],
[image1-2x.jpg, (retina),
[other.jpg, (only screen and (min-width: 1px))]
[big.jpg, ((min-width: 1280px))]"></code></pre>
</section>
<section>
<h2>Interchange Notes</h2>
<p>If breaking up the rules on new lines, each line must be a complete rule.</p>
<pre><code class="html"><img data-interchange="
[image1.jpg, (default)],
[image2.jpg, (large)],
[image1-2x.jpg, (retina),
[other.jpg, (only screen and (min-width: 1px))]
[big.jpg, ((min-width: 1280px))]"></code></pre>
</section>
<section>
<h2>Name your own Media Queries</h2>
<pre><code class="javascript">$(document).foundation('interchange', {
named_queries : {
myMq : '(max-width: 200px)'
}
});</code></pre>
</section>
<section>
<h2>Not just for images either!</h2>
<pre><code class="html"><div data-interchange="
[../examples/interchange/default.html, (small)],
[../examples/interchange/medium.html, (medium)],
[../examples/interchange/large.html, (large)]">
<div data-alert class="alert-box secondary radius">
This is the default content.
<a href="#" class="close">&times;</a>
</div>
</div></code></pre>
</section>
<section>
<h2>Code this Grid</h2>
<p><img src="img/grid-1.png" alt="grid1"></p>
<pre class="fragment"><code class="html"><div class="row">
<div class="small-2 columns">2 columns</div>
<div class="small-10 columns">10 columns</div>
</div></code></pre>
</section>
<section>
<h2>Code this Grid</h2>
<p><img src="img/grid-2.png" alt="grid1"></p>
<pre class="fragment"><code class="html"><div class="row">
<div class="small-2 columns">...</div>
<div class="small-4 columns">...</div>
<div class="small-6 columns">...</div>
</div></code></pre>
</section>
<section>
<h2>Code this Grid</h2>
<p><img src="img/grid-3.png" alt="grid1"></p>
<pre class="fragment"><code class="html"><div class="row">
<div class="large-2 columns">2 columns</div>
<div class="large-4 columns">4 columns</div>
<div class="large-6 columns">4 columns</div>
</div></code></pre>
<p class="fragment">small = 12 implied when no small class is given</p>
</section>
<section>
<h2>Foundation Grid</h2>
<p>Encapsulated by .row</p>
<p>Each column needs <code>.column</code> or <code>.columns</code></p>
<p>small-x (small-12 is implied if you don't specify)</p>
<p>medium-x (medium-12 is implied if you don't specify small)</p>
<p>large-x</p>
</section>
<section>
<h2>Visibility Classes</h2>
<p>show/hide</p>
<pre><code class="css">class="show-for-small-only"
class="show-for-medium-up"
class="show-for-medium-only"
class="show-for-large-up"
class="show-for-large-only"
class="show-for-xlarge-up"
class="show-for-xlarge-only"
class="show-for-xxlarge-up"
class="show-for-touch"</code></pre>
</section>
<section>
<h1>CSS</h1>
<p>Lots of options!</p>
</section>
<section>
<h2>Which of the following is from the CSS3 Spec?</h2>
<ol>
<li>Media Queries <span class="fragment correct correct-no-code" data-fragment-index="1">★</span></li>
<li>@font-face <span class="fragment correct correct-no-code" data-fragment-index="1">★</span></li>
<li>Border-Radius <span class="fragment correct correct-no-code" data-fragment-index="1">★</span></li>
<li>CSS Floats</li>
<li>Border-Style</li>
</ol>
</section>
<section>
<h2>Browser Compatbility</h2>
<p>IE</p>
<pre><code class="html"><!DOCTYPE html>
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--></code></pre>
<p><a href="https://github.com/h5bp/html5-boilerplate/blob/v4/index.html">HTML5 boilerplate</a></p>
<p><a href="http://caniuse.com/">Caniuse.com</a></p>
</section>
<section>
<h2>Progressive Enhancement</h2>
<p><a href="http://modernizr.com/docs/#installing">Modernizr</a></p>
<p>Adds classes to the html element that you can target for features</p>
</section>
<section>
<h2>Given the following classes</h2>
<p>borderradius, boxshadow</p>
<p>How should you progressively enhance .foo for browsers without these features?</p>
<pre class="fragment"><code class="css">.foo {
border-radius: 10px;
box-shadow: 3px 3px #333;
}</code></pre>
</section>
<section>
<h2>Attribute Selectors</h2>
<pre><code>elem[att^="val"] {} //– the "begins with" selector
elem[att$="val"] {} //– the "ends with" selector
elem[att*="val"] {} //– the "contains" selector</code></pre>
</section>
<section>
<h2>Select a tags whose hrefs start with http</h2>
<p>^ (begin) | $ (ends) | * (contains)</p>
<pre><code class="javascript">a[href^="http"] {}</code></pre>
</section>
<section>
<h2>Select a title contains "foo"</h2>
<p>^ (begin) | $ (ends) | * (contains)</p>
<pre><code class="javascript">a[title*="foo"] {}</code></pre>
</section>
<section>
<h2>Select a data-name ends with "heisenberg"</h2>
<pre><code class="javascript">a[title$="heisenberg"] {}</code></pre>
</section>
<section>
<h2>Apply the link hover cursor to an element when hovered</h2>
<p>Using SASS nesting</p>
<pre class="fragment"><code>a {
color: blue;
&:hover {
cursor: pointer;
}
}</code></pre>
</section>
<section>
<h2>:before & :after</h2>
<pre><code>elem {
&:before {
background-color: red;
}
&:before {
background-color: purple;
}
}</code></pre>
<p>::before & ::after if you are IE9+</p>
</section>
<section>
<h2>Almost exclusively used with content</h2>
<pre><code class="css">elem {
&:before {
content: "";
background-color: red;
}
}</code></pre>
</section>
<section>
<h2>Add three right angle brackets after a link</h2>
<p>>>></p>
<pre class="fragment"><code class="css">a {
&:before {
content: "&gt;&gt;&gt;";
}
}</code></pre>
</section>
<section>
<h1>SVG Images</h1>
<p>Scalable Vector Graphics</p>
</section>
<section data-background="#FFF">
<img src="img/Bitmap_VS_SVG.svg" alt="">
</section>
<section>
<h2>Which of the Following are true of SVG over Raster?</h2>
<ol>
<li>Smaller File Sizes</li>
<li>Crisp Images when Zoomed <span class="fragment correct correct-no-code" data-fragment-index="1">★</span></li>
<li>SVG is highly compatible with browsers <span class="fragment correct correct-no-code" data-fragment-index="1">★</span></li>
<li>Can be easily combined</li>
<li>Scalable <span class="fragment correct correct-no-code" data-fragment-index="1">★</span></li>
</ol>
</section>
<section>
<h2>Embed an SVG image</h2>
<p>image.svg</p>
<pre class="fragment"><code class="html"><img src="image.svg"></code></pre>
</section>
<section>
<h2>Data URI's</h2>
<p><a href="http://jpillora.com/base64-encoder/">http://jpillora.com/base64-encoder/</a></p>
<pre><code class="css">li {
background:
url(data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7)
no-repeat
left center;
padding: 5px 0 5px 25px;
}</code></pre>
</section>
<section>
<h2>Be careful with data URI's</h2>
<p>Can get HUGE, FAST!</p>
<p>Tend to be very slow on mobile devices</p>
</section>
<section>
<h2>Gradients</h2>
<p>Official CSS Spec:</p>
<pre><code class="css">background: linear-gradient(top, #333333, #00cc0)</code></pre>
</section>
<section>
<h2>Browser Compatibility</h2>
<p>Vendor Prefixes FTL</p>
<pre><code>background: -webkit-gradient(linear, left top, left bottom, from(#333333), to(#00cc00));
background: -webkit-linear-gradient(top, #333333, #00cc00);
background: linear-gradient(top, #333333, #00cc00);</code></pre>
</section>
<section>
<h2>Vendor prefixes are going away</h2>
<p>Luckily you don't have to worry about them much anymore, they have been abstracted away from typical developement in the recent years.</p>
</section>
<section>
<h2>Vendor Prefixes</h2>
<p>Compass / Auto Prefixer do this for you now.</p>
<p>We're going to focus on Compass today</p>
</section>
<section>
<h2>Which of the following will compile with Compass to proper CSS?</h2>
<ol class="smaller-code">
<li>
<pre><code class="css">background: linear-gradient(top, #333, #000);</code></pre>
</li>
<li>
<pre><code class="css">background: @include linear-gradient(top left, #333, #0c0);</code></pre>
</li>
<li>
<pre><code class="css">@include background(linear-gradient(top left, #333, #0c0));</code> <span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre><code class="css">@include background(image-url("foo.png"),
linear-gradient(top left, #333, #0c0));</code> <span class="fragment correct" data-fragment-index="1">★</span></pre>
</li>
<li>
<pre><code class="css">background: url(foo.png),
linear-gradient(top, #333333, #00cc00);</code></pre>
</li>
</ol>
</section>
<section>
<h2>Compass is just a collection of Mixins</h2>
<p>So pull them in using @include's</p>
</section>
<section>
<h2>Browse to compass-style.org</h2>
<p>Click Reference</p>
<p>"examples" are your friends.</p>
</section>
<section>
<h2>We'll be using Sassmeister</h2>
<p><a href="http://sassmeister.com">http://sassmeister.com</a></p>
<p>Click HTML (may need to refresh page after enabling)</p>
</section>
<section>
<h2>Start by Importing Compass</h2>
<p>Your first two lines of a sass file should be:</p>
<pre><code>@charset "UTF-8";
@import "compass";</code></pre>
</section>
<section>
<h2>Div with background image foo.png</h2>
<p><pre class="fragment"><code>background-image: url(foo.png);</code></pre></p>
</section>
<section>
<h2>Div with background image foo.png &<br>
Linear gradient top left #000 to #fff</h2>
<p>Compass images</p>
<p><pre class="fragment"><code>@include background(image-url("foo.png"),
linear-gradient(top left, #000, #fff));</code></pre></p>
</section>
<section>
<h2>text-shadow 3px, box-shadow 5px</h2>
<p><pre class="fragment"><code>@include text-shadow(3px);
@include box-shadow(5px);</code></pre></p>
</section>
<section>
<h2>Define all link colors in one line</h2>
<p><pre class="fragment"><code>@include link-colors($normal, $hover, $active, $visited, $focus);</code></pre></p>
</section>
<section>
<h2>Div with box-sizing border-box</h2>
<p><pre class="fragment"><code>@include box-sizing(border-box);</code></pre></p>
</section>
<section>
<h2>Custom font (2 font types, ttf, woff)</h2>
<p><pre class="fragment"><code>@include font-face("Name", font-files("name.ttf", "name.woff"));</code></pre></p>
<p class="fragment">Buuuuuut....</p>
</section>
<section>
<h2>Compass fonts aren't bulletproof</h2>
<p>For "Bullet-Proof" we use Nicole Sullivan's technique</p>
<script src="https://gist.github.com/esteinborn/9634484.js"></script>
</section>
<section>
<h2>Icon Fonts</h2>
<p>You can also use Zurb's Icon fonts</p>
<p><a href="http://zurb.com/playground/foundation-icon-fonts-3">Foundation Icon Fonts 3</a></p>
<p><a href="http://fontello.com">Fontello is a viable alternative, it also lets you pick and choose fonts and add your own images as fonts</a></p>
</section>
<section>
<h2>Foundation Icons</h2>
<p>Create a button with a Star icon to the left of it</p>
<pre class="fragment"><code class="html"><button><i class="fi-star"></i> Star</button></code></pre>
</section>
<section>
<h2>Sass & Color</h2>
<p><a href="http://jackiebalzer.com/color">Interactive demo Sass color functions</a></p>
</section>
<section>
<h2>Make a div have 50% opacity</h2>
<pre class="fragment"><code class="css">@include opacity(50);</code></pre>
<p class="fragment">Only need this for providing Old IE opacity, if not just use "opacity: .5;"</p>
</section>
<section>
<h2>RGBa Color</h2>
<p>Opacity affects HEX colors and whatever they contain</p>
<pre><code>rgba(255, 255, 255, 0.5);</code></pre>
<p>Give a div #bada55 background color with 70% opacity</p>
<pre class="fragment"><code class="css">background: rgba(186, 218, 85, 0.7);???</code></pre>
<pre class="fragment"><code class="css">background: rgba(#bada55, 0.7);</code></pre>
</section>
<section>
<h1>Next Time on...</h1>
<h1 class="blood">INF 362!</h1>
</section>
<section>
<ol>
<li>Analytcs</li>
<li>Image Size</li>
<li>Image Sprite</li>
<li>NPM</li>
<li>Grunt</li>
<li>Bower</li>
<li>Linting</li>
<li>Autoprefix</li>
<li>Asset Minification</li>
<li>HTTP request optimization</li>
<li>Asset Concat</li>
<li>Before vs After</li>
<li>JS Perf</li>
</ol>
</section>
<section>
<h1>For Next Class</h1>
<ul>
<li>Midterm due.</li>
</ul>
</section>
<section>
<h2>Readings for our last unit</h2>
<ol>
<li><a href="http://designshack.net/articles/css/6-thinks-i-learned-about-print-stylesheets-from-html5-boilerplate/">Print Stylesheets</a></li>
<li><a href="http://24ways.org/2013/grunt-is-not-weird-and-hard/">Grunt is not Weird or Hard</a></li>
<li><a href="http://www.hongkiat.com/blog/ultimate-guide-to-web-optimization-tips-best-practices/">Optimization Best Practices</a></li>
<li><a href="http://www.jshint.com/about/">Linting your JS</a></li>
<li><a href="http://mashable.com/2011/05/23/how-to-use-google-analytics/">Getting started with Google Analytics</a></li>
<li><a href="http://jekyllrb.com/docs/home/">What is Jekyll?</a></li>
<li><a href="http://jekyllrb.com/docs/structure/">Structure of Jekyll Templates</a></li>
</ol>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.min.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
slideNumber: true,
height: "100%",
width: "95%",
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; } }
]
});
</script>
</body>
</html>