-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
109 lines (99 loc) · 2.48 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
<!DOCTYPE html>
<html>
<head>
<style>
input[type=text] {
width: 30%;
height: 9%;
padding: 20px;
box-sizing: border-box;
border: 2px solid blue;
border-radius: 8px;
text-align: center;
position: absolute;
top: 45%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
background-color: #C0FFFF;
font-size: 40px;
color: #003a80;
font-family: Impact, Charcoal, sans-serif;
outline: none;
font-weight: 900;
}
p {
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
font-size: 40px;
color: #1c56ba;
font-family: Impact, Charcoal, sans-serif;
outline: none;
font-weight: 900;
white-space: nowrap;
}
.hash {
top: 60%;
left: 50%;
font-size: 10px;
color: #3e5783;
font-weight: 200;
}
button {
border: 2px solid #0066cc;
background-color: #0254ce;
color: #c8d9e3;
font-family: Impact, Charcoal, sans-serif;
font-weight: 900;
padding: 5px 10px;
font-size: 35px;
position: absolute;
top: 70%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
}
button:hover {
border: 1px solid #0099cc;
background-color: #006dcc;
color: #ffffff;
padding: 5px 10px;
}
button:disabled,
button[disabled] {
border: 1px solid #999999;
background-color: #cccccc;
color: #666666;
}
canvas {
/* background-color: #7288ce; */
/* width: 100%; */
/* height: 100%; */
display: block;
}
html, body {
/* width: 100%;
height: 100%; */
margin: 0;
overflow: hidden;
}
</style>
<link rel="shortcut icon" type="image/x-icon" href="favicon/favicon.ico">
<!-- <link rel="shortcut icon" type="image/x-icon" href="/favicon/apple-touch-icon.ico"> -->
<!-- <link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<link rel="manifest" href="/favicon/site.webmanifest"> -->
</head>
<body id="body">
<input type="text" id="name" autofocus autocomplete="off" maxlength="16000">
<p id="chance"></p>
<p class="hash" id="hash"></p>
<button id="celebrate" onclick=celebrate() disabled> Celebrate!</button>
<script src="shacalc.js"></script>
</body>
</html>