-
Notifications
You must be signed in to change notification settings - Fork 2
/
joke.html
67 lines (58 loc) · 1.63 KB
/
joke.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
<html>
<head>
<title>Chuck Norris Facts</title>
<meta name="description" content="Chrome extension to fetch random Chuck Norris jokes from ICNDb API." />
<link rel="shortcut icon" href="icon.png" type="image/png" />
<link rel="icon" href="icon.png" type="image/png" />
<style>
html {
margin: 0;
padding: 0;
}
body {
margin: 0;
padding: 5px;
background-color: #616161;
border: 5px groove #383838;
width: 500px;
height: 150px;
}
#icon {
display: inline-block;
width: 10%;
margin-left: 2%;
margin-right: 3%;
float: left;
}
#joke {
display: inline-block;
width: 80%;
font-size: 16px;
line-height: 24px;
color: #ffffff;
}
#content {
display: none;
}
#loading {
width: 100%;
height: 100%;
}
#loading-img {
position: fixed;
left: 225px;
top: 40px;
}
</style>
</head>
<body>
<script src="joke.js"></script>
<div id="content">
<img id="icon" src="icon.png" />
<div id="joke"></div>
</div>
<div id="loading">
<img id="loading-img" src="loading.gif" />
</div>
</body>
</html>