-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
100 lines (87 loc) · 1.35 KB
/
style.css
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
html, body {
width: 100%;
height: 100%;
}
html {
font-family: sans-serif;
color: white;
background-color: black;
}
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
}
#render-canvas {
width: 100vmin;
height: 100vmin;
image-rendering: pixelated;
image-rendering: crisp-edges;
}
#control-panel {
position: fixed;
display: flex;
flex-direction: column;
top: 3rem;
left: 3rem;
}
.control-group {
display: flex;
flex-direction: column;
list-style: none;
color: white;
padding: 0;
margin-top: 0;
margin-bottom: 1rem;
}
.control {
display: flex;
margin-top: 2px;
}
.control input {
display: none;
}
.control input + label,
.control.trigger {
box-sizing: border-box;
display: flex;
justify-content: center;
background-color: black;
width: 100%;
padding: 0.8rem 1.4rem;
opacity: 0.5;
}
.control input:checked + label,
.control.trigger {
opacity: 1;
}
.palette-color {
display: inline-block;
margin: 0 0.4em;
width: 1em;
height: 1em;
border-radius: 50%;
}
#cursor {
position: fixed;
top: 0;
left: 0;
opacity: 0;
pointer-events: none;
width: 1px;
height: 1px;
fill: none;
stroke: white;
stroke-width: 1px;
}
#cursor svg {
position: absolute;
width: 100%;
height: 100%;
opacity: 0;
}
#cursor svg.is-visible {
opacity: 1;
}