File tree Expand file tree Collapse file tree 1 file changed +160
-0
lines changed
Expand file tree Collapse file tree 1 file changed +160
-0
lines changed Original file line number Diff line number Diff line change 1+ : root {
2+ --bg : # 000 ;
3+ --panel : # 0a0a0a ;
4+ --cyan : # 5ff ;
5+ --magenta : # f5f ;
6+ --white : # fff ;
7+ --dim : # 777 ;
8+ }
9+
10+ body {
11+ background : var (--bg );
12+ color : var (--white );
13+ font-family : monospace;
14+ padding : 20px ;
15+ }
16+
17+ .panel {
18+ border : 1px solid var (--cyan );
19+ background : var (--panel );
20+ padding : 14px 16px ;
21+ display : inline-block;
22+ }
23+
24+ .panel-magenta { border-color : var (--magenta ); }
25+ .panel-cyan { border-color : var (--cyan ); }
26+
27+ .panel-title {
28+ color : var (--cyan );
29+ font-weight : bold;
30+ margin-bottom : 10px ;
31+ }
32+
33+ label {
34+ display : block;
35+ margin-bottom : 8px ;
36+ }
37+
38+ input , select , button {
39+ background : # 000 ;
40+ color : var (--white );
41+ border : 1px solid var (--cyan );
42+ font-family : monospace;
43+ padding : 4px 6px ;
44+ }
45+
46+ button {
47+ cursor : pointer;
48+ }
49+
50+ button : hover {
51+ border-color : var (--magenta );
52+ color : var (--magenta );
53+ }
54+
55+ canvas {
56+ display : block;
57+ margin-top : 18px ;
58+ border : 1px solid var (--cyan );
59+ }
60+
61+ # myCanvas {
62+ margin-bottom : 12px ;
63+ }
64+
65+ .kernel-panel {
66+ width : 100% ;
67+ max-width : 514px ; /* 512 + 2px border */
68+ margin : 0 auto;
69+ box-sizing : border-box;
70+ }
71+
72+ .kernel-grid {
73+ display : grid;
74+ grid-template-columns : 1fr ; /* 9 vertical rows */
75+ gap : 12px ;
76+ }
77+
78+ .kcell {
79+ text-align : center;
80+ }
81+
82+ .kcell input [type = range ] {
83+ width : 100% ;
84+ }
85+
86+ .kcell div {
87+ color : var (--dim );
88+ font-size : 12px ;
89+ margin-top : 4px ;
90+ }
91+
92+ .kcell .center div {
93+ color : var (--white );
94+ }
95+
96+ .hint {
97+ color : var (--dim );
98+ font-size : 12px ;
99+ margin-top : 6px ;
100+ }
101+
102+ # kernelDump {
103+ margin-top : 14px ;
104+ font-family : monospace;
105+ color : var (--dim );
106+ }
107+
108+ /* --- squeeze kernel sliders vertically --- */
109+ .kernel-grid input [type = "range" ] {
110+ padding : 0 ;
111+ border : 0 ;
112+ height : 16px ;
113+ margin : 0 ;
114+ }
115+
116+ .kernel-grid .kcell {
117+ padding : 0 ;
118+ margin : 0 ;
119+ line-height : 1 ;
120+ }
121+
122+ .pad-switch {
123+ display : flex;
124+ gap : 12px ;
125+ margin-bottom : 6px ;
126+ font-family : monospace;
127+ font-size : 12px ;
128+ }
129+
130+ .pad-switch input {
131+ margin-right : 4px ;
132+ }
133+
134+ a {
135+ color : var (--cyan );
136+ }
137+
138+ .kslider {
139+ margin-bottom : 12px ;
140+ }
141+
142+ .kslider-title {
143+ color : var (--cyan );
144+ font-size : 12px ;
145+ margin-bottom : 4px ;
146+ }
147+
148+ .kslider input [type = "range" ] {
149+ width : 100% ;
150+ padding : 0 ;
151+ border : 0 ;
152+ height : 16px ;
153+ margin : 0 ;
154+ }
155+
156+ .kslider .zslice {
157+ margin-top : 10px ;
158+ padding-top : 8px ;
159+ border-top : 1px solid var (--dim );
160+ }
You can’t perform that action at this time.
0 commit comments