-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
72 lines (65 loc) · 1.35 KB
/
Copy pathstyle.css
File metadata and controls
72 lines (65 loc) · 1.35 KB
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
/* keep your font defaults if you want */
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* IMPORTANT: full-screen canvas layout */
html, body {
margin: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #fff;
}
canvas.webgl {
display: block;
width: 100%;
height: 100%;
}
/* UI panel (from your index.html) */
.panel {
position: absolute;
top: 10px;
left: 10px;
display: flex;
flex-direction: column;
gap: 8px;
z-index: 10;
}
.control {
padding: 5px 10px;
background: rgba(255,255,255,0.85);
border-radius: 6px;
font-family: sans-serif;
width: 300px;
display: flex;
align-items: center;
gap: 8px;
box-sizing: border-box;
}
.control label { width: 70px; flex: 0 0 70px; }
.control input[type="range"] { flex: 1 1 auto; }
.control span { width: 40px; text-align: right; flex: 0 0 40px; }
/* Preview strip (for mini intensity windows you asked for) */
.previews {
position: absolute;
bottom: 10px;
left: 10px;
display: flex;
gap: 10px;
z-index: 10;
}
.preview {
width: 220px;
height: 160px;
background: rgba(255,255,255,0.85);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.preview canvas {
width: 100%;
height: 100%;
display: block;
}