-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
executable file
·144 lines (128 loc) · 3.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
<html>
<head>
<meta charset=utf-8>
<style>
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
audio {
display: none;
}
body {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
font-size: 24px;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.container {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
text-align: center;
max-width: 320px;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
h1, h2 {
margin: 0;
font-family: 'Requiem Display A', 'Requiem Display B'; font-weight: 400; font-style: normal;
}
h2::before {
margin-right: 5px;
content: '—';
display: inline-block;
}
h2::after {
margin-left: 5px;
content: '—';
display: inline-block;
}
p {
text-align: center;
font-size: 20px;
margin-bottom: 30px;
font-family: 'Requiem Fine A', 'Requiem Fine B'; font-weight: 400; font-style: italic;
}
.monk {
width: 50%;
}
.wololo {
font-family: 'Requiem Display A', 'Requiem Display B'; font-weight: 400; font-style: normal;
padding: 20px;
padding-left: 40px;
padding-right: 40px;
background-color: blue;
cursor: move;
text-align: inherit;
font-size: 16px;
color: white;
border-radius: 3px;
text-decoration: none;
}
.button__container {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.title__container {
margin-top: 20px;
}
.footer__link {
margin-top: 40px;
opacity: .2;
}
.footer__link > img {
width: 24px;
height: 24px;
}
.footer__link:hover {
opacity: 1;
}
</style>
<title>wololo.js</title>
<meta property="og:title" content="wololo.js" />
<meta property="og:url" content="https://jenbennings.github.io/wololo"/>
<meta property="og:type" content="website" />
<meta property="og:description" content="wololo" />
<meta property="description" content="wololo" />
<meta name="keywords" content="wololo" />
<link rel="stylesheet" type="text/css" href="//cloud.typography.com/7404032/777168/css/fonts.css" />
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon">
</head>
<body>
<div class="container">
<img class="monk" src="wololo.gif">
<div class="title__container">
<h1>WololO</h1>
<h2>.js</h2>
</div>
<p>Drag the button below onto your bookmarks bar, then click it on any website to start converting.</p>
<div class="button__container">
<a class="wololo" id="bookmarklet" href='javascript:(function()%7Bjavascript:var%20s%3Ddocument.createElement(%27script%27)%3Bs.setAttribute(%27src%27,%27https://jenbennings.github.io/wololo/wololo.js%27)%3Bdocument.body.appendChild(s)%3B%7D)()%3B'>WOLOLO</a>
</div>
</div>
<a class="footer__link" href="http://github.com/jenbennings/wololo"><img src="github.png"></a>
</body>
</html>