-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathslides.html.erb
149 lines (147 loc) · 3.84 KB
/
slides.html.erb
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
<!DOCTYPE html>
<html>
<head>
<title><%= TITLE %></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
body {
font-family: 'Droid Serif';
}
header, footer {
display: block;
color: #888;
position: absolute;
font-size: 16px;
width: 100%;
/* Make up for padding on enclosing .remark-slide-content DIV. */
margin-left: -5.5em;
}
header {
top: 0;
margin-top: -8px;
}
header .left, footer .left {
float: left;
}
header .right, footer .right {
float: right;
margin-right: 2em;
}
footer {
bottom: 0;
margin-bottom: -10px;
}
h1, h2, h3 {
font-family: 'Yanone Kaffeesatz';
font-weight: normal;
}
.remark-slides-area { background-color: #9B111E; }
.remark-slide-content {
font-size: 26px; line-height: 1.6;
width: 100%;
}
img[src="ruby_preserves.png"] {
height: 40%;
width: 40%;
}
.remark-slide-number { font-size: 16px; }
.remark-code, .remark-inline-code { font-family: monospace; line-height: 1.5; font-size: 16px; }
.remark-inline-code { font-size: 24px; }
.remark-slide .title li {
list-style-type: none;
font-size: 28px;
}
.remark-slide .title ul {
padding-left: 0px;
}
.remark-slide .title img {
height: 40%;
width: 40%;
}
.remark-slide .title h1 {
font-size: 60px;
}
.remark-slide .diagram p {
text-align: center;
}
.remark-slide li p {
margin: 0;
}
a {
text-decoration: none;
border-bottom: 1px #666666 dashed;
color: #202;
}
a:hover {
color: #505;
background-color: #DD0;
}
html .remark-container.remark-presenter-mode .remark-slides-area {
left: -10%;
top: 0;
height: 70%;
width: 70%;
}
.remark-presenter-mode .remark-notes-area {
left: 50%;
z-index: 1;
font-size: 150%;
line-height: 1.4;
}
.remark-notes-area .remark-bottom-area .remark-notes-current-area {
height: 95%;
}
html .remark-container.remark-presenter-mode .remark-preview-area, .remark-presenter-mode .remark-notes-preview-area {
display: none;
}
.affiliations ul {
column-count: 2;
}
.affiliations li {
list-style: none;
}
.affiliations img {
height: 120px;
margin: 10px 0;
vertical-align: middle;
}
.thanks img {
width: 500px;
margin-left: 100px;
}
.title {
background-image: url(captain_hook.gif);
background-size: 300px 300px;
background-position-x: 500px;
}
.title h1, .title h2, .title h3, .title h4, .title h5 {
margin-left: -300px;
}
.what_is_a_hook {
background-image: url(fish_hook.png);
background-size: 300px 300px;
background-position: 500px 200px;
}
.strict_conversion_2 ul {
column-count: 2;
}
</style>
</head>
<body>
<textarea id="source">
<%= BODY %>
</textarea>
<!-- <script src="https://gnab.github.io/remark/downloads/remark-latest.min.js"> -->
<script src="remark-latest.min.js">
</script>
<script>
var slideshow = remark.create({highlightLines: true, highlightLanguage: "ruby"});
for (i = 0; slide = slideshow.getSlides[i]; )
{
slide.properties.class = "middle, center";
}
</script>
</body>
</html>