-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
1742 lines (1360 loc) · 84 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
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
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>MinnPost Styles</title>
<meta name="description" content="The MinnPost super-fly style guide, specifically focused on interactive and news applications made by the MinnData team.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<base target=”_blank” />
<link rel="stylesheet" href="//api.tiles.mapbox.com/mapbox.js/v1.6.0/mapbox.css">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css">
<link rel="stylesheet" href="dist/minnpost-styles.min.css">
<link rel="stylesheet" href="demo/demo.css">
</head>
<body class="mp">
<!--[if lt IE 8]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class="minnpost-page-container">
<div class="spacer"></div>
<h1>MinnPost Styles</h1>
<div class="section">
<p class="xlarge">Welcome to MinnPost Styles, a super-fly, style guide focused on interactive and news applications made by the <a href="http://code.minnpost.com/">MinnData team</a>. <em>A work in progress.</em></p>
</div>
<div class="section">
<h2 id="about">About <a href="#about" target="_self"><i class="fa fa-link xsmall"></i></a></h2>
<p>MinnPost Styles is a CSS and JS framework. The CSS source is written in <a href="http://sass-lang.com/">SASS</a> and is extendable if you want to include the framework via SASS.</p>
<p>Lots of inspiration and some code was taken from such amazing projects such as <a href="http://getbootstrap.com/">Bootstrap</a>, Mapbox.js, and more. The source code can be found on <a href="https://github.com/MinnPost/minnpost-styles">Github</a>.
<h3>Browser support</h3>
<p>MinnPost Styles aims to support all modern browsers and Internet Explorer 8 (IE8). See the <a href="#browser" target="_self">browser note section</a> for common notes to users that do not run a supported browser.</p>
<p>IE8 does not support many newer CSS(3) features and so some styles will not be the exact same as other browsers, but the difference should be minor style differences. IE8 does not support media queries in CSS, so we have to include a library to force it. <em><strong>Need to figure out.</strong></em></p>
</div>
<div class="section">
<h2 id="usage">Usage <a href="#usage" target="_self"><i class="fa fa-link xsmall"></i></a></h2>
<p>It is suggested that you install MinnPost Styles with <a href="http://bower.io/">Bower</a>. Otherwise, get the code from <a href="https://github.com/minnpost/minnpost-styles">Github</a>.</p>
<div class="example-code">
<pre><code>bower install minnpost-styles </code></pre>
</div>
<h3>CSS</h3>
<p>Include the CSS as you would for any other library by putting the folling in the <code>head</code> section of your HTML document.</p>
<div class="example-code">
<pre><code><link rel="stylesheet" href="bower_components/minnpost-styles/dist/minnpost-styles.min.css"> </code></pre>
</div>
<h4>Wrapper class</h4>
<p>Since these styles were made for projects that will get embedded in existing sites, all styles are prefixed with the <code>mp</code> class. This means you should wrap your markup like so:</p>
<div class="example-code">
<pre><code><div class="mp"> ... </div> </code></pre>
</div>
<p>Or, if you are not embedding, simply add the class to the body:</p>
<div class="example-code">
<pre><code><body class="mp"> ... </body> </code></pre>
</div>
<h3>Javascript</h3>
<p>There are Javascript parts for common interactions and interactive parts. See sections below that give examples of usage of the different components. Include the relevant JS files by adding the following near the end of your HTML document:</p>
<div class="example-code">
<pre><code><script src="bower_components/minnpost-styles/dist/minnpost-styles.nav.min.js"></script> </code></pre>
</div>
<h4>Dependencies</h4>
<p>MinnPost Styles depends on <a href="http://underscorejs.org/">underscore</a> and <a href="http://jquery.com/">jQuery</a> globally, but depending on what part you want to use, you will need to include other dependencies.</p>
<div class="table-responsive-small">
<table class="striped">
<thead>
<tr>
<th>Component</th><th>Dependencies</th>
</tr>
</thead>
<tbody>
<tr><td>Config</td><td>(default)</td></tr>
<tr><td><a href="#datatables" target="_self">Datatables</a></td><td><a href="http://datatables.net/">Datatables</a></td></tr>
<tr><td>Formatters</td><td>(default)</td></tr>
<tr><td><a href="#highcharts" target="_self">Highcharts</a></td><td><a href="http://www.highcharts.com/">Highcharts</a></td></tr>
<tr><td><a href="#maps" target="_self">Maps</a></td><td><a href="http://leafletjs.com/">Leaflet</a></td></tr>
<tr><td><a href="#navigation" target="_self">Nav</a></td><td>(default)</td></tr>
</tbody>
</table>
</div>
<h4>Use a module loader</h4>
<p>The JS parts of MinnPost styles will all go into a global variable by default, for example <code>MP.nav</code>, but it is suggested to use a module loader like <a href="http://requirejs.org/">RequireJS</a> or <a href="http://browserify.org/">Browserify</a>. The following is a sample usage with RequireJS:</p>
<div class="example-code">
<pre><code>
require.config({
paths: {
'underscore': 'bower_components/underscore/underscore-min',
'jquery': 'bower_components/jquery/dist/jquery.min',
'nav': 'bower_components/minnpost-styles/minnpost-styles.nav.min'
}
});
require(['underscore', 'jquery', 'nav'], function(_, $, nav) {
// Nav creates some jQuery plugins
$(document).ready(function() {
// Scoll spy it all
$('body').mpScrollSpy();
});
});
</code></pre>
</div>
</div>
<div class="section">
<h2 id="colors">Colors <a href="#colors" target="_self"><i class="fa fa-link xsmall"></i></a></h2>
<script id="template-color-swatch" type="text/template">
<div class="cf">
<% _.each(colors, function(c, ci) { %>
<div <% if (typeof titles != 'undefined') { %>title="<%= titles[ci] %>" <% } %>class="color-swatch bg-color-<%= (type) ? type + '-' : '' %><%= ci %>"><%= ci %> <br> <%= c %></div>
<% }) %>
</div>
</script>
<script id="template-color-group" type="text/template">
<% _.each(colorsets, function(cs, csi) { %>
<div class="cf color-group">
<% _.each(cs.colors, function(c, ci) { %>
<div class="color-swatch color-<%= c.replace('#', '')%>" style="background-color: <%= c %>; color: <%= c %>;"><%= c %></div>
<% }) %>
</div>
<% }) %>
</script>
<h3>Interface</h3>
<p>These colors are used in the interface and already set to the appropriate components. Though you should not need to often, you can use these as text or background colors with classes like <code>.color-{color-name}</code> or <code>.bg-color-{color-name}</code>. After including the <code>minnpost-styles.config.js</code>, the colors are available under <code>MP.config['colors-interface']</code>.</p>
<div class="interface-colors-placeholder"></div>
<h3>Political</h3>
<p>These colors are used for political parties. You can use these as text or background colors with classes like <code>.color-political-{color-name}</code> or <code>.bg-color-political-{color-name}</code>. After including the <code>minnpost-styles.config.js</code>, the colors are available under <code>MP.config['colors-political']</code>. Full names of political parties can be found in <code>MP.config.politicalParties</code> and can be seen if you hover over the swatches below.</p>
<div class="political-colors-placeholder"></div>
<h3>Data</h3>
<p>These colors are used for data visualizations. These are colors to start from, and the set as whole should not necessarily be used to represent categories or groups in one dataset.</p>
<div class="data-colors-placeholder"></div>
<p>You can use these as text or background colors with classes like <code>.color-data-{color-name}</code> or <code>.bg-color-data-{color-name}</code>. After including the <code>minnpost-styles.config.js</code>, the colors are available under <code>MP.config['colors-data']</code>.</p>
<h4>Grouping data</h4>
<p>When grouping data, there are few important things to consider.</p>
<ul>
<li><p><strong>The number of groups</strong>: This is dependent on the data and the story. More groups mean more information for your reader to parse (both colors and data groups). It is suggested to break things down to no more than 7 colors.</p></li>
<li><p><strong>The set of colors</strong>: Choosing colors to represent the different groups is very difficult. Make sure to read the <a href="http://colorbrewer2.org/learnmore/schemes_full.html">Colorbrewer's scheme documentation</a> and determine if you are representing sequential, diverging, or qualitative data. From there it best to pick colors that are the most visually distinct; this is more easily achieved by using the the <a href="http://hclcolor.com/">HCL</a> or <a href="http://en.wikipedia.org/wiki/Lab_color_space">Lab</a>. Try using tools like <a href="http://tools.medialab.sciences-po.fr/iwanthue/index.php">I want hue</a> or <a href="http://tristen.ca/hcl-picker/">this HCL picker</a>.</p></li>
<li><p><strong>Colorblind consideration</strong>: When picking colors for data visualization, it is very important to ensure that the groups can be distinguished from each other for people with different color blindness. Use tools like <a href="http://colororacle.org/">Color Oracle</a> to check this.</p></li>
</ul>
<p>The following are sequential examples to white and diverging examples to the opposite ordered hue. Use the buttons below to switch the color spaces. Also, the hexadecimal values for the colors are actually in each block and copyable.</p>
<form role="form" class="form-inline small color-form">
<div class="button-group">
<button class="button primary active color-example-space" data-color-space="lab">Lab</button>
<button class="button primary color-example-space" data-color-space="lch">HCL</button>
</div>
<label for="color-example-count">Number of colors:</label>
<select id="color-example-count">
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7" selected="true">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
</select>
</form>
<div class="row space-bottom">
<div class="column-medium-50">
<div class="component-label">Sequential examples</div>
<div class="data-colors-groups-sequential-placeholder"></div>
</div>
<div class="column-medium-50">
<div class="component-label">Diverging examples</div>
<div class="data-colors-groups-diverging-placeholder"></div>
</div>
</div>
<p>This is programatically achieved wtih <a href="https://github.com/gka/chroma.js/">Chroma.js</a> and code similar to:</p>
<pre><code>chroma.scale(['white', '#F55F29']).mode('lab').domain([0,1], 5).colors()</code></pre>
</div>
<div class="section">
<h2 id="browser">Browser notes<a href="#browser" target="_self"><i class="fa fa-link xsmall"></i></a></h2>
<p>We aim to support down to IE8, but we still want other browsers to have some direction on how to upgrade, or that though the piece may work, some parts may be missing.</p>
<h3>Javascript is not enabled</h3>
<p>Though this is highly unlikely these days and given our audience, it's still important to note if the interface is based heavily on Javascript.</p>
<div class="example ">
<p class="noscript-note">This application requires Javascript which is used to make your web browser more interactive. If this message does not go away, please consider enabling Javascript. Here are <a href="http://www.enable-javascript.com/" target="_blank">instructions on how to enable JavaScript in your web browser</a>.</p>
</div>
<div class="example-code">
<pre><code><noscript>
<p class="noscript-note">This application requires Javascript which is used to make your web browser more interactive. If this message does not go away, please consider enabling Javascript. Here are <a href="http://www.enable-javascript.com/" target="_blank">instructions on how to enable JavaScript in your web browser</a>.</p>
</noscript> </code></pre>
</div>
<h3>Browser is not fully supported</h3>
<p>Depending on what browser is supported, you should change the IE conditional.</p>
<div class="example ">
<div class="browser-upgrade-note">
<h4>Consider upgrading your browser</h4>
<p>Your <strong>Internet Browser</strong> is the application you use to navigate webpages on the internet. You are currently using an older version of Internet Explorer. This application may not be full-featured because you are using such an old browser.</p>
<p><a href="http://browsehappy.com/" target="_blank">Click here to find out about upgrading to a newer browser</a>.</p>
</div>
</div>
<div class="example-code">
<pre><code><!--[if lte IE 8]>
<div class="browser-upgrade-note">
<h4>Consider upgrading your browser</h4>
<p>Your <strong>Internet Browser</strong> is the application you use to navigate webpages on the internet. You are currently using an older version of Internet Explorer. This application may not be full-featured because you are using such an old browser.</p>
<p><a href="http://browsehappy.com/" target="_blank">Click here to find out about upgrading to a newer browsers</a>.</p>
</div>
<![endif]--> </code></pre>
</div>
</div>
<div class="section">
<h2 id="grid">Grid <a href="#grid" target="_self"><i class="fa fa-link xsmall"></i></a></h2>
<p>A really, really basic, mobile-first, fluid grid is provided. There are 5 provided groups of breakpoints, <code>all</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>xlarge</code>, and widths are provided in 5% intervals as well as 33% and 66%. This makes combinations such as <code>.column-small-50</code>, which means that any width greater than or equal to 420px will be 50% wide.</p>
<div class="example example-grid">
<div class="row">
<div class="column-medium-25">
<p>25% m+</p>
</div>
<div class="column-medium-25">
<p>25% m+</p>
</div>
<div class="column-medium-50">
<p>50% m+</p>
</div>
</div>
<div class="row">
<div class="column-small-33">
<p>33% s+</p>
</div>
<div class="column-small-66">
<p>66% s+</p>
</div>
</div>
<div class="row">
<div class="column-large-15">
<p>15% l+</p>
</div>
<div class="column-large-10">
<p>10% l+</p>
</div>
<div class="column-large-5">
<p>5% l+</p>
</div>
<div class="column-large-20">
<p>20% l+</p>
</div>
<div class="column-large-20">
<p>20% l+</p>
</div>
<div class="column-large-30">
<p>30% l+</p>
</div>
</div>
<div class="row">
<div class="column-small-33 column-medium-50">
<p>33% s+ 50% m+</p>
</div>
<div class="column-small-66 column-medium-50">
<p>66% s+ 50% m+</p>
</div>
</div>
</div>
<div class="example-code">
<pre><code><div class="row">
<div class="column-small-33 column-medium-50">
<p>33% s+ 50% m+</p>
</div>
<div class="column-small-66 column-medium-50">
<p>66% s+ 50% m+</p>
</div>
</div> </code></pre>
</div>
<h3>Breakpoints</h3>
<p>Predefined breakpoints are silly. Breakpoints should be defined when content or style no longer makes sense. That said, MinnPost Styles provides some defaults that we use often on our projects.</p>
<p>If you are using SASS, it is very simple to update the breakpoints and the size names. Simply update the following variable with something similar to the following. Each sub list consists of the class suffix and breakpoint.</p>
<div class="example-code">
<pre><code>$responsive-points: (
("all", 0px),
("small", 420px),
("medium", 640px),
("large", 960px),
("xlarge", 1200px)
) </code></pre>
</div>
<p>Note that <code>0px</code> has a special meaning in that it will not be wrapped in a media query and will apply to all browsers. This means you could turn off the responsive bits by doing the following:</p>
<div class="example-code">
<pre><code>$responsive-points: ( ("all", 0px) );</code></pre>
</div>
</div>
<div class="section">
<h2 id="typography">Typography <a href="#typography" target="_self"><i class="fa fa-link xsmall"></i></a></h2>
<h3>Font</h3>
<p>Our overall guideline is to use <a href="http://www.google.com/fonts/specimen/Montserrat">Montserrat</a> for headings and <a href="https://www.google.com/fonts/specimen/Open+Sans">Open Sans</a> for other typograhy. Use <code>.font-heading</code> and <code>.font-text</code> to override and set a specific font.</p>
<h3>Headings</h3>
<p>The following are the styling of the headings, h1, h2, etc.</p>
<div class="example">
<h1>h1 Example heading</h1>
<p>Thinks heart prince cat birdwatching chase the red dot kitty honey shenanigans slept sleepy cat, kitten face little cat her life found fuzzy. Cat kitten sunbathe cat crosseyed cat little kitty photobomb looks curls, happy my she boy. Give me fish cats, cat terrified lived catnip comfortable.</p>
<h2>h2 Example heading</h2>
<p>Thinks heart prince cat birdwatching chase the red dot kitty honey shenanigans slept sleepy cat, kitten face little cat her life found fuzzy. Cat kitten sunbathe cat crosseyed cat little kitty photobomb looks curls, happy my she boy. Give me fish cats, cat terrified lived catnip comfortable.</p>
<h3>h3 Example heading</h3>
<p>Thinks heart prince cat birdwatching chase the red dot kitty honey shenanigans slept sleepy cat, kitten face little cat her life found fuzzy. Cat kitten sunbathe cat crosseyed cat little kitty photobomb looks curls, happy my she boy. Give me fish cats, cat terrified lived catnip comfortable.</p>
<h4>h4 Example heading</h4>
<p>Thinks heart prince cat birdwatching chase the red dot kitty honey shenanigans slept sleepy cat, kitten face little cat her life found fuzzy. Cat kitten sunbathe cat crosseyed cat little kitty photobomb looks curls, happy my she boy. Give me fish cats, cat terrified lived catnip comfortable.</p>
<h5>h5 Example heading</h5>
<p>Thinks heart prince cat birdwatching chase the red dot kitty honey shenanigans slept sleepy cat, kitten face little cat her life found fuzzy. Cat kitten sunbathe cat crosseyed cat little kitty photobomb looks curls, happy my she boy. Give me fish cats, cat terrified lived catnip comfortable.</p>
<h6>h6 Example heading</h6>
<p>Thinks heart prince cat birdwatching chase the red dot kitty honey shenanigans slept sleepy cat, kitten face little cat her life found fuzzy. Cat kitten sunbathe cat crosseyed cat little kitty photobomb looks curls, happy my she boy. Give me fish cats, cat terrified lived catnip comfortable.</p>
</div>
<div class="example-code">
<pre><code><h1>h1 Example heading</h1>
... </code></pre>
</div>
<h3>Component labels</h3>
<p>The following are styling for non-heading labels for components like charts or tables.<p>
<div class="example">
<div class="component-label">Component label</div>
</div>
<div class="example-code">
<pre><code><div class="component-label">Component label</div> </code></pre>
</div>
<h3>Paragraph</h3>
<div class="example">
<p>Thinks heart prince cat birdwatching chase the red dot kitty honey shenanigans slept sleepy cat, kitten face little cat her life found fuzzy. Cat kitten sunbathe cat crosseyed cat little kitty photobomb looks curls, happy my she boy. Give me fish cats, cat terrified lived catnip comfortable nina fearless eat the grass friend his zzz home impressed kitten house loves sneak snuggliest mom cat happy! Waffles, her cat classy happy! Bed here years, whisker awesomeness kitties sucked oh shenanigans yoda friend backyard girlfriend kitty. Belly, knock over the lamp rescuing he persian impressed purses gf's.</p>
</div>
<div class="example-code">
<pre><code><p>Some text...</p> </code></pre>
</div>
<h3>Text block</h3>
<p>For optimal readablity, large blocks of text should not necessarily fill the whole container. This is using <code>em</code>'s which means the container is based on the font size.</p>
<div class="example">
<div class="text-block">
<p>Thinks heart prince cat birdwatching chase the red dot kitty honey shenanigans slept sleepy cat, kitten face little cat her life found fuzzy. Cat kitten sunbathe cat crosseyed cat little kitty photobomb looks curls, happy my she boy. Give me fish cats, cat terrified lived catnip comfortable nina fearless eat the grass friend his zzz home impressed kitten house loves sneak snuggliest mom cat happy! Waffles, her cat classy happy! Bed here years, whisker awesomeness kitties sucked oh shenanigans yoda friend backyard girlfriend kitty. Belly, knock over the lamp rescuing he persian impressed purses gf's.</p>
</div>
<div class="text-block large left text-justify">
<p>Thinks heart prince cat birdwatching chase the red dot kitty honey shenanigans slept sleepy cat, kitten face little cat her life found fuzzy. Cat kitten sunbathe cat crosseyed cat little kitty photobomb looks curls, happy my she boy. Give me fish cats, cat terrified lived catnip comfortable nina fearless eat the grass friend his zzz home impressed kitten house loves sneak snuggliest mom cat happy! Waffles, her cat classy happy! Bed here years, whisker awesomeness kitties sucked oh shenanigans yoda friend backyard girlfriend kitty. Belly, knock over the lamp rescuing he persian impressed purses gf's.</p>
</div>
</div>
<div class="example-code">
<pre><code><div class="text-block">
<p> ... </p>
</div>
<div class="text-block large left text-justify">
<p> ... </p>
</div> </code></pre>
</div>
<h3>Links</h3>
<p>Links are used for inline navigation. For external links, it is often a good idea to use the <code>target="_blank"</code> attribute as it will open the link in a new tab.</p>
<div class="example">
<p>This is a <a href="#">link</a>.</p>
</div>
<div class="example-code">
<pre><code><a href="#">link</a> </code></pre>
</div>
<h3>Text modifiers</h3>
<div class="example">
<p>
<small>This is small text.</small>
<strong>This is bold text.</strong>
<em>This is emphasizes text.</em>
</p>
<p>Some text
<sup>Super script</sup>
then some
<sub>Sub script</sub>
</p>
</div>
<div class="example-code">
<pre><code><small>This is small text.</small>
<strong>This is bold text.</strong>
<em>This is emphasizes text.</em>
<sup>Super-script text.</sup>
<sub>Subscript text.</sub> </code></pre>
</div>
<h3>Abbreviations</h3>
<div class="example">
<p>
<abbr title="HyperText Markup Language">HTML</abbr> is an abbreviation of HyperText Markup Language.
</p>
</div>
<div class="example-code">
<pre><code><abbr title="HyperText Markup Language">HTML</abbr> </code></pre>
</div>
<h3>Blockquotes</h3>
<p>Use a <code><small></code> element for the attribution of the quote.</p>
<div class="example">
<blockquote>
<p>Someone said something really awesome and important once.</p>
<small>Someone famous</small>
</blockquote>
</div>
<div class="example-code">
<pre><code><blockquote>
<p>Someone said something really awesome and important once.</p>
<small>Someone famous</small>
</blockquote> </code></pre>
</div>
<h3>Lists</h3>
<div class="example">
<ul>
<li>unordered list example</li>
<li>another thing</li>
<li>nested items
<ul>
<li>nested item 1</li>
<li>nested item 2</li>
</ul>
</li>
<li>Another item</li>
</ul>
</div>
<div class="example-code">
<pre><code><ul>
<li>Unordered list example</li>
</ul> </code></pre>
</div>
<div class="example">
<ol>
<li>ordered list example</li>
<li>another thing</li>
<li>nested items
<ol>
<li>nested item 1</li>
<li>nested item 2</li>
</ol>
</li>
<li>Another item</li>
</ol>
</div>
<div class="example-code">
<pre><code><ol>
<li>Ordered list example</li>
</ol> </code></pre>
</div>
<h3>Code</h3>
<div class="example">
<p>
Inline <code>code</code> example.
</p>
</div>
<div class="example-code">
<pre><code><code>code</code> </code></pre>
</div>
<div class="example">
<pre><code>['Code block',
'example here.']; </code></pre>
</div>
<div class="example-code">
<pre><code><pre><code>code</code></pre> </code></pre>
</div>
<h3>Footnote</h3>
<p>Footnotes are for footnotes, attribution, and other notes that are not needed to be specifically with its related content.</p>
<div class="example">
<div class="footnote">
<p>This is a footnote example.</p>
</div>
</div>
<div class="example-code">
<pre><code><div class="footnote">
<p>This is a footnote example</p>
</div> </code></pre>
</div>
<h3>Credit</h3>
<p>Credits are specifically for components like images, or charts, most likely within a full article context.</p>
<div class="example">
<p class="credit">This is a credit example.</p>
</div>
<div class="example-code">
<pre><code><p class="credit">This is a credit example</p> </code></pre>
</div>
<h3>Caption</h3>
<p>Captions are small, simple bits of information giving a specific component context, such as for an image or chart.</p>
<div class="example">
<p class="caption">This is a caption example. Happy my she boy. Give me fish cats, cat terrified lived catnip comfortable nina fearless eat the grass friend his zzz home impressed kitten house loves sneak snuggliest mom cat happy! Waffles, her cat classy happy!</p>
</div>
<div class="example-code">
<pre><code><p class="caption"> This is a caption example </p> </code></pre>
</div>
</div>
<div class="section">
<h2 id="tables">Tables <a href="#tables" target="_self"><i class="fa fa-link xsmall"></i></a></h2>
<p>Wrap tables in a <code>.table-responsive-*</code> class so that it will become scrollable on smaller devices. Breakpoint suffixes from <code>$responsive-classes</code> SASS variable and determine the max-width to begin making the table responsive.</p>
<p>Use a <code>striped</code> or <code>striped-even</code> class on the table to add stripes to every other row.</p>
<div class="example">
<div class="component-label">Table example</div>
<div class="table-responsive-medium">
<table>
<thead>
<tr>
<th>First column</th><th>second</th><th>third</th><th>fourth</th><th>fifth</th>
</tr>
</thead>
<tbody>
<tr>
<td>data</td><td>2</td><td><p>longer paragraph text is over here</p></td><td>42,000,424,242.00</td><td>MORE!</td>
</tr>
<tr>
<td>somre more data here</td><td>42</td><td><p>longer paragraph text is over here</p></td><td>42,000,424,242.00</td><td>MORE!</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="example-code">
<pre><code><div class="table-responsive-medium">
<table>
<thead>
<tr>
<th>First column</th><th>second</th>
</tr>
</thead>
<tbody>
<tr>
<td>data</td><td>2</td>
</tr>
<tr>
<td>somre more data here</td><td>42</td>
</tr>
</tbody>
</table>
</div> </code></pre>
</div>
</div>
<div class="section">
<h2 id="buttons">Buttons <a href="#buttons" target="_self"><i class="fa fa-link xsmall"></i></a></h2>
<p>Different types of buttons. The <code><button></code> is the preferred element to use, but you can use other elements if needed.</p>
<div class="example">
<p>
<button class="button">Button</button>
<a href="#" class="button">Link</a>
<span class="button">Span</span>
<button class="button button-link">Button link</button>
<button class="button disabled">Disabled</button>
<button class="button active">Active</button>
</p>
</div>
<div class="example-code">
<pre><code><button class="button">Button</button>
<a href="#" class="button">Link</a>
<span class="button">Span</span>
<button class="button button-link">Button link</button>
<button class="button disabled">Disabled</button>
<button class="button active">Active</button> </code></pre>
</div>
<p>There are different types of buttons with different colors as well.</p>
<div class="example">
<p>
<button class="button primary">Primary</button>
<button class="button success">Success</button>
<button class="button info">Info</button>
<button class="button warning">Warning</button>
<button class="button danger">Danger</button>
</p>
</div>
<div class="example-code">
<pre><code><button class="button primary">primary</button>
<button class="button success">success</button>
<button class="button info">info</button>
<button class="button warning">warning</button>
<button class="button danger">danger</button></code></pre>
</div>
<p>You can use the helper classes to make different sized buttons as well.</p>
<div class="example">
<p>
<button class="button xxsmall">xxSmall</button>
<button class="button xsmall">xSmall</button>
<button class="button small">Small</button>
<button class="button large">Large</button>
<button class="button xlarge">xLarge</button>
<button class="button xxlarge">xxLarge</button>
</p>
</div>
<div class="example-code">
<pre><code><button class="button xxsmall">xxSmall</button>
<button class="button xsmall">xsmall</button>
<button class="button small">small</button>
<button class="button large">large</button>
<button class="button xlarge">xlarge</button>
<button class="button xxlarge">xxlarge</button> </code></pre>
</div>
<h3>Button groups</h3>
<p>Buttons next to each other.</p>
<div class="example">
<div class="button-group">
<button class="button">Button</button>
<button class="button">2</button>
<button class="button">3</button>
</div>
</div>
<div class="example-code">
<pre><code> </code></pre>
</div>
<h3>Button toolbar</h3>
<p>Buttons groups next to each other in a toolbar.</p>
<div class="example">
<div class="button-toolbar">
<div class="button-group">
<button class="button">Button</button>
<button class="button">2</button>
<button class="button">3</button>
</div>
<div class="button-group">
<button class="button primary">Primary</button>
<button class="button info">Info 1</button>
<button class="button info">Info 2</button>
</div>
</div>
</div>
<div class="example-code">
<pre><code> </code></pre>
</div>
</div>
<div class="section">
<h2 id="forms">Forms <a href="#forms" target="_self"><i class="fa fa-link xsmall"></i></a></h2>
<h3>Regular form</h3>
<p>The following is a basic input form.</p>
<div class="example">
<form role="form">
<div class="form-item">
<label for="exampleInputEmail1">Email address</label>
<input type="email" id="exampleInputEmail1" placeholder="Enter email">
</div>
<div class="form-item">
<label for="exampleInputPassword1">Password</label>
<input type="password" id="exampleInputPassword1" placeholder="Password">
<p class="form-help">Example block-level help text here.</p>
</div>
<div class="form-item">
<label for="exampleInputFile">File input</label>
<input type="file" id="exampleInputFile">
<p class="form-help">Example block-level help text here.</p>
</div>
<div class="form-item">
<label>Checkboxes</label>
<div class="checkbox">
<label>
<input type="checkbox" name="checkboxes" value="2"> Check, check
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" name="checkboxes" value="2"> Check me out
</label>
</div>
</div>
<div class="form-item">
<label>Radios</label>
<div class="radio">
<label>
<input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked> Option 1
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="optionsRadios" id="optionsRadios2" value="option2" checked> Option 2
</label>
</div>
</div>
<fieldset>
<legend>Field group with legend</legend>
<div class="form-item">
<label for="example03">Lots of text</label>
<textarea type="text" id="example03" placeholder="Enter something"></textarea>
</div>
</fieldset>
<button type="submit" class="button primary">Submit</button>
</form>
</div>
<div class="example-code">
<pre><code><form role="form">
<div class="form-item">
<label for="exampleInputEmail1">Email address</label>
<input type="email" id="exampleInputEmail1" placeholder="Enter email">
</div>
...
<div class="checkbox">
<label>
<input type="checkbox" name="checkboxes" value="2"> Check, check
</label>
</div>
<button type="submit" class="button primary">Submit</button>
</form> </code></pre>
</div>
<h3>Inline form</h3>
<p>The following is a basic inline form. Inline forms are for multiple, but few inputs.</p>
<div class="example">
<form role="form" class="form-inline">
<div class="form-item">
<label for="example51" class="sr-only">Email address</label>
<input type="email" id="example51" placeholder="Email">
</div>
<div class="form-item">
<label for="example52" class="sr-only">Password</label>
<input type="password" id="example52" placeholder="Password">
</div>
<button type="submit" class="button primary">Submit</button>
</form>
</div>
<div class="example-code">
<pre><code><form role="form" class="form-inline">
...
</form> </code></pre>
</div>
<h3>Input group</h3>
<p>For single input forms, use an input group.</p>
<p><em><strong>Currently broke in IE8.</strong></em></p>
<div class="example">
<form role="form" class="large">
<div class="form-input-group">
<label for="address" class="sr-only">Email address</label>
<input type="text" id="address" placeholder="Search by address">
<div class="button-group">
<button type="submit" class="button primary" title="Search an address">Search</button>
<button type="submit" class="button info" title="Use your current location"><i class="fa fa-location-arrow"></i></button>
</div>
</div>
</form>
</div>
<div class="example-code">
<pre><code><form role="form" class="large">
<div class="form-input-group">
<label for="address" class="sr-only">Email address</label>
<input type="text" id="address" placeholder="Search by address">
<div class="button-group">
<button type="submit" class="button primary" title="Search an address">Search</button>
<button type="submit" class="button info" title="Use your current location"><i class="fa fa-location-arrow"></i></button>
</div>
</div>
</form> </code></pre>
</div>
</div>
<div class="section">
<h2 id="media">Media <a href="#media" target="_self"><i class="fa fa-link xsmall"></i></a></h2>
<h3>Images</h3>
<p>Make sure to use the <code>alt</code> attribute to provide a descriptive version of the image. <em>Note that IE8 does not support rounded corners</em>.</p>
<div class="example">
<img src="" data-src="holder.js/150x150" alt="Grey placeholder" class="rounded">
<img src="" data-src="holder.js/150x150" alt="Grey placeholder" class="circle">
<img src="http://placekitten.com/150/150" alt="Kitten placeholder" class="rounded">
<img src="http://placekitten.com/150/150" alt="Kitten placeholder" class="circle">
</div>
<div class="example-code">
<pre><code> </code></pre>
</div>
<h3>Thumbnails</h3>
<div class="example">
<a href="#" class="thumbnail thumbnail-inline">
<img src="" data-src="holder.js/100x100" alt="Grey placeholder">
</a>
<a href="#" class="thumbnail thumbnail-inline">
<img src="" data-src="holder.js/100x100" alt="Grey placeholder">
</a>
<div class="thumbnail">
<img src="" data-src="holder.js/100x100" alt="Grey placeholder">
<div class="caption">
<p>This is a caption</p>
</div>
</div>
</div>
<div class="example-code">
<pre><code> </code></pre>
</div>
</div>
<div class="section">
<h2 id="icons">Icons <a href="#icons" target="_self"><i class="fa fa-link xsmall"></i></a></h2>
<p>Icons provided by <a href="http://fontawesome.io/">Font Awesome</a>; see the site for the full list of icons. Kept independent so that MinnPost Styles stays small if you don't need them. Use the Bootstrap CDN to include the CSS.</p>
<pre><code><link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> </code></pre>
<div class="example">
<i class="fa fa-compass"></i>
<i class="fa fa-compass fa-spin"></i>
<i class="fa fa-compass fa-flip-horizontal"></i>
<i class="fa fa-compass xlarge"></i>
</div>
<div class="example-code">
<pre><code><i class="fa fa-compass"></i>
<i class="fa fa-compass fa-spin"></i>
<i class="fa fa-compass fa-flip-horizontal"></i>
<i class="fa fa-compass xlarge"></i> </code></pre>
</div>
<h3>Loading</h3>
<p>Often, there is a need to represent that processing or data loading is happening, use the following to provide that message. <em>Note that IE8 and IE9 does not support CSS animations so the icon will not spin</em>.</p>
<div class="example">
<div class="loading-container">
<i class="loading"></i> Loading...
</div>
</div>
<div class="example-code">
<pre><code><div class="loading-container">
<i class="loading"></i> Loading...
</div> </code></pre>
</div>
<p>For quick loading of a specific element, you can use the <code>loading-block</code> class for a simple representation of loading.</p>
<div class="example">