-
Notifications
You must be signed in to change notification settings - Fork 147
/
index.html
57 lines (57 loc) · 1.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, shrink-to-fit=0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<title>color-wander</title>
<link href='https://fonts.googleapis.com/css?family=Oxygen:300,700' rel='stylesheet' type='text/css'>
<style type="text/css">
canvas {
cursor: pointer;
}
.seed-container {
cursor: auto;
position: absolute;
left: 10px;
top: 10px;
color: white;
font-weight: 200;
text-transform: uppercase;
font-size: 12.25px;
font-family: 'Oxygen', sans-serif
}
.noselect {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Chrome/Safari/Opera */
-khtml-user-select: none; /* Konqueror */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
not supported by any browser */
}
.seed-text {
font-weight: 700;
}
.howto {
font-size: 9px;
}
#fill {
cursor: pointer;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="fill"></div>
<canvas id="canvas" class="noselect"></canvas>
<header class="seed-container">
<div>seed – <span class="seed-text">12380</span></div>
<div class="howto">tap to randomize</div>
</header>
<script src="bundle.js"></script>
</body>
</html>