|
31 | 31 | display: flex; |
32 | 32 | align-items: center; |
33 | 33 | justify-content: center; |
34 | | - background: rgba(2, 3, 8, 0.66); |
35 | | - backdrop-filter: blur(2px); |
| 34 | + background: rgba(2, 3, 8, 0.25); |
| 35 | + backdrop-filter: blur(6px) saturate(1.1); |
36 | 36 | z-index: 10; |
37 | 37 | } |
38 | 38 | #start-content { |
|
44 | 44 | color: #cfe7ff; |
45 | 45 | } |
46 | 46 | #start-keys { |
47 | | - color: #9bb; |
48 | | - font: 12px/1.4 monospace; |
49 | | - max-width: 560px; |
50 | | - background: rgba(20, 20, 30, 0.55); |
51 | | - padding: 10px 12px; |
| 47 | + color: #cfe7ff; |
| 48 | + font: |
| 49 | + 13px/1.55 system-ui, |
| 50 | + -apple-system, |
| 51 | + Segoe UI, |
| 52 | + Roboto, |
| 53 | + Ubuntu, |
| 54 | + Cantarell, |
| 55 | + Noto Sans, |
| 56 | + Arial, |
| 57 | + sans-serif; |
| 58 | + max-width: 760px; |
| 59 | + background: rgba(10, 14, 24, 0.7); |
| 60 | + padding: 16px 18px; |
52 | 61 | border: 1px solid rgba(80, 110, 150, 0.35); |
53 | | - border-radius: 8px; |
| 62 | + border-radius: 10px; |
| 63 | + box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); |
| 64 | + text-align: left; |
| 65 | + } |
| 66 | + #start-keys h3 { |
| 67 | + margin: 0 0 8px 0; |
| 68 | + font-size: 13px; |
| 69 | + font-weight: 700; |
| 70 | + color: #a9c6ff; |
| 71 | + letter-spacing: 0.02em; |
| 72 | + text-transform: uppercase; |
| 73 | + } |
| 74 | + #start-keys .grid { |
| 75 | + display: grid; |
| 76 | + grid-template-columns: 1fr 1fr; |
| 77 | + gap: 8px 18px; |
| 78 | + } |
| 79 | + #start-keys ul { |
| 80 | + list-style: none; |
| 81 | + margin: 6px 0 10px 0; |
| 82 | + padding: 0; |
| 83 | + color: #9bb; |
| 84 | + font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; |
| 85 | + font-size: 12px; |
| 86 | + } |
| 87 | + #start-keys li { |
| 88 | + margin: 4px 0; |
| 89 | + } |
| 90 | + .kbd { |
| 91 | + display: inline-block; |
| 92 | + padding: 1px 6px; |
| 93 | + border-radius: 6px; |
| 94 | + border: 1px solid rgba(120, 150, 190, 0.35); |
| 95 | + background: rgba(18, 24, 38, 0.8); |
| 96 | + color: #cfe7ff; |
| 97 | + font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; |
| 98 | + font-size: 12px; |
54 | 99 | } |
55 | 100 | #start-btn { |
56 | 101 | appearance: none; |
|
96 | 141 | <div id="start-content"> |
97 | 142 | <button id="start-btn">Start</button> |
98 | 143 | <div id="start-keys"> |
99 | | - Click Start to begin<br /> |
100 | | - Click canvas: play a note • Mouse position affects sound<br /> |
101 | | - Keys: A..F (root) • 1..7 (mode) • R (new seq) • T (random key+mode) • |
102 | | - Space (pause) • ArrowLeft/Right (tempo) • ArrowUp/Down (volume) • |
103 | | - Enter (fullscreen) • Esc (exit) |
| 144 | + <h3>Welcome</h3> |
| 145 | + <ul> |
| 146 | + <li> |
| 147 | + Click <span class="kbd">Start</span>, then click the canvas to |
| 148 | + play a note. Mouse position shapes the sound. |
| 149 | + </li> |
| 150 | + </ul> |
| 151 | + <div class="grid"> |
| 152 | + <div> |
| 153 | + <h3>Keys</h3> |
| 154 | + <ul> |
| 155 | + <li><span class="kbd">A..F</span>: set root note</li> |
| 156 | + <li><span class="kbd">1..7</span>: set mode (see right)</li> |
| 157 | + <li><span class="kbd">R</span>: new sequence</li> |
| 158 | + <li><span class="kbd">T</span>: random root + mode</li> |
| 159 | + <li><span class="kbd">Space</span>: pause/resume</li> |
| 160 | + <li> |
| 161 | + <span class="kbd">Enter</span>/<span class="kbd">Esc</span>: |
| 162 | + full/exit screen |
| 163 | + </li> |
| 164 | + <li> |
| 165 | + <span class="kbd">←/→</span>: tempo • |
| 166 | + <span class="kbd">↑/↓</span>: volume |
| 167 | + </li> |
| 168 | + </ul> |
| 169 | + </div> |
| 170 | + <div> |
| 171 | + <h3>Modes (1..7)</h3> |
| 172 | + <ul> |
| 173 | + <li><span class="kbd">1</span>: Ionian (major)</li> |
| 174 | + <li><span class="kbd">2</span>: Dorian</li> |
| 175 | + <li><span class="kbd">3</span>: Phrygian</li> |
| 176 | + <li><span class="kbd">4</span>: Lydian</li> |
| 177 | + <li><span class="kbd">5</span>: Mixolydian</li> |
| 178 | + <li><span class="kbd">6</span>: Aeolian (natural minor)</li> |
| 179 | + <li><span class="kbd">7</span>: Locrian</li> |
| 180 | + </ul> |
| 181 | + </div> |
| 182 | + </div> |
104 | 183 | </div> |
105 | 184 | </div> |
106 | 185 | </div> |
|
0 commit comments