-
Notifications
You must be signed in to change notification settings - Fork 1
/
default.html.hbs
57 lines (57 loc) · 1.3 KB
/
default.html.hbs
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{pageTitle}}</title>
<style>
html, body, div {
text-align: center;
margin: 0 auto;
padding: 0;
font: normal 16px/24px Helvetica Neue, Helvetica, sans-serif;
color: #333;
}
#main {
max-width: 630px;
margin: 3em auto;
}
.bookmarklet {
display: inline-block;
padding: .5em 1em;
color: #fff;
background: #50dcf3;
border-radius: 4px;
text-decoration: none;
}
a {
color: #50dcf3;
}
.dim {
color: #999;
}
.bookmarkContainer {
padding: 30px;
}
</style>
</head>
<body>
<div id="main">
<h1>{{pageTitle}}</h1>
{{#if author}}
<p>By: {{author}}</p>
{{/if}}
<div class="bookmarkContainer">
<p>
<a class="bookmarklet" href="{{bookmarkletCode}}">{{linkName}}</a>
</p>
<p>
Drag this button to your bookmarks bar to save it as a bookmarklet.
</p>
</div>
{{#if repo}}
<p>See source at <br> <a href="{{repo}}">{{repo}}</a></p>
{{/if}}
</div>
</body>
</html>