-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfeature-text.html
More file actions
1161 lines (917 loc) · 56.2 KB
/
feature-text.html
File metadata and controls
1161 lines (917 loc) · 56.2 KB
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 lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hesburgh Libraries · Guides Handbook</title>
<link rel="apple-touch-icon" sizes="57x57" href="favicons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="favicons/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="favicons/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="favicons/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="favicons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="favicons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="favicons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="favicons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="favicons/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="favicons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="favicons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicons/favicon-16x16.png">
<link rel="manifest" href="favicons/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="favicons/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.2/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
<style type="text/css">
#typographyModal {
padding: 0px !important;
}
#hierarchy-table td:first-of-type {
text-align: center
}
</style>
</head>
<body data-spy="scroll" data-target="#myScrollspy" data-offset="15">
<!-- header ----------------------------->
<div class="brand-bar container-fluid">
<div class="container-fluid">
<div class="row">
<div class="hidden-xs col-sm-6 col-md-6 col-lg-6">
<a href="http://www.nd.edu">University <i>of</i> Notre Dame</a>
</div>
<div class="text-center col-xs-12 hidden-sm hidden-md hidden-lg hidden-xl">
<a href="http://www.nd.edu">University <i>of</i> Notre Dame</a>
</div>
<div class="hidden-xs col-sm-6 col-md-6 col-lg-6 text-right">
<a href="https://provost.nd.edu/">Office <i>of the</i> Provost</a>
</div>
<div class="text-center col-xs-12 hidden-sm hidden-md hidden-lg hidden-xl text-center">
<a class="brand-bar-bottom-padded" href="https://provost.nd.edu/">Office <i>of the</i> Provost</a>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row" id="nd-libguides-header-pattern">
<div class="hidden-xs col-sm-6 col-md-6 col-lg-6">
<h1 id="hesburgh-libraries"><a href="http://library.nd.edu" target="_blank">HESBURGH <span style="color:#F8E999;">LIBRARIES</span></a></h1>
</div>
<div class="hidden-xs col-sm-6 col-md-6 col-lg-6">
<h1 style="opacity:.6;text-align:right;">Guides Handbook</h1>
</div>
<div class="col-xs-12 text-center hidden-sm hidden-md hidden-lg">
<h1><a href="http://library.nd.edu" target="_blank">HESBURGH <span style="color:#F8E999;margin-bottom:10px;">LIBRARIES</span></a></h1>
</div>
<div class="col-xs-12 text-center hidden-sm hidden-md hidden-lg">
<h1 style="opacity:.6;text-align:center;">Guides Handbook</h1>
</div>
</div>
</div>
<!-- header closes ----------------------------->
<!-- Main Content ----------------------------->
<div class="container" id="main-container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 text-right">
<a class="btn btn-default help-button" href="https://nd.libapps.com/libapps/login.php" role="button" target="_blank"><i class="fa fa-lock fa-spacer-right" aria-hidden="true"></i> LibGuides Login</a>
<a class="btn btn-default help-button" href="http://libguides.library.nd.edu/reusable-assets" role="button" target="_blank"><i class="fa fa-list-alt fa-spacer-right" aria-hidden="true"></i>Reusable Assets</a>
</div>
</div>
<div class="page-header">
<div w3-include-html="navmenu.html"></div>
</div>
<!-- page header closes -->
<div id="masthead">
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>Text <small style="color: #999;">(Typography)</small></h1>
<p class="lead">Organize and highlight your content with strong typographic hierarchy.</p>
</div>
</div>
</div>
<!--/container-->
</div>
<!--/masthead-->
<div class="container">
<div class="row">
<!--left column-->
<div class="col-md-3 hidden-xs hidden-sm" id="leftCol">
<ul class="nav nav-stacked" id="sidebar">
<li><a href="#sec0">Alerts / Notes</a></li>
<li><a href="#sec1">Blockquotes</a></li>
<li><a href="#sec2">Body Text</a></li>
<li><a href="#sec3">Headings</a></li>
<li><a href="#sec4">Labels</a></li>
<li><a href="#sec5">Links</a></li>
<li><a href="#sec6">Special Text Formats</a></li>
<li><a href="#" class="back-to-top"><i class="fa fa-arrow-circle-o-up"></i> Back to top</a></li>
</ul>
</div>
<!--right column-->
<div class="col-md-9" id="rightCol">
<!-- Alerts and Notes ---------------------------------------------------------------------------------->
<h2 id="sec0">Alerts / Notes</h2>
<p>Alerts and notes are useful to make information 'pop'—foregrounding important information, indicating success, offering warnings, declaring prohibition, and elevating specific links.</p>
<div class="row">
<div class="col-sm-3">
<form>
<div class="form-group">
<label for="alert-text">Title <span style="opacity:.5">(Optional)</span></label>
<input type="text" class="form-control" id="alert-title" placeholder="Standardized Fonts">
</div>
<div class="form-group">
<label for="alert-text">Text</label>
<input type="text" class="form-control" id="alert-text" placeholder="Except in special...">
</div>
<div class="form-group">
<label for="button-color">Color</label>
<select class="form-control" id="alert-color" style="margin-bottom: 15px;">
<option id="option-default" value=" alert-default">Default (light grey)</option>
<option id="option-default" value=" alert-intro">Introductory (seafoam)</option>
<option id="option-lt-blue" value=" alert-info" selected="selected">Information (blue)</option>
<option id="option-red" value=" alert-danger">Danger (red)</option>
<option id="option-yellow" value=" alert-warning">Warning (yellow)</option>
<option id="option-green" value=" alert-success">Success (green)</option>
</select>
</div>
<div style="margin-top: 30px;" class="checkbox">
<label>
<input type="checkbox" id="standard-icons"> Use Default Icons
</label>
</div>
<label style="margin-top: 20px;" for="icon-html">Custom Icon (or Text)</label>
<div class="input-group">
<span style="height: 16px;" class="input-group-addon" id="refresh-button"><i class="fa fa-refresh" aria-hidden="true"></i></span>
<input type="text" class="form-control" id="alert-icon" placeholder="<i class='fa fa-up'></i>">
</div>
<p class="text-left" style="margin-left: 8px;"><a href="feature-icon.html" target="_blank"><small><i class="fa fa-external-link-square" aria-hidden="true"></i>
Find Icon</small></a></small>
</a>
</form>
<div style="margin-top:30px;">
<button style="margin-top: 20px;" type="button" class="btn btn-default" id="clearButton">Reset</button>
<button style="margin-top: 20px;" type="button" class="btn btn-primary" id="alertButton">Build</button>
</div>
</div>
<div class="col-sm-9">
<div class="example" id="simple-example-alert">
<div class="alert alert-danger" role="alert">
<p><i class="fa fa-times-circle fa-spacer-right" aria-hidden="true"></i><strong>Standardized Fonts</strong><br/>Except in special cases, such as foreign languages or maths symbols, please do not change font face or font size in
your guides.</p>
</div>
</div>
<div class="well" contenteditable="true">
<button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#simple-alert-code" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button>
<pre class="prettyprint" id="simple-alert-code">
<div class="alert alert-danger" role="alert">
<p><i class="fa fa-times-circle fa-spacer-right" aria-hidden="true"></i><strong>Standardized Fonts</strong><br/>Except in special cases, such as foreign languages or maths symbols, please do not change font face or font size in your guides.</p>
</div>
</pre>
</div>
<!-- example closes -->
</div>
</div>
<!-- row -->
<!-- blockquotes -------------------------------------------------------------------------------------------------->
<h2 id="sec1">Blockquotes</h2>
<p>Blockquotes are especially useful as epigraphs introducing content blocks.</p>
<div class="row">
<div class="col-sm-3">
<form>
<div class="form-group">
<label for="blockquote-quote">Quote</label>
<textarea id="blockquote-quote" class="form-control" rows="8" placeholder="And when this happens..."></textarea>
</div>
</form>
<div class="form-group">
<label for="blockquote-author">Author</label>
<input type="text" class="form-control" id="blockquote-author" placeholder="Rev. Martin Luther King, Jr.">
</div>
<div class="form-group">
<label for="blockquote-source">Source</label>
<input type="text" class="form-control" id="blockquote-source" placeholder="I Have a Dream">
</div>
<div class="form-group">
<div class="checkbox" style="margin-top: 20px;">
<label>
<input type="checkbox" id="isItalics"> Make Source Italic
</label>
</div>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<input type="checkbox" id="is-link"> Make Source a Link
</label>
</div>
</div>
<div class="form-group hidden" id="source-link-hidden">
<label for="blockquote-source">Source Link</label>
<input type="text" class="form-control" id="source-link" placeholder="http://www.link.com">
</div>
</form>
<div style="margin-top:30px;">
<button type="button" class="btn btn-default" id="clearBlockquote">Reset</button>
<button type="button" class="btn btn-primary" id="displayBlockquote">Build</button>
</div>
</div>
<div class="col-sm-9">
<div class="example" id="simple-example-blockquote">
<blockquote>
<p>And when this happens, when we allow freedom to ring, when we let it ring from every village and every hamlet, from every state and every city, we will be able to speed up that day when all of God's children, black men and white
men, Jews and Gentiles, Protestants and Catholics, will be able to join hands and sing in the words of the old Negro spiritual: “Free at last! Free at last! Thank God Almighty, we are free at last!”</p>
<footer>Rev. Martin Luther King, Jr., from <cite title="Source Title"><a href="http://www.americanrhetoric.com/speeches/mlkihaveadream.htm">“I Have a Dream”</a></cite></footer>
</blockquote>
</div>
<div class="well" contenteditable="true">
<button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#simple-blockquote-code" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button>
<pre class="prettyprint" id="simple-blockquote-code">
<blockquote>
<p>And when this happens, when we allow freedom to ring, when we let it ring from every village and every hamlet, from every state and every city, we will be able to speed up that day when all of God's children, black men and white men, Jews and Gentiles, Protestants and Catholics, will be able to join hands and sing in the words of the old Negro spiritual: “Free at last! Free at last! thank God Almighty, we are free at last!”</p>
<footer>Rev. Martin Luther King, Jr.<cite title="Source Title"><a href="http://www.americanrhetoric.com/speeches/mlkihaveadream.htm">“I Have a Dream”</a></cite></footer>
</blockquote>
</pre>
</div>
<!-- example closes -->
</div>
<!-- col md 9 -->
</div>
<!-- row -->
<!-- body text -------------------------------------------------------------------------->
<h2 id="sec2">Body Text <small style="color: #999;">(Paragraphs)</small></h2>
<p>Body text is spaced and sized for best readability at approximately 16 pixels. Any text you enter into the WYSIWYG editor will be body text (<code><p></code>) by default.</p>
<div class='alert alert-danger' role='alert'>
<p><i class='fa fa-times-circle fa-spacer-right' aria-hidden='true'></i><strong>Standardized Fonts</strong><br/>Except in special cases, such as foreign languages or maths symbols, please do not change font face or font size in your guides.</p>
</div>
<div class="example">
<p>Paragraphs make up the bulk of the text you create.</p>
<p>They are left-aligned and vertically block-spaced. </p>
</div>
<div class="well" contenteditable="true">
<button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well5" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button>
<pre class="prettyprint" id="well5">
<p>Paragraphs make up the bulk of the text you create.</p>
<p>The are left-aligned and vertically block-spaced.</p>
</pre>
</div>
<!-- example closes -->
<!-- Headings ----------------------------------------------------------------------------------------->
<h2 id="sec3">Headings</h2>
<p>Use headings to subdivide the content in your Rich Text / HTML boxes. Generally, you might use <code><H3></code> headings to head a content block for the entire box. Use <code><H4></code> headings to further subdivide the content
into sections. Use <code><h5></code> and <code><h6></code> headings to further subdivide the <code><h4></code> content blocks.</p>
<p style="margin: 2rem 0px"><a href="" data-toggle="modal" data-target="#typographyModal"><i class="fa fa-list-ol fa-spacer-right" aria-hidden="true"></i>See an example hierarchy of headings </a></p>
<div class="alert alert-danger">
<p><i class="fa fa-times-circle" aria-hidden="true"></i><strong>Limited Headings</strong><br/>Headings <code><H1></code> and <code><H2></code> are not available in the WYSIWYG editor dropdown menu. For accessibility reasons,
these should not be used in Rich Text / HTML boxes.</p>
</div>
<div class="example">
<h3 style="margin-bottom:30px;">This is an H3 heading. It's the largest header.</h3>
<h4 style="margin-bottom:30px;">This is an H4 heading. It's an unbolded header</h4>
<h5 style="margin-bottom:30px;">This is an H5 heading. It's a bolded sub-header.</h5>
<h6 style="margin-bottom:30px;">This is an H6 heading. It's a smaller bolded, italicized sub-header.</h6>
</div>
<div class="well" contenteditable="true">
<button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well1" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button>
<pre class="prettyprint" id="well1">
<h3>This is an H3 heading. It's the largest header.</h3>
</pre>
</div>
<!-- example closes -->
<div class="well" style="margin-top:-12px;">
<button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well2" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button>
<pre class="prettyprint" id="well2">
<h4>This is an H4 heading. It has a bottom border.</h4>
</pre>
</div>
<!-- example closes -->
<div class="well" style="margin-top:-12px;">
<button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well3" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button>
<pre class="prettyprint" id="well3">
<h5>This is an H5 heading. It's a bolded sub-header.</h5>
</pre>
</div>
<!-- example closes -->
<div class="well" style="margin-top:-12px;">
<button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well4" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button>
<pre class="prettyprint" id="well4">
<h6>This is an H6 heading. It's an italicized sub-header or sub-sub-header.</h6>
</pre>
</div>
<!-- example closes -->
<!-- Labels -------------------------------------------------------------------------------------------->
<h2 id="sec4">Labels</h2>
<p>Labels pop! They add meaning contextually, and are best when used sparingly.</p>
<div class="row">
<div class="col-sm-3">
<form>
<div class="form-group">
<label for="label-text">Label Text</label>
<input type="text" class="form-control" id="label-text" placeholder="Library Only">
</div>
<div class="form-group">
<label for="label-color">Color</label>
<select class="form-control" id="label-color">
<option value=" label-default" selected="selected">Default (grey)</option>
<option value=" label-primary">Primary (standard blue)</option>
<option value=" label-info">Information (light blue)</option>
<option value=" label-success">Success (green)</option>
<option value=" label-warning">Warning (yellow)</option>
<option value=" label-danger">Danger (red)</option>
</select>
</div>
<div class="form-group">
<label for="label-size">Size</label>
<select class="form-control" id="label-size">
<option value="big-sized" selected="selected">Big</option>
<option value="normal-sized" selected="selected">Normal</option>
<option value="small-sized">Small</option>
</select>
</div>
</form>
<div style="margin-top: 30px;">
<button type="button" class="btn btn-default" id="clearLabel">Reset</button>
<button type="button" class="btn btn-primary" id="displayLabel">Build</button>
</div>
</div>
<!-- col-sm-3 -->
<div class="col-sm-9">
<div class="example" id="simple-example-labels">
<p>Advertising Red Books <span class='label label-warning'>Library Only</span></p>
<p>Ad$pender Online <span class='label label-success'>Best Bet</span></p>
</div>
<div class="well" contenteditable="true">
<button class="btn btn-primary pull-right copier" title="copy" type="button" data-clipboard-demo="" data-clipboard-target="#simple-label-code">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button>
<pre class="prettyprint" id="simple-label-code">
<p>Advertising Red Books<span class='label label-warning'>Library Only</span></p><p>Ad$pender Online<span class='label label-success'>Best Bet</span></p>
</pre>
</div>
<!-- example closes -->
</div>
<!-- col-sm-9 -->
</div>
<!-- row -->
<h2 id="sec5">Links <small>(Inside a Rich Text /HTML content item)</small></h2>
<p>Links are the way we help users—including users with visual impairment—quickly and efficiently reach important resources. For that reason it's important to <a href="help-web-writing.html#sec2">make links meaningful</a>.</p>
<div class='alert alert-info' role='alert'>
<p><strong><i class="fa fa-exclamation-circle" aria-hidden="true"></i>All Links Open in New Window/Tab by Default</strong><br/>You may force a new page to load in the current window by <a href="help-faq.html">setting your link's target property in the WYSIWYG editor</a>.
In HTML, adding the attribute <code>target="_self"</code> to any link will open the destination URL in a the same window.</p>
</div>
<div class="example">
<p>To supercharge your guides, <a target="_self">Read the Handbook!</a></p>
</div>
<div class="well" contenteditable="true">
<button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well7a" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button>
<pre class="prettyprint" id="well7a">
<p>To supercharge your guides, <a href="handbook.html" target="_self">Read the Handbook!</a></p>
</pre>
</div>
<!-- example closes -->
<!-- More about Links -->
<div class='panel-group' id='accordion' role='tablist' aria-multiselectable='true'>
<div class='panel panel-default'>
<div class='panel-heading' role='tab' id='heading0'>
<h5 class='panel-title'><a role='button' data-toggle='collapse' data-parent='#accordion' href='#collapse1' aria-expanded='true' aria-controls='collapse1'><i class="fa fa-exclamation-triangle fa-spacer-right" aria-hidden="true"></i>System-wide Links vs Links in Rich Text Boxes</a></h5></div>
<div id='collapse1' class='panel-collapse collapse' role='tabpanel' aria-labelledby='heading1'>
<div class='panel-body'>
<p>There are 2 distinct ways to add links in guides. The difference is important.</p>
<table class='table table-bordered table-striped'>
<thead>
<tr>
<th style='width: 25%;'>Link Added...</th>
<th style='width: 30%;'>Type of Link</th>
<th style='width: 45%;'>Note</th>
</tr>
</thead>
<tbody>
<tr>
<td>As System Components</td>
<td>
<p><strong>Use for:</strong></p>
<ul style="margin-left: -20px;">
<li><a href="content-book.html">Books</a></li>
<li><a href="content-database.html">Databases</a></li>
<li><a href="content-document.html">Documents (pdfs)</a></li>
<li><a href="content-book.html">Auto-generated lists of guides</a></li>
</ul>
</td>
<td>
<div class='alert alert-success' role='alert'>
<p><i class='glyphicon glyphicon-thumbs-up fa-spacer-right' aria-hidden='true'></i>The LMT regularly uses the System-wide Link-checker to find and repair broken links for system components. </p>
</div>
<div class='alert alert-danger' role='alert'>
<p><i class="glyphicon glyphicon-thumbs-down fa-spacer-right" aria-hidden="true"></i>System-wide Links such as databases and books take up the entire content box and cannot be put into columns.</p>
</div>
</td>
</tr>
<tr>
<td>Into Rich Text Boxes</td>
<td>
<p><strong>Use for: </strong></p>
<ul style="margin-left: -20px;">
<li><a href="feature-text.html#sec2">In-text Links</a></li>
<li><a href="feature-button.html">Buttons</a></li>
<li><a href="feature-icon.html">Icons</a></li>
<li><a href="feature-list.html">Lists</a></li>
<li><a href="feature-table.html">Tables</a></li>
</ul>
</td>
<td>
<div class='alert alert-success' role='alert'>
<p><i class='glyphicon glyphicon-thumbs-up fa-spacer-right' aria-hidden='true'></i>Far more link types available than simple System-wide Links.</p>
</div>
<div class='alert alert-danger' role='alert'>
<p><i class='glyphicon glyphicon-thumbs-down fa-spacer-right' aria-hidden='true'></i>No easy way to find broken links within Rich Text boxes. Onus on the guide author to ensure all links work.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- panel group -->
<!-- More about links closes ---------------------------------->
<!-- Special Text formats ------------------------------------------------------------------------------>
<h2 id="sec6">Special Text Formats</h2>
<p>When used correctly, special textual formats decidedly improve the usability and readability of textual entries. Many of these special text formats are available under the <strong>Styles</strong> dropdown menu in the WYSIWYG editor.</p>
<table style="margin-top: 30px;" class='table table-bordered'>
<thead></thead>
<tbody>
<tr>
<td>Lead Text</td>
<td>
<p class='lead'>Use lead text to summarize content or focus readers</p>
</td>
<td id="well6"><pre class="prettyprint"><p class="lead">Use lead text to summarize content or focus readers</p></pre></td>
<td><button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well6" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button></td>
</tr>
<tr>
<td>Math Variables</td>
<td><var>a</var> + <var>b</var> = <var>c</var></td>
<td id="well20"><pre class="prettyprint"><var>a</var> + <var>b</var> = <var>c</var></pre></td>
<td><button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well20" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button></td>
</tr>
<tr>
<td>Keyboard Keys</td>
<td><kbd>CTRL</kbd> + <kbd>Z</kbd></td>
<td id="well21"><pre class="prettyprint"><kbd>CTRL</kbd> + <kbd>Z</kbd></pre></td>
<td><button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well21" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button></td>
</tr>
<tr>
<td>Computer Code</td>
<td><code><p>This is a paragraph element</p></code></td>
<td id="well22"><pre class="prettyprint"><code><p>This is a paragraph element</p></code></pre></td>
<td><button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well22" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button></td>
</tr>
<tr>
<td>Sample Computer Output</td>
<td><samp>You have pressed a key!</samp></td>
<td id="well23"><pre class="prettyprint"><samp>You have pressed a key!</samp></pre></td>
<td><button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well23" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button></td>
</tr>
<tr>
<td>Marker Text</td>
<td>Pay attention <mark>to this</mark></td>
<td id="well25"><pre class="prettyprint">Pay attention <mark>to this</mark></pre></td>
<td><button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well25" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button></td>
</tr>
<tr>
<td>Typewriter</td>
<td><tt>Typewriter Text</tt></td>
<td id="well26"><pre class="prettyprint"><tt>Typewriter Text</tt></pre></td>
<td><button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well26" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button></td>
</tr>
<tr>
<td>Linethrough</td>
<td>This and <del>not that</del></td>
<td id="well27"><pre class="prettyprint">This and <del>not that</del></pre></td>
<td><button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well27" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button></td>
</tr>
<tr>
<td>Small Text</td>
<td>Primary Text <small>(subordinate text)</small></td>
<td id="well28"><pre class="prettyprint">Primary text <small>(subordinate text)</small></pre></td>
<td><button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well28" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button></td>
</tr>
<tr>
<td>Big Text</td>
<td>I wish...<big>I were big!</big></td>
<td id="well29"><pre class="prettyprint">I wish...<big>I were big!</big></pre></td>
<td><button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well29" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button></td>
</tr>
<tr>
<td>Superscript</td>
<td>2<sup>3</sup> = 8</td>
<td id="well30"><pre class="prettyprint">2<sup>3</sup> = 8</pre></td>
<td><button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well30" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button></td>
</tr>
<tr>
<td>Subscript</td>
<td>Water, a.k.a. H<sub>2</sub>O</td>
<td id="well31"><pre class="prettyprint">Water, a.k.a. H<sub>2</sub>O</pre></td>
<td><button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well31" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button></td>
</tr>
<tr>
<td>Uppercase</td>
<td>
<p class="text-uppercase">make this uppercase!</p>
</td>
<td id="well32"><pre class="prettyprint"><p class="text-uppercase">make this uppercase!</p></pre></td>
<td><button class="btn btn-primary pull-right copier" type="button" data-clipboard-demo="" data-clipboard-target="#well32" data-toggle="tooltip" data-placement="bottom" title="copy HTML">
<i class="fa fa-clipboard" aria-hidden="true"></i>
</button></td>
</tr>
</tbody>
</table>
</div>
<!--/right-->
</div>
<!--/row-->
</div>
<!--/container-->
</div>
<!-- .container -->
<!-- Main Content closes ----------------------------->
<!-- Modal ---------------------------------------->
<div class="modal" id="typographyModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<a href="" style="display:block;"><h1 class='short-round pull-right' style='font-size: 24px; height: 60px; width: 60px; padding: 10px; border-radius: 60px; background: #d9534f;' class="close" data-dismiss="modal" aria-label="Close"><i class="fa fa-times" aria-hidden="true"></i></h1></a>
<h1 class="modal-title pull-left" id="myModalLabel" style="opacity:.4;padding-left: 50px;">Typographic Hierarchy</h4>
</div>
<div class="modal-body">
<div class="container">
<div class="col-sm-12">
<table class='table table-striped' id="hierarchy-table">
<thead></thead>
<tbody>
<tr>
<td style='width: 15%'> <h3>h3</h3> </td>
<td style='width: 85%'> <h3>The Canons of Rhetoric</h3> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>There are 5 canons of rhetoric. The mnemonic M.A.I.D.S. makes it easy to remember them as <strong>Memory</strong>, <strong>Arrangement</strong>, <strong>Invention</strong>, <strong>Delivery</strong>, and <strong>Style</strong>.</p> </td>
</tr>
<tr>
<td> <h4>h4</h4> </td>
<td> <h4>Memory</h4> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>Memory has, in part, to do with mnemonics (memory aids) that would assist a budding orator in retaining his speech. However, it clearly had to do with more than simply learning how to memorize an already composed speech for re-presentation.</p> </td>
</tr>
<tr>
<td> <h4>h4</h4> </td>
<td> <h4>Style</h4> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> Style concerns the artful expression of ideas. If invention addresses what is to be said; style addresses how this will be said.</td>
</tr>
<tr>
<td> <h5>h5</h5> </td>
<td> <h5>Virtues of Style</h5> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> Five encompassing concerns of style which relate style to grammar, audience, effective and affective appeals, the guiding principle of decorum, and the importance of ornamenting language through figurative speech. </td>
</tr>
<tr>
<td> <h6>h6</h6> </td>
<td> <h6>Correctness of Style</h6> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> Correctness or purity is that quality of style by which one speaks or writes in a manner consistent with a given language's norms (consuetudo, usus). </td>
</tr>
<tr>
<td> <h6>h6</h6> </td>
<td> <h6>Clarity of Style</h6> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>Clarity (perspicuitas), closely related to correctness or purity (above), is that quality of style by which language is intelligible.</p> </td>
</tr>
<tr>
<td> <h6>h6</h6> </td>
<td> <h6>Evidence of Style</h6> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>"Evidence" does not mean logical proof, but as the Latin root of this word suggests, it refers to that which comes before the eyes.</p> </td>
</tr>
<tr>
<td> <h6>h6</h6> </td>
<td> <h6>Propriety of Style</h6> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>Although listed as a quality of style, propriety is of course a controlling principle for all of rhetoric, known better by the Latin term decorum. With respect to style, it is necessary that the words be aptly fit to the subject matter.</p> </td>
</tr>
<tr>
<td> <h6>h6</h6> </td>
<td> <h6>Ornateness of Style</h6> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> This quality of style refers to the various aesthetic qualities of language so fully illustrated among the various figures of speech.</td>
</tr>
<tr>
<td> <h5>h5</h5> </td>
<td> <h5>Levels of Style</h5> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>From the Roman tradition three levels of style have been laid out, each suited to one of three distinct rhetorical purposes.</p> </td>
</tr>
<tr>
<td> <h5>h5</h5> </td>
<td> <h5>Qualities of Style</h5> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>A large descriptive terminology has been developed to critique the qualities of style. These are interpretive in nature, and overlap broadly with figures of speech or the virtues and levels of style.</p> </td>
</tr>
<tr>
<td> <h5>h5</h5> </td>
<td> <h5>Figures of Speech</h5> </td>
</tr>
<tr>
<td> <p>p</p> </td>
<td> <p>Sometimes considered part of "ornateness" (one of the Virtues of Style), and sometimes taken to represent the whole of rhetoric, the rhetorical figures constitute a vast technical vocabulary naming ways that both ideas and language have been configured.</p> </td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-12">
<!-- Alert note ----------------------------------->
<div class='alert alert-default' role='alert'><p><i class='fa fa-info-circle fa-spacer-right' aria-hidden='true'></i>Rhetorical primer excerpted from the <a href="http://rhetoric.byu.edu/" target="_blank"><em>Silva Rhetoricae</em></a>. <em>Arrangement</em>, <em>Invention</em>, and <em>Delivery</em> canons omitted.</p></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer ----------------------------->
<div id="handbook-footer">
<div class="container-fluid">
<div class="row">
<div class="col-xs-12 col-sm-6">
<i class="fa fa-copyright" aria-hidden="true"></i><span id="thisYear"></span> University of Notre Dame
</div>
<div class="col-xs-12 col-sm-6">
<p class="text-right"><a href="https://github.com/randal-sean-harrison/handbook" target="_blank"><i class="fa fa-github fa-spacer-right" aria-hidden="true"></i>randal-sean-harrison/handbook</a></p>
</div>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery-3.2.1.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<!-- Include for the Back to top button -->
<script src="js/back-to-top.js"></script>
<!-- Scrollspy / affix js -->
<script src="js/scripts.js"></script>
<!-- includes for Google's code highlighter 'prettyprint' -->
<link rel="stylesheet" type="text/css" href="css/prettify.css">
<script type="text/javascript" src="js/prettify.js"></script>
<!-- html include script -->
<script src="https://www.w3schools.com/lib/w3data.js"></script>
<script>
w3IncludeHTML();
</script>
<!-- clipboard.js include -->
<script src="js/clipboard.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
// check the box by default
$('#standard-icons').prop('checked', true);
// check the traditional icons checkbox
$("#standard-icons").click(function() {
if (!$(this).is(":not(:checked)")) { //checks if the checkbox/this is selected or not
$("#alert-icon").val(""); //empty the input value
}
});
// uncheck the standard icons when text entered into this field
$('#alert-icon').on('input', function(e) {
$('#standard-icons').prop("checked", false);
});
$('#displayLabel').click(function() {
var labelColor = $('#label-color').val();
var labelSize = $('#label-size').val();
var labelText = $('#label-text').val();
var labelCore = "<span class='label" + labelColor + "'>" + labelText + "</span>";
var bsLabel = '';
if (labelSize == "normal-sized") {
bsLabel = labelCore;
} else if (labelSize == "small-sized") {
bsLabel = "<small>" + labelCore + "</small>";
} else {
bsLabel = "<span style='font-size:1.3rem'>" + labelCore + "</span>";
}
// write the table
$("#simple-example-labels").html(bsLabel);
$('#simple-label-code').text(bsLabel);
$('pre').removeClass('prettyprinted');
prettyPrint();
});
// Add the active classes to the nav menu
$(".navfeatures").addClass("active");
$(".navtypography").addClass("active");
$('#displayBlockquote').click(function() {
var blockquoteQuote = $('#blockquote-quote').val();
var blockquoteAuthor = $('#blockquote-author').val();
var blockquoteSource = $('#blockquote-source').val();
var sourceLink = $('#source-link').val();
if (blockquoteSource !== '' && blockquoteAuthor !== '') {
blockquoteAuthor += ", from ";
}
if (blockquoteAuthor == '') {
}
// escape the quotation marks in quote and source fields
blockquoteQuote = blockquoteQuote.replace(/\"/g,'"');
blockquoteQuote = blockquoteQuote.replace(/\”/g,'"');
blockquoteQuote = blockquoteQuote.replace(/\“/g,'"');
blockquoteQuote = blockquoteQuote.replace(/\'/g,''');
blockquoteQuote = blockquoteQuote.replace(/\‘/g,''');