-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (65 loc) · 1.26 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
<!DOCTYPE html>
<html>
<head>
<title>tessellation</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/css/tachyons.min.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="utf-8" />
<style>
body {
overflow: hidden;
}
header {
display: block;
left: 0;
padding: 2rem;
position: absolute;
top: 0;
}
button {
cursor: pointer;
color: #96ccff;
height: 1rem;
padding: 0;
position: relative;
width: 1rem;
}
button + button {
margin-left: 1rem;
}
button:hover {
color: #cdecff;
}
button:focus {
outline: none;
}
button .below {
color: #357edd;
display: none;
font-size: .875rem;
left: 50%;
position: absolute;
transform: translateX(-50%);
top: 1.5rem;
}
button:hover .below {
display: block;
}
button + .id {
color: #357edd;
display: inline-block;
margin-left: 1rem;
}
.circles {
fill: #00449e;
}
.polygons {
fill: none;
stroke: #357edd;
}
</style>
</head>
<body class="bg-navy washed-blue sans-serif">
<div id="tessellation"></div>
</body>
</html>