-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.css
105 lines (82 loc) · 1.3 KB
/
index.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
101
102
103
104
105
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
overflow: hidden;
font-family: Arial, sans-serif;
}
#blur {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 2;
display: block;
backdrop-filter: blur(4px);
pointer-events: none;
}
#blur.hidden{
display: none;
}
canvas {
position: absolute;
top: 0;
left: 0;
z-index: 1;
display: block;
width: 100vw;
height: 100vh;
background: white;
}
#sidebar {
position: absolute;
top: 0;
left: 0;
z-index: 3;
height: 100vh;
background: rgba(0,0,0,0.7);
color: white;
}
#sidebar > hr {
width: 90%;
}
#sidebar > fieldset {
border:0;
width: 100%;
box-sizing: border-box;
}
#sidebar > fieldset > h2 {
margin-top: 1rem;
}
#sidebar > hr + fieldset > h2{
margin-top: 0;
}
#sidebar > fieldset > label,
#sidebar > fieldset > button,
#sidebar > fieldset > select {
display: block;
}
#sidebar > fieldset > select {
padding: 0.5rem 0.2rem;
}
#sidebar > fieldset > button {
padding: 0.5rem;
}
#sidebar > label > select {
padding: 0.2rem;
}
#style > label {
text-align: right;
white-space: nowrap;
}
#style > label > button,
#style > label > input,
#style > label > select {
width: 10rem;
}
#actions > button {
width: 100%;
}