-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypography.html
87 lines (62 loc) · 2.05 KB
/
typography.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
<!DOCTYPE html>
<html lang="en-GB">
<head>
<meta charset="utf-8">
<title>NPR Styleguide — Typography</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="description">
<meta content="" name="author">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<link href="css/main.css" rel="stylesheet">
<link href="css/tooltipster.css" rel="stylesheet">
<link rel="stylesheet" href="http://s.npr.org/templates/css/fonts/GothamSSm.css">
<link href="img/favicon.ico" rel="shortcut icon">
<script src="scripts/jquery-1.11.1.js"></script>
<script src="scripts/jquery.tooltipster.min.js"></script>
<script src="scripts/ZeroClipboard.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
$('.tooltip').tooltipster();
});
$.fn.tooltipster('setDefaults', {
position: 'right'
});
</script>
</head>
<body>
<div class="content">
<div class="navigation">
<ul>
<a href="index.html"><li>Home</li></a>
<a href="colors.html"><li>Colors</li></a>
<a href="typography.html"><li>Typography</li></a>
</ul>
</div>
<div class="intro">
<a href="index.html"><img src="img/NPR-Logo.svg">
<h1>Styleguide</h1>
</a>
</div>
</div>
</div>
<script>
$(document).ready(function() {
var clip = new ZeroClipboard($("#d_clip_button"));
var myTextToCopy = "#E0564C";
clip.setText( myTextToCopy );
clip.glue( 'd_clip_button' );
clip.on("ready", function() {
debugstr("Flash movie loaded and ready.");
this.on("aftercopy", function(event) {
debugstr("Copied text to clipboard: " + event.data["text/plain"]);
});
});
clip.on("error", function(event) {
$(".demo-area").hide();
debugstr('error[name="' + event.name + '"]: ' + event.message);
ZeroClipboard.destroy();
});
});
</script>
</body>
</html>