-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
334 lines (318 loc) · 12.9 KB
/
index.php
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
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie10 lt-ie9"><![endif]-->
<!--[if IE 9]><html class="no-js lt-ie10"><![endif]-->
<!--[if gt IE 9]><!--><html class="no-js"><!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/_/css/main.css" />
<title>Whipcrack Tests</title>
<meta name="description" content="" />
<script src="/_/js/vendor/modernizr-2.7.1.min.js"></script>
<style>
body > h1, section > h1 {text-align:center;}
body > h1 {background-color:black; color:white; margin-top:0; padding:25px 0;}
section > h1 {color:Tomato;}
.test-item {background-color:ghostWhite; margin:25px 0; padding:25px;}
.test-label {margin-top:0;}
</style>
</head>
<body>
<h1>Whipcrack Tests</h1>
<section>
<h1>Grid Demonstrations</h1>
<div class="gw">
<div class="c">
<div class="g one-whole">
<h2>One Whole → One Half → One Quarter</h2>
</div>
<div class="g one-whole s-one-half l-one-quarter">
<p>1. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div><!-- g one-whole s-one-half l-one-quarter -->
<div class="g one-whole s-one-half l-one-quarter">
<p>2. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div><!-- g one-whole s-one-half l-one-quarter -->
<div class="g one-whole s-one-half l-one-quarter">
<p>3. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div><!-- g one-whole s-one-half l-one-quarter -->
<div class="g one-whole s-one-half l-one-quarter">
<p>4. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div><!-- g one-whole s-one-half l-one-quarter -->
</div><!-- .c -->
</div><!-- .gw -->
<div class="gw">
<div class="c">
<div class="g one-whole">
<h2>One Whole → One Third</h2>
</div>
<div class="g one-whole m-one-third">
<p>1. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div><!-- g one-whole m-one-third -->
<div class="g one-whole m-one-third">
<p>2. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div><!-- g one-whole m-one-third -->
<div class="g one-whole m-one-third">
<p>3. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div><!-- g one-whole m-one-third -->
</div><!-- .c -->
</div><!-- .gw -->
<div class="gw">
<div class="c">
<div class="g one-whole">
<h2>One Whole → One Fifth & Four Fifths</h2>
</div>
<div class="g one-whole m-one-fifth">
<p>1. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div><!-- g one-whole m-one-fifth -->
<div class="g one-whole m-four-fifths">
<p>2. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div><!-- g one-whole m-four-fifths -->
</div><!-- .c -->
</div><!-- .gw -->
<div class="gw">
<div class="c">
<div class="g one-whole">
<h2>One Whole → One Fifth</h2>
</div>
<div class="g one-whole m-one-fifth">
<p>1. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div><!-- g one-whole m-one-fifth -->
<div class="g one-whole m-one-fifth">
<p>2. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div><!-- g one-whole m-one-fifth -->
<div class="g one-whole m-one-fifth">
<p>3. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div><!-- g one-whole m-one-fifth -->
<div class="g one-whole m-one-fifth">
<p>4. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div><!-- g one-whole m-one-fifth -->
<div class="g one-whole m-one-fifth">
<p>5. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div><!-- g one-whole m-one-fifth -->
</div><!-- .c -->
</div><!-- .gw -->
</section>
<section>
<h1>Inline Elements</h1>
<div class="gw">
<div class="c">
<div class="g one-whole">
<div class="test-item">
<p>This is a paragraph that attempts to render all of the common inline elements. Here is <a href="http://a-url-that-is-not-in-your-browser-history.com/">anchor</a>. Here is <b>bold</b>. Here is <strong>strong</strong>. Here is <i>italic</i>. Here is <em>emphasis</em>. Here is <small>small</small>. Here is <kbd>keyboard input</kbd>. Here is <code>code</code>. Here is <q>quote</q>. Here is <cite>cite</cite>. Here is <dfn>definition</dfn>. Here is <sup>superscript</sup>. Here is <sub>subscript</sub>. Here is <mark>mark</mark>. Here is <del>delete</del>. Here is <ins>insert</ins>. Here is <abbr title="abbreviation!">abbreviation</abbr>.</p>
</div>
</div><!-- .g .one-whole -->
</div><!-- .c -->
</div><!-- .gw -->
</section>
<section>
<h1>Block-level Elements</h1>
<div class="gw">
<div class="c">
<div class="g one-whole">
<div class="test-item">
<h1>This is an <h1></h1>
</div>
<div class="test-item">
<h2>This is an <h2></h2>
</div>
<div class="test-item">
<h3>This is an <h3></h3>
</div>
<div class="test-item">
<h4>This is an <h4></h4>
</div>
<div class="test-item">
<h5>This is an <h5></h5>
</div>
<div class="test-item">
<blockquote>Here is a <blockquote>.</blockquote>
</div>
<div class="test-item">
<address>Here is an <address>.</address>
</div>
<div class="test-item">
<pre>Here is preformatted text.</pre>
</div>
<div class="test-item">
<h2 class="test-label">Ordered list</h2>
<ol>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
</ol>
</div>
<div class="test-item">
<h2 class="test-label">Unordered list</h2>
<ul>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
</ul>
</div>
<div class="test-item">
<h2 class="test-label">Description list</h2>
<dl>
<dt>List name 1</dt>
<dd>List value 1</dd>
<dt>List name 2</dt>
<dd>List value 2a</dd>
<dd>List value 2b</dd>
<dd>List value 2c</dd>
<dt>List name 3a</dt>
<dt>List name 3b</dt>
<dd>List value 3</dd>
</dl>
</div>
<div class="test-item">
<h2 class="test-label">Table</h2>
<table>
<caption>Table caption</caption>
<thead>
<tr>
<th>Header 1</th>
<th>Header 2</th>
<th>Header 3</th>
<th>Header 4</th>
</tr>
</thead>
<tfoot>
<tr>
<td>Footer 1</td>
<td>Footer 2</td>
<td>Footer 3</td>
<td>Footer 4</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>Body content A1</td>
<td>Body content A2</td>
<td>Body content A3</td>
<td>Body content A4</td>
</tr>
<tr>
<td>Body content B1</td>
<td>Body content B2</td>
<td>Body content B3</td>
<td>Body content B4</td>
</tr>
<tr>
<td>Body content C1</td>
<td>Body content C2</td>
<td>Body content C3</td>
<td>Body content C4</td>
</tr>
</tbody>
</table>
</div>
</div><!-- .g .one-whole -->
</div><!-- .c -->
</div><!-- .gw -->
</section>
<section>
<h1>Media-like Elements</h1>
<div class="gw">
<div class="c">
<div class="g one-whole">
<div class="test-item">
<h2 class="test-label">An image element</h2>
<img src="http://fromtheoutfit.com/_/img/logo.png" alt="The Outfit logo" />
</div>
<div class="test-item">
<h2 class="test-label">Using the picturefill plugin to load a 2x image</h2>
<div style="max-width:123px;">
<span data-picture data-alt="Alt attribute value!">
<span data-src="http://fromtheoutfit.com/_/img/logo.png"></span>
<span data-src="http://fromtheoutfit.com/_/img/[email protected]" data-media="only screen and (-webkit-min-device-pixel-ratio:2), only screen and (min--moz-device-pixel-ratio:2), only screen and (-o-min-device-pixel-ratio:2/1), only screen and (min-device-pixel-ratio:2), only screen and (min-resolution:192dpi), only screen and (min-resolution:2dppx)"></span>
<noscript><img src="http://fromtheoutfit.com/_/img/logo.png" alt="Alt attribute value!" /></noscript>
</span>
</div>
</div>
<div class="test-item">
<h2 class="test-label">A figure element, containing img and figcaption elements</h2>
<figure>
<img src="http://fromtheoutfit.com/_/img/logo.png" alt="The Outfit logo" />
<figcaption>A nice logo from a nice company.</figcaption>
</figure>
</div>
<div class="test-item">
<h2 class="test-label">Small <a> button</h2>
<a href="http://website.com/" class="btn-small">Boom</a>
</div>
<div class="test-item">
<h2 class="test-label" class="test-label"><a> button</h2>
<a href="http://website.com/" class="btn">Boom</a>
</div>
<div class="test-item">
<h2 class="test-label">Large <a> button</h2>
<a href="http://website.com/" class="btn-large">Boom</a>
</div>
<div class="test-item">
<h2 class="test-label">Small <button></h2>
<button class="btn-small">Kapow</button>
</div>
<div class="test-item">
<h2 class="test-label"><button></h2>
<button class="btn">Kapow</button>
</div>
<div class="test-item">
<h2 class="test-label">Large <button></h2>
<button class="btn-large">Kapow</button>
</div>
<div class="test-item">
<h2 class="test-label">Small <input type="submit"></h2>
<input type="submit" value="Zing" class="btn-small" />
</div>
<div class="test-item">
<h2 class="test-label"><input type="submit"></h2>
<input type="submit" value="Zing" class="btn" />
</div>
<div class="test-item">
<h2 class="test-label">Large <input type="submit"></h2>
<input type="submit" value="Zing" class="btn-large" />
</div>
<div class="test-item">
<h2 class="test-label">A video element</h2>
<video controls>
<source src="http://techslides.com/demos/sample-videos/small.webm" type="video/webm" />
<source src="http://techslides.com/demos/sample-videos/small.ogv" type="video/ogg" />
<source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4" />
<source src="http://techslides.com/demos/sample-videos/small.3gp" type="video/3gp" />
</video>
</div>
<div class="test-item">
<h2 class="test-label">An audio element</h2>
<audio controls>
<source src="http://www.lunerouge.org/sons/animaux/LRStorm%2001%20by%20Teza.ogg" type="audio/ogg" />
</audio>
</div>
</div><!-- g one-whole -->
</div><!-- c -->
</div><!-- gw -->
</section>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="/_/js/vendor/jquery-1.10.2.min.js"><\/script>')</script>
<script src="/_/js/plugins.js"></script>
<script src="/_/js/main.js"></script>
<script>
// (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
// function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
// e=o.createElement(i);r=o.getElementsByTagName(i)[0];
// e.src='//www.google-analytics.com/analytics.js';
// r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
// ga('create','UA-XXXXX-X');ga('send','pageview');
</script>
</body>
</html>