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
|
@charset "utf-8";
* {
box-sizing: border-box;
background-color: transparent;
margin: 0;
padding: 0;
border: 0;
list-style-type: none;
outline: none;
text-decoration: none;
position: relative;
box-shadow: none;
-moz-osx-font-smoothing: grayscale !important;
text-rendering: optimizeLegibility !important;
-webkit-font-smoothing: antialiased !important;
font-family: Arial, Helvetica, sans-serif;
user-select: none;
}
body {
margin: 0;
padding: 0;
font-size: 13px;
}
section {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
background-image: linear-gradient(0deg, transparent 24%, rgba(0, 0, 0, .08) 25%, rgba(0, 0, 0, .08) 26%, transparent 27%, transparent 74%, rgba(0, 0, 0, .08) 75%, rgba(0, 0, 0, .08) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(0, 0, 0, .08) 25%, rgba(0, 0, 0, .08) 26%, transparent 27%, transparent 74%, rgba(0, 0, 0, .08) 75%, rgba(0, 0, 0, .08) 76%, transparent 77%, transparent);
background-size: 50px 50px;
}
canvas {
width: 100%;
height: 100%;
}
button {
display: block;
background: #fff;
border-radius: 5px;
width: 100%;
font-weight: bold;
cursor: pointer;
text-align: center;
}
nav.colors {
position: fixed;
left: 10px;
top: 10px;
width: 40px;
}
nav.colors button {
height: 40px;
margin-bottom: 10px;
}
nav.tools {
position: fixed;
left: 10px;
bottom: 10px;
width: 65px;
}
nav.tools button {
border: 2px solid #bbb;
padding: 10px 0;
margin-top: 10px;
}
|