-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
746 lines (669 loc) · 30.7 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
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
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
<?php
include_once('_inc/functions.php');
// Build out URI to reload from form dropdown
$pageURL = (@$_SERVER["HTTPS"] == "on") ? "https://" : "http://";
if (isset($_POST['uri']) && isset($_POST['section'])) {
$pageURL .= $_POST[uri].$_POST[section];
header("Location: $pageURL");
}
?>
<!DOCTYPE html>
<html lang="en-gb">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Code for America Style Guide</title>
<link rel="stylesheet" type="text/css" href="//cloud.typography.com/6304652/777902/css/fonts.css" />
<link rel="stylesheet" href="/_style/css/documentation.css">
<link rel="stylesheet" href="/_style/css/layout.css" media="all and (min-width: 40em)">
<link href="/_style/css/prism.css" rel="stylesheet" />
<script src="/_script/fittext.js" type="text/javascript"></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if (lt IE 9)&(!IEMobile)]>
<link rel="stylesheet" href="/_style/css/layout.css" media="all">
<![endif]-->
<script>
// Adds class of js to the html tag if JS is enabled
document.getElementsByTagName('html')[0].className += ' js';
// Adds class of svg to the html tag if svg is enabled
(function flagSVG() {
var ns = {'svg': 'http://www.w3.org/2000/svg'};
if(document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1")) {document.getElementsByTagName('html')[0].className += ' svg';}
})();
</script>
</head>
<body class="xx">
<?php if(isset($_GET["url"])) : ?>
<?php include($patternsPath.$_GET["url"]) ?>
<?php else : ?>
<div class="xx-sidebar">
<a class="xx-cfa-logo" href="/">
<img src="/_assets/logo.png" />
</a>
<div class="xx-nav">
<h2 class="text-whisper">Styleguide</h2>
<ol role="navigation">
<li class="xx-link-special"><a href="/patchwork.php">View as patchwork</a></li>
<?php displayList($patternsPath); ?>
</ol>
<h2 class="text-whisper">Templates</h2>
<ol role="navigation">
<li><a href="/_site/home/">Home</a></li>
<li><a href="/_site/apps/">Apps</a></li>
<li><a href="/_site/about/">About</a></li>
<li><a href="/_site/library/">Library</a></li>
<li><a href="/_site/apps/bizfriendly/">Product (Promptly)</a></li>
<li><a href="/_site/governments/boston/">City (Boston)</a></li>
<li><a href="/_site/fellows/">Fellows</a></li>
<li><a href="/_site/2013/11/13/why-im-mentoring-for-america-by-zachary-townsend.html">Post</a></li>
<li><a href="/_site/governments/">Governments</a></li>
<li><a href="/_site/donate/">Donate (Landing)</a></li>
<li><a href="/_site/donate/form/">Donate</a></li>
<li><a href="/_site/citizens/">Citizens</a></li>
<li><a href="/_site/documentation/">Documentation</a></li>
</ol>
</div>
<a class="xx-hallmark" href="http://clearleft.com/" title="Crafted by Clearleft in Brighton">Crafted by Clearleft in Brighton, UK</a>
</div>
<div class="xx-container">
<div class="heading">
<h1>Website Style Guide</h1>
</div>
<form action="" method="post" id="pattern">
<select name="section" id="pattern-select" class="nav-section-select">
<option value="">Jump to…</option>
<?php displayOptions($patternsPath); ?>
</select>
<input type="hidden" name="uri" value="<?php echo $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; ?>">
<button type="submit" id="pattern-submit">Go</button>
</form>
<main role="main">
<h2 class="xx-section-title">Bookmark Icons</h2>
<div class="spotlight">
<h3 class="h5">Flag Red</h3>
<ul class="list-no-bullets list-horizontal list-inline text-whisper">
<li><img src="/_style/favicons/152x152/flag-red.png" /> 152x152</li>
<li><img src="/_style/favicons/120x120/flag-red.png" /> 120x120</li>
<li><img src="/_style/favicons/76x76/flag-red.png" /> 76x76</li>
<li><img src="/_style/favicons/60x60/flag-red.png" /> 60x60</li>
<li><img src="/_style/favicons/32x32/flag-red.png" /> 32x32</li>
<li><img src="/_style/favicons/16x16/flag-red.png" /> 16x16</li>
</ul>
</div>
<div class="spotlight">
<h3 class="h5">Flag Blue</h3>
<ul class="list-no-bullets list-horizontal list-inline text-whisper">
<li><img src="/_style/favicons/152x152/flag-blue.png" /> 152x152</li>
<li><img src="/_style/favicons/120x120/flag-blue.png" /> 120x120</li>
<li><img src="/_style/favicons/76x76/flag-blue.png" /> 76x76</li>
<li><img src="/_style/favicons/60x60/flag-blue.png" /> 60x60</li>
<li><img src="/_style/favicons/32x32/flag-blue.png" /> 32x32</li>
<li><img src="/_style/favicons/16x16/flag-blue.png" /> 16x16</li>
</ul>
</div>
<div class="spotlight">
<h3 class="h5">Flag Gray</h3>
<ul class="list-no-bullets list-horizontal list-inline text-whisper">
<li><img src="/_style/favicons/152x152/flag-gray.png" /> 152x152</li>
<li><img src="/_style/favicons/120x120/flag-gray.png" /> 120x120</li>
<li><img src="/_style/favicons/76x76/flag-gray.png" /> 76x76</li>
<li><img src="/_style/favicons/60x60/flag-gray.png" /> 60x60</li>
<li><img src="/_style/favicons/32x32/flag-gray.png" /> 32x32</li>
<li><img src="/_style/favicons/16x16/flag-gray.png" /> 16x16</li>
</ul>
</div>
<div class="spotlight">
<h3 class="h5">Flag Black</h3>
<ul class="list-no-bullets list-horizontal list-inline text-whisper">
<li><img src="/_style/favicons/152x152/flag-black.png" /> 152x152</li>
<li><img src="/_style/favicons/120x120/flag-black.png" /> 120x120</li>
<li><img src="/_style/favicons/76x76/flag-black.png" /> 76x76</li>
<li><img src="/_style/favicons/60x60/flag-black.png" /> 60x60</li>
<li><img src="/_style/favicons/32x32/flag-black.png" /> 32x32</li>
<li><img src="/_style/favicons/16x16/flag-black.png" /> 16x16</li>
</ul>
</div>
<div class="spotlight">
<h3 class="h5">Flag White and Blue</h3>
<ul class="list-no-bullets list-horizontal list-inline text-whisper">
<li><img src="/_style/favicons/152x152/flag-white-blue.png" /> 152x152</li>
<li><img src="/_style/favicons/120x120/flag-white-blue.png" /> 120x120</li>
<li><img src="/_style/favicons/76x76/flag-white-blue.png" /> 76x76</li>
<li><img src="/_style/favicons/60x60/flag-white-blue.png" /> 60x60</li>
<li><img src="/_style/favicons/32x32/flag-white-blue.png" /> 32x32</li>
<li><img src="/_style/favicons/16x16/flag-white-blue.png" /> 16x16</li>
</ul>
</div>
<div class="spotlight">
<h3 class="h5">Flag White and Red</h3>
<ul class="list-no-bullets list-horizontal list-inline text-whisper">
<li><img src="/_style/favicons/152x152/flag-white-red.png" /> 152x152</li>
<li><img src="/_style/favicons/120x120/flag-white-red.png" /> 120x120</li>
<li><img src="/_style/favicons/76x76/flag-white-red.png" /> 76x76</li>
<li><img src="/_style/favicons/60x60/flag-white-red.png" /> 60x60</li>
<li><img src="/_style/favicons/32x32/flag-white-red.png" /> 32x32</li>
<li><img src="/_style/favicons/16x16/flag-white-red.png" /> 16x16</li>
</ul>
</div>
<div class="spotlight">
<h3 class="h5">Flag White and Gray</h3>
<ul class="list-no-bullets list-horizontal list-inline text-whisper">
<li><img src="/_style/favicons/152x152/flag-white-gray.png" /> 152x152</li>
<li><img src="/_style/favicons/120x120/flag-white-gray.png" /> 120x120</li>
<li><img src="/_style/favicons/76x76/flag-white-gray.png" /> 76x76</li>
<li><img src="/_style/favicons/60x60/flag-white-gray.png" /> 60x60</li>
<li><img src="/_style/favicons/32x32/flag-white-gray.png" /> 32x32</li>
<li><img src="/_style/favicons/16x16/flag-white-gray.png" /> 16x16</li>
</ul>
</div>
<div class="spotlight">
<h3 class="h5">Flag White and Black</h3>
<ul class="list-no-bullets list-horizontal list-inline text-whisper">
<li><img src="/_style/favicons/152x152/flag-white-black.png" /> 152x152</li>
<li><img src="/_style/favicons/120x120/flag-white-black.png" /> 120x120</li>
<li><img src="/_style/favicons/76x76/flag-white-black.png" /> 76x76</li>
<li><img src="/_style/favicons/60x60/flag-white-black.png" /> 60x60</li>
<li><img src="/_style/favicons/32x32/flag-white-black.png" /> 32x32</li>
<li><img src="/_style/favicons/16x16/flag-white-black.png" /> 16x16</li>
</ul>
</div>
<h2 class="xx-section-title">Icons</h2>
<ul class="list-no-bullets list-minim">
<li class="icon-facebook"> icon-facebook</li>
<li class="icon-twitter"> icon-twitter</li>
<li class="icon-feed"> icon-feed</li>
<li class="icon-vimeo2"> icon-vimeo2</li>
<li class="icon-lanyrd"> icon-lanyrd</li>
<li class="icon-flickr"> icon-flickr</li>
<li class="icon-mail"> icon-mail</li>
<li class="icon-youtube"> icon-youtube</li>
<li class="icon-google-plus"> icon-google-plus</li>
<li class="icon-google-plus2"> icon-google-plus2</li>
<li class="icon-github"> icon-github</li>
<li class="icon-linkedin"> icon-linkedin</li>
<li class="icon-skype"> icon-skype</li>
<li class="icon-html5"> icon-html5</li>
<li class="icon-css3"> icon-css3</li>
<li class="icon-chrome"> icon-chrome</li>
<li class="icon-firefox"> icon-firefox</li>
<li class="icon-IE"> icon-IE</li>
<li class="icon-opera"> icon-opera</li>
<li class="icon-safari"> icon-safari</li>
<li class="icon-share"> icon-share</li>
<li class="icon-github2"> icon-github2</li>
<li class="icon-user"> icon-user</li>
<li class="icon-cc"> icon-cc</li>
<li class="icon-phone"> icon-phone</li>
<li class="icon-location"> icon-location</li>
<li class="icon-envelop"> icon-envelop</li>
<li class="icon-alarm"> icon-alarm</li>
<li class="icon-print"> icon-print</li>
<li class="icon-database"> icon-database</li>
<li class="icon-undo"> icon-undo</li>
<li class="icon-redo"> icon-redo</li>
<li class="icon-bubble"> icon-bubble</li>
<li class="icon-users"> icon-users</li>
<li class="icon-quotes-left"> icon-quotes-left</li>
<li class="icon-quotes-right"> icon-quotes-right</li>
<li class="icon-key"> icon-key</li>
<li class="icon-wrench"> icon-wrench</li>
<li class="icon-cogs"> icon-cogs</li>
<li class="icon-download2"> icon-download2</li>
<li class="icon-upload2"> icon-upload2</li>
<li class="icon-earth"> icon-earth</li>
<li class="icon-star"> icon-star</li>
<li class="icon-star2"> icon-star2</li>
<li class="icon-star3"> icon-star3</li>
<li class="icon-arrow-up"> icon-arrow-up</li>
<li class="icon-arrow-right2"> icon-arrow-right2</li>
<li class="icon-arrow-down"> icon-arrow-down</li>
<li class="icon-arrow-left"> icon-arrow-left</li>
<li class="icon-arrow-up2"> icon-arrow-up2</li>
<li class="icon-arrow-right3"> icon-arrow-right3</li>
<li class="icon-arrow-down2"> icon-arrow-down2</li>
<li class="icon-arrow-left2"> icon-arrow-left2</li>
<li class="icon-new-tab"> icon-new-tab</li>
<li class="icon-embed"> icon-embed</li>
<li class="icon-code"> icon-code</li>
<li class="icon-search"> icon-search</li>
<li class="icon-bullhorn"> icon-bullhorn</li>
<li class="icon-rocket"> icon-rocket</li>
<li class="icon-checkmark"> icon-checkmark</li>
<li class="icon-tools"> icon-tools</li>
<li class="icon-lamp"> icon-lamp</li>
<li class="icon-calendar"> icon-calendar</li>
<li class="icon-twitter2"> icon-twitter2</li>
<li class="icon-grid"> icon-grid</li>
<li class="icon-tumblr"> icon-tumblr</li>
<li class="icon-cc2"> icon-cc2</li>
<li class="icon-cc-by"> icon-cc-by</li>
<li class="icon-cc-nc"> icon-cc-nc</li>
<li class="icon-cc-nc-eu"> icon-cc-nc-eu</li>
<li class="icon-cc-nc-jp"> icon-cc-nc-jp</li>
<li class="icon-cc-sa"> icon-cc-sa</li>
<li class="icon-cc-nd"> icon-cc-nd</li>
<li class="icon-cc-pd"> icon-cc-pd</li>
<li class="icon-cc-share2"> icon-cc-share2</li>
<li class="icon-thumbs-up"> icon-thumbs-up</li>
<li class="icon-thumbs-down"> icon-thumbs-down</li>
<li class="icon-upload3"> icon-upload3</li>
<li class="icon-cloud"> icon-cloud</li>
</ul>
<h2 class="xx-section-title">Colors</h2>
<p>Colours can be applied in the Sass files by calling a variable, such as <code>background-color: $color-red;</code> – this will add the correct hex code.</p>
<p>If you want the colour to have opacity, use this format in the Sass file: <code>background color: @include background-color($color-red, 0.5);</code>, or for a foreground color: <code>@include color($color-red, 0.5);</code></p>
<p>The last unit is the strength of the opacity. 1 is opaque, and 0.5 has 50% transparency.</p>
<h3>Primary Colors</h3>
<ul class="list-no-bullets">
<li class="swatch">
<span class="swatch-preview" style="background-color: #cf1b41;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>CfA Red</strong></li>
<li>rgb(204,39,62)</li>
<li>#cf1b41</li>
<li>$color-red</li>
</ul>
</li>
<li class="swatch">
<span class="swatch-preview" style="background-color: #399fd3;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>CfA Blue</strong></li>
<li>rgb(63,158,216)</li>
<li>#399fd3</li>
<li>$color-blue</li>
</ul>
<li class="swatch">
<span class="swatch-preview" style="background-color: #6D6E71;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>CfA Gray</strong></li>
<li>rgb(109, 110, 113)</li>
<li>#6D6E71</li>
<li>$color-gray</li>
</ul>
</li>
<li class="swatch">
<span class="swatch-preview" style="background-color: #000;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>CfA Black</strong></li>
<li>rgb(0, 0, 0)</li>
<li>#000000</li>
<li>$color-black</li>
</ul>
</li>
</ul>
<h3>Secondary Colors</h3>
<ul class="list-no-bullets">
<li class="swatch">
<span class="swatch-preview" style="background-color: #004b6a;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>Dark Blue</strong></li>
<li>rgb(0, 75, 106)</li>
<li>#004b6a</li>
<li>$color-dark-blue</li>
</ul>
</li>
<li class="swatch">
<span class="swatch-preview" style="background-color: #7ab5d6;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>Light Blue</strong></li>
<li>rgb(122,181,214)</li>
<li>#7ab5d6</li>
<li>$color-light-blue</li>
</ul>
<li class="swatch">
<span class="swatch-preview" style="background-color: #444444;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>Dark gray</strong></li>
<li>rgb(68, 68, 68)</li>
<li>#444444</li>
<li>$color-dark-gray</li>
</ul>
</li>
<li class="swatch">
<span class="swatch-preview" style="background-color: #999595;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>Medium gray</strong></li>
<li>rgb(153, 149, 149)</li>
<li>#999595</li>
<li>$color-medium-gray</li>
</ul>
</li>
<li class="swatch">
<span class="swatch-preview" style="background-color: #e5e5e5;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>Light gray</strong></li>
<li>rgb(229, 229, 229)</li>
<li>#e5e5e5</li>
<li>$color-light-gray</li>
</ul>
</li>
<li class="swatch">
<span class="swatch-preview" style="background-color: #e87d2b;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>Orange</strong></li>
<li>rgb(232, 125, 43)</li>
<li>#e87d2b</li>
<li>$color-orange</li>
</ul>
</li>
<li class="swatch">
<span class="swatch-preview" style="background-color: #69579C;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>Purple</strong></li>
<li>rgb(105, 87, 156)</li>
<li>#69579C</li>
<li>$color-purple</li>
</ul>
</li>
<li class="swatch">
<span class="swatch-preview" style="background-color: #00a175;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>Teal</strong></li>
<li>rgb(0, 161, 117)</li>
<li>#00a175</li>
<li>$color-teal</li>
</ul>
</li>
<li class="swatch">
<span class="swatch-preview" style="background-color: #4298bb;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>Medium Blue</strong></li>
<li>rgb(66, 152, 187)</li>
<li>#4298bb</li>
<li>$color-medium-blue</li>
</ul>
</li>
<li class="swatch">
<span class="swatch-preview" style="background-color: #fedd44;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>Yellow</strong></li>
<li>rgb(254, 221, 68)</li>
<li>#fedd44</li>
<li>$color-yellow</li>
</ul>
</li>
<li class="swatch">
<span class="swatch-preview" style="background-color: #fff;"></span>
<ul class="list-no-bullets swatch-details">
<li><strong>White</strong></li>
<li>rgb(255, 255, 255)</li>
<li>#ffffff</li>
<li>$color-white</li>
</ul>
</li>
</ul>
<h2 class="xx-section-title">Layout</h2>
<p>The classnames used for layout are all prefixed with <code>layout-</code>. They are all derived from musical note values. The site uses a 9-column grid which can be split into a 2, 3 or 9 column layout, and there are slight variations on these layouts.</p>
<p>A "stacatto" is:</p>
<blockquote>
A note of shortened duration, separated from the note that may follow by silence.
<a href="http://en.wikipedia.org/wiki/Staccato">(Via Wikipedia)</a>
</blockquote>
<p>This has been applied to the class when the column is shorter than normal.</p>
<p>Layouts can be wrapped inside each other. For example, 2 layout-minims can be within a layout-semibreve to have a 2 column layout which stops growing when it hits a certain size.</p>
<div class="xx-pattern-layout">
<div class="layout-breve">
<p>layout-breve</p>
</div>
</div>
<div class="xx-pattern-layout">
<div class="layout-breve">
<p>layout-breve</p>
<div class="layout-minim">
<p>layout-minim</p>
</div>
<div class="layout-minim">
<p>layout-minim</p>
</div>
</div>
</div>
<div class="xx-pattern-layout">
<div class="layout-breve">
<p>layout-breve</p>
<div class="layout-minim-staccato">
<p>layout-minim-staccato</p>
</div>
<div class="layout-minim-staccato">
<p>layout-minim-staccato</p>
</div>
</div>
</div>
<div class="xx-pattern-layout">
<div class="layout-breve">
<p>layout-breve</p>
<div class="layout-crotchet">
<p>layout-crotchet</p>
</div>
<div class="layout-crotchet">
<p>layout-crotchet</p>
</div>
<div class="layout-crotchet">
<p>layout-crotchet</p>
</div>
</div>
</div>
<div class="xx-pattern-layout">
<div class="layout-breve">
<p>layout-breve</p>
<div class="layout-crotchet-staccato">
<p>layout-crotchet-staccato</p>
</div>
<div class="layout-crotchet-staccato">
<p>layout-crotchet-staccato</p>
</div>
<div class="layout-crotchet-staccato">
<p>layout-crotchet-staccato</p>
</div>
</div>
</div>
<div class="xx-pattern-layout">
<div class="layout-breve">
<p>layout-breve</p>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
</div>
</div>
<div class="xx-pattern-layout">
<div class="layout-semibreve">
<p>layout-semibreve</p>
</div>
</div>
<div class="xx-pattern-layout">
<div class="layout-semibreve">
<p>layout-semibreve</p>
<div class="layout-minim">
<p>layout-minim</p>
</div>
<div class="layout-minim">
<p>layout-minim</p>
</div>
</div>
</div>
<div class="xx-pattern-layout">
<div class="layout-semibreve">
<p>layout-semibreve</p>
<div class="layout-minim-staccato">
<p>layout-minim-staccato</p>
</div>
<div class="layout-minim-staccato">
<p>layout-minim-staccato</p>
</div>
</div>
</div>
<div class="xx-pattern-layout">
<div class="layout-semibreve">
<p>layout-semibreve</p>
<div class="layout-crotchet">
<p>layout-crotchet</p>
</div>
<div class="layout-crotchet">
<p>layout-crotchet</p>
</div>
<div class="layout-crotchet">
<p>layout-crotchet</p>
</div>
</div>
</div>
<div class="xx-pattern-layout">
<div class="layout-semibreve">
<p>layout-semibreve</p>
<div class="layout-crotchet-staccato">
<p>layout-crotchet-staccato</p>
</div>
<div class="layout-crotchet-staccato">
<p>layout-crotchet-staccato</p>
</div>
<div class="layout-crotchet-staccato">
<p>layout-crotchet-staccato</p>
</div>
</div>
</div>
<div class="xx-pattern-layout">
<div class="layout-semibreve">
<p>layout-semibreve</p>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
<div class="layout-quaver">
<p>layout-quaver</p>
</div>
</div>
</div>
<div class="xx-pattern-layout">
<div class="layout-semibreve">
<p>layout-breve</p>
<div class="layout-minor">
<p>layout-minim-staccato</p>
</div>
<div class="layout-major">
<p>layout-minim-staccato</p>
</div>
</div>
</div>
<h2 class="xx-section-title">Slabs</h2>
<div class="xx-slabs">
<section class="slab-gray">
<p><code>slab-gray</code></p>
<p>Lorem ipsum dolor sit amet, <a href="#">consectetuer adipiscing</a> elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
<ul>
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
<li>Aliquam tincidunt mauris eu risus.</li>
<li>Vestibulum auctor dapibus neque.</li>
</li>
</section>
<section class="slab-dark-gray">
<p><code>slab-dark-gray</code></p>
<p>Lorem ipsum dolor sit amet, <a href="#">consectetuer adipiscing</a> elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
<ul>
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
<li>Aliquam tincidunt mauris eu risus.</li>
<li>Vestibulum auctor dapibus neque.</li>
</li>
</section>
<section class="slab-red">
<p><code>slab-red</code></p>
<p>Lorem ipsum dolor sit amet, <a href="#">consectetuer adipiscing</a> elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
<ul>
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
<li>Aliquam tincidunt mauris eu risus.</li>
<li>Vestibulum auctor dapibus neque.</li>
</li>
</section>
<section class="slab-medium-red">
<p><code>slab-medium-red</code></p>
<p>Lorem ipsum dolor sit amet, <a href="#">consectetuer adipiscing</a> elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
<ul>
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
<li>Aliquam tincidunt mauris eu risus.</li>
<li>Vestibulum auctor dapibus neque.</li>
</li>
</section>
<section class="slab-blue">
<p><code>slab-blue</code></p>
<p>Lorem ipsum dolor sit amet, <a href="#">consectetuer adipiscing</a> elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
<ul>
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
<li>Aliquam tincidunt mauris eu risus.</li>
<li>Vestibulum auctor dapibus neque.</li>
</li>
</section>
<section class="slab-dark-blue">
<p><code>slab-dark-blue</code></p>
<p>Lorem ipsum dolor sit amet, <a href="#">consectetuer adipiscing</a> elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
<ul>
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
<li>Aliquam tincidunt mauris eu risus.</li>
<li>Vestibulum auctor dapibus neque.</li>
</li>
</section>
</div>
<?php displayPatterns($patternsPath); ?>
</main><!--@main-->
<?php endif; ?>
</div>
<script src="_script/prism.js"></script>
</body>
<script>
(function (document, undefined) {
// Add js class to body
document.getElementsByTagName('body')[0].className += ' js';
// Pattern selector
document.getElementById('pattern-submit').style.display = 'none';
document.getElementById('pattern-select').onchange = function() {
//document.location=this.options[this.selectedIndex].value;
var val = this.value;
if (val !== "") {
window.location = val;
}
}
})(document);
</script>
</html>