-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
143 lines (141 loc) · 3.8 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
@page {
size: 908px 681px;
margin: 0;
}
@media print {
.remark-slide-scaler {
position: inherit;
width: 100% !important;
height: 100% !important;
transform: scale(1) !important;
top: 0 !important;
left: 0 !important;
}
}
body { font-family: 'Times'; }
h1, h2, h3, h4, h5, h6 {
font-family: 'Times';
font-weight: normal;
}
.footnote {
position: absolute;
bottom: 3em;
}
a, a > code {
color: rgb(249, 38, 114);
text-decoration: none;
}
.remark-code, .remark-inline-code {
font-family: 'DejaVu Sans Mono';
background: #f0f0f0;
font-size: 0.9em;
}
.remark-code {
border-radius: 5px;
display: block;
overflow-x: auto;
padding: 15px;
text-align: left;
}
.remark-slide blockquote {
text-align: left;
border-left: 5px solid #F0F0F0;
padding-left: 0.5em;
}
.remark-slide img {
max-width: 100%;
}
.remark-slide-content.inline-list ul {
list-style-type: none;
padding-left: 0;
}
.remark-slide-content.inline-list ul li {
display: inline
}
.inverse {
background: #272822;
color: #777872;
}
.inverse h1, .inverse h2 {
color: #777872;
line-height: 0.8em;
}
.left-column {
float: left;
width: 47%;
}
.right-column {
float: right;
width: 47%;
}
.right-column + * {
clear: both;
}
.image-slide.image-slide-tall { background-size: auto 100%; }
.image-slide.image-slide-wide { background-size: 100% auto; }
.image-slide h1,
.image-slide h2,
.image-slide h3,
.image-slide h4,
.image-slide h5,
.image-slide h6,
.image-slide .remark-slide-number {
display: none;
}
table {
border-spacing: 0;
table-layout: fixed;
width: 100%;
}
td, th {
border-bottom: 1px solid lightgrey;
text-align: left;
padding: 0.5em 1em;
}
td:empty {
display: none;
}
.smaller {
font-size: smaller;
}
.quiet {
font-size: smaller;
color: gray;
}
</style>
<script src="remark-latest.min.js"></script>
</head>
<body>
<script>
var slideshow = remark.create({
sourceUrl: 'presentation.md',
navigation: { scroll: false },
highlightLines: true,
countIncrementalSlides: false,
ratio: '4:3', // '16:9'
});
/**
Copy examples to clipboard on click
**/
setTimeout(function() {
var xs = document.querySelectorAll('pre')
Array.prototype.forEach.call(xs, x => {
x.addEventListener('click', function() {
var sel = window.getSelection();
sel.removeAllRanges();
var range = document.createRange();
sel.addRange(range);
range.selectNodeContents(this);
document.execCommand('copy');
sel.removeAllRanges();
});
});
}, 500);
</script>
</body>
</html>