forked from html5rocks/www.html5rocks.com
/
slides.html
186 lines (150 loc) · 5.42 KB
/
slides.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
{% extends "base.html" %}
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% block headtitle %}{% trans "Videos and Presentations" %}{% endblock %}
{% block head %}
<style media="screen">
@media only screen and (max-width: 640px) { /*iPhone, Android*/
.slides img { max-width: 50%; }
}
#content { max-width: 970px; min-height: 400px; }
#cse-search-box {
margin-top: 4px;
}
h3 { margin-bottom: 5px; }
h4 { color: hsl(0, 0%, 50%); margin-top: 0; }
.event { color: hsl(0, 0%, 30%); }
.date { float: none;}
.body { min-height: 350px;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
body .video iframe,
body .video div[data-embed] img { width: 475px; height: 400px; }
body .video div[data-embed] img { height: 356px; }
body .video { margin-right: 15px; }
body .video,
body .video + .slides { display: inline-block; }
article { padding: 20px 0 20px 10px; margin: 0 -10px; border-top: 1px solid hsl(0, 0%, 90%);}
article.even { background: hsl(0, 0%, 95%);}
.slides { vertical-align: top; }
.slides iframe { width: 467px; height: 400px; border: 0;}
.slides img { width: 459px; outline: 2px solid hsl(221, 44%, 43%);
-webkit-box-shadow: 0px 16px 8px -9px hsl(202,4%,56%);
-moz-box-shadow: 0px 16px 8px -9px hsl(202,4%,56%);
box-shadow: 0px 16px 8px -9px hsl(202,4%,56%);
}
.slides img:hover {
-webkit-box-shadow: 0px 3px 8px hsl(202,69%,23%);
-moz-box-shadow: 0px 3px 8px hsl(202,69%,23%);
box-shadow: 0px 3px 8px hsl(202,69%,23%);
}
.video div[data-embed]{
cursor: pointer;
position: relative;
}
.video div[data-embed] span {
display:inline-block;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
width:100px;
height:100px;
border-radius:50px;
font-size: 80px;
color: hsl(0, 0%, 86%);
border-width:50px;
border-color:rgba(0,0,0,0);
-webkit-transition:0.2s ease;
-moz-transition:0.2s ease;
-ms-transition:0.2s ease;
-o-transition:0.2s ease;
transition:0.2s ease;
border:50px double rgba(0,0,0,0.7);
position: absolute;
left: 180px;
top: 120px;
}
.video div[data-embed] span:before {
/* content: "\25B6"; */
}
.video div[data-embed]:hover span {
border-width:0;
border-color:rgba(0,0,0,0.5);
-webkit-transition-duration:0.5s;
-moz-transition-duration:0.5s;
-ms-transition-duration:0.5s;
-o-transition-duration:0.5s;
transition-duration:0.5s;
border: 1px double rgba(0,0,0,0.7);
}
#filter_input, #filter_input + label {
margin: 0;
width: 228px;
float: left;
}
#filter_input + label {
display: block;
width: 370px;
font-size: 14px;
text-align: right;
color: #666;
float: right;
}
#filter_input + label output {
font-size: 12px;
display:block;
}
</style>
{% endblock %}
{% block body %}
<div data-import-html>
<header class="clearfix pattern-bg-lighter">
<hgroup>
<!-- <h1>HTML5 Rocks</h1> -->
<h2>{% trans "Slides, Presen­ta­tions & Videos" %}</h2>
</hgroup>
<section>
<p>
{% blocktrans %}
Below you can get your hands on the most recent presentations by Google Chrome Developer Relations and friends. Video is shared if available and you can view them by person, topic or event.
{% endblocktrans %}
</p>
<p class="intro">
{% blocktrans %}Filter the talks to your liking{% endblocktrans %}
</p>
<p>
<input id="filter_input" placeholder=" {% trans "filter by topic, person, etc" %}" class="search">
<label> {% trans "Only show talks more recent than:" %}
<input id="datefilter" type="range" value="0" min="0" max="100">
<output id="dateoutput"></output>
</label>
<p>
</section>
{% if not is_mobile %}
<span class="share">
<ul>
<li class="googleplus"><div class="g-plusone" data-size="medium" data-count="true" data-href="{{disqus_url}}"></div></li>
<li class="facebook" data-url="{{disqus_url}}"></li>
<li class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-url="{{disqus_url}}" data-lang="{{LANGUAGE_CODE}}" data-related="ChromiumDev:News and announcements for developers from the Google Chrome team and makers of HTML5 Rocks.">{% trans "Tweet" %}</a></li>
</ul>
</span>
{% endif %}
</header>
<section class="pres pattern-bg-lighter">
{% comment %}
Spreadhseet of all slides
https://spreadsheets.google.com/a/google.com/spreadsheet/ccc?hl=en&key=t2ZDVzRdCvcC8etphuOOonQ&hl=en#gid=0
go there to update this list.
{% endcomment %}
<div id="output">{% trans "Loading..." %}</div>
<script src="/static/js/handlebars-1{% if prod %}.min{% endif %}.js"></script>
<script src="/static/js/parseuri{% if prod %}.min{% endif %}.js"></script>
<script src="/static/js/slides-polyfills{% if prod %}.min{% endif %}.js"></script>
<script src="/static/js/slidesapp{% if prod %}.min{% endif %}.js"></script>
</section>
</div>
{% endblock %}