diff --git a/docs/index.html b/docs/index.html index 6c4675c..281efac 100644 --- a/docs/index.html +++ b/docs/index.html @@ -143,15 +143,15 @@ .feat p { margin: 0; color: var(--dim); font-size: 15.5px; line-height: 1.6; } /* the sound samples: a white player per sample, a play button that turns into stop */ .samples { margin-top: 72px; } + @media (max-width: 700px) { .samples { padding: 0 16px; } } .smp-h { margin: 0; font-size: 24px; letter-spacing: -.01em; font-weight: 800; } .smp-l { margin: 10px 0 0; color: var(--dim); max-width: 760px; } .smp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; margin-top: 28px; } @media (max-width: 700px) { .smp-grid { grid-template-columns: 1fr; } } - .smp { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; min-width: 0; display: flex; flex-direction: column; } + .smp { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; } .smp-id { display: flex; align-items: baseline; gap: 10px; } .smp-id span { font: 600 13px/1 var(--mono); color: var(--or); } .smp-id b { font-size: 17px; font-weight: 700; } - .smp-d { margin: 8px 0 14px; color: var(--dim); font-size: 15px; line-height: 1.5; } .player { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 10px; padding: 9px 12px; margin-top: auto; } .pbtn { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--or); color: #1a0e05; display: grid; place-items: center; cursor: pointer; padding: 0; } .pbtn:hover { background: var(--or2); } @@ -161,6 +161,10 @@ .pbtn[aria-pressed="true"] .i-stop { display: block; } .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .wave { flex: 1 1 auto; min-width: 0; width: 100%; height: 56px; display: block; } + .smp .player { margin-top: 0; flex: 0 0 auto; gap: 8px; padding: 6px; border-radius: 8px; } + .smp .pbtn { flex: 0 0 30px; width: 30px; height: 30px; } + .smp .pbtn svg { width: 15px; height: 15px; } + .smp .wave { flex: 0 0 auto; width: 96px; height: 30px; } /* screens */ .viewer { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 56px; align-items: center; margin-top: 48px; } @@ -381,7 +385,6 @@
000MINI LEAD
-

@@ -389,7 +392,6 @@
001MOOG BASS
-

@@ -397,7 +399,6 @@
002PLUCK ARP
-

@@ -405,7 +406,6 @@
003PAD SWELL
-

@@ -413,7 +413,6 @@
004SINE SOLO
-

@@ -421,7 +420,6 @@
005SPACE DRONE
-

@@ -429,7 +427,6 @@
006CS-80 BRASS
-

@@ -437,7 +434,6 @@
007LUSH STRINGS
-

@@ -445,7 +441,6 @@
008AURA ATMOS
-

@@ -453,7 +448,6 @@
009UFO
-

@@ -1413,7 +1407,7 @@ const SITE = { h_install: "Instalar", l_install: "O instalador roda aqui mesmo, no navegador: reconhece se o aparelho é um FM-1 ou um SMK-37 e grava o firmware certo pelo cabo USB.", try_fm1: "emulador", try_smk: "emulador", nav_man: "Manual", - smp_h: "Amostras dos primeiros presets", smp_l: "Dez amostras de 10 segundos, gravadas pelo próprio firmware, cada uma com uma linha que mostra o timbre. Toque para ouvir; toque de novo para parar.", smp_play: "Tocar", smp_stop: "Parar", smp0: "Lead monofônico com portamento: uma frase curta, com o deslizamento entre as notas.", smp1: "Baixo grave e cheio: uma linha de oito notas, com a fundamental bem marcada.", smp2: "Arpejador: um acorde menor segurado, que o arpejador toca em ordem; depois, outro acorde.", smp3: "Pad que abre devagar: quatro acordes que se sobrepõem, com ataque lento.", smp4: "Lead suave, quase senoidal: notas longas e uma melodia cantada.", smp5: "Drone: notas graves que se movem devagar, sem fim.", smp6: "Metais polifônicos: acordes curtos e marcados, à maneira dos metais analógicos.", smp7: "Cordas ricas: uma progressão lenta, com as vozes ligadas.", smp8: "Atmosfera: um cluster de notas que se transforma aos poucos.", smp9: "Efeito: varreduras de notas para cima e para baixo, com o delay e a reverberação do preset.", + smp_h: "Amostras dos primeiros presets", smp_l: "Dez amostras de 10 segundos, gravadas pelo próprio firmware, cada uma com uma linha que mostra o timbre. Toque para ouvir; toque de novo para parar.", smp_play: "Tocar", smp_stop: "Parar", }, en: { nav_f: "Sound", nav_s: "Screens", nav_ft: "Features", nav_ed: "Editor", nav_i: "Install", @@ -1460,7 +1454,7 @@ const SITE = { h_install: "Install", l_install: "The installer runs right here, in the browser: it recognises whether the device is an FM-1 or an SMK-37 and writes the right firmware over the USB cable.", try_fm1: "emulator", try_smk: "emulator", nav_man: "Manual", - smp_h: "Samples of the first presets", smp_l: "Ten 10-second samples, rendered by the firmware itself, each with a short line that shows the sound. Press to listen; press again to stop.", smp_play: "Play", smp_stop: "Stop", smp0: "Monophonic lead with glide: a short phrase, the notes slide into each other.", smp1: "Deep, full bass: an eight-note line with a strong fundamental.", smp2: "Arpeggiator: a held minor chord, played in order by the arpeggiator; then another chord.", smp3: "A slow-opening pad: four overlapping chords with a slow attack.", smp4: "A soft lead, almost a sine wave: long notes and a singing melody.", smp5: "Drone: low notes that move slowly, with no end.", smp6: "Polyphonic brass: short, punchy chords, like analogue brass.", smp7: "Rich strings: a slow progression with the voices kept together.", smp8: "Atmosphere: a cluster of notes that slowly changes.", smp9: "Effect: sweeps of notes up and down, with the preset's delay and reverb.", + smp_h: "Samples of the first presets", smp_l: "Ten 10-second samples, rendered by the firmware itself, each with a short line that shows the sound. Press to listen; press again to stop.", smp_play: "Play", smp_stop: "Stop", }, }; for (const l in SITE) Object.assign(TEXT[l], SITE[l]); diff --git a/web/site_fmini.html b/web/site_fmini.html index 63e9638..23127d2 100644 --- a/web/site_fmini.html +++ b/web/site_fmini.html @@ -143,15 +143,15 @@ .feat p { margin: 0; color: var(--dim); font-size: 15.5px; line-height: 1.6; } /* the sound samples: a white player per sample, a play button that turns into stop */ .samples { margin-top: 72px; } + @media (max-width: 700px) { .samples { padding: 0 16px; } } .smp-h { margin: 0; font-size: 24px; letter-spacing: -.01em; font-weight: 800; } .smp-l { margin: 10px 0 0; color: var(--dim); max-width: 760px; } .smp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; margin-top: 28px; } @media (max-width: 700px) { .smp-grid { grid-template-columns: 1fr; } } - .smp { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; min-width: 0; display: flex; flex-direction: column; } + .smp { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; } .smp-id { display: flex; align-items: baseline; gap: 10px; } .smp-id span { font: 600 13px/1 var(--mono); color: var(--or); } .smp-id b { font-size: 17px; font-weight: 700; } - .smp-d { margin: 8px 0 14px; color: var(--dim); font-size: 15px; line-height: 1.5; } .player { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 10px; padding: 9px 12px; margin-top: auto; } .pbtn { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--or); color: #1a0e05; display: grid; place-items: center; cursor: pointer; padding: 0; } .pbtn:hover { background: var(--or2); } @@ -161,6 +161,10 @@ .pbtn[aria-pressed="true"] .i-stop { display: block; } .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .wave { flex: 1 1 auto; min-width: 0; width: 100%; height: 56px; display: block; } + .smp .player { margin-top: 0; flex: 0 0 auto; gap: 8px; padding: 6px; border-radius: 8px; } + .smp .pbtn { flex: 0 0 30px; width: 30px; height: 30px; } + .smp .pbtn svg { width: 15px; height: 15px; } + .smp .wave { flex: 0 0 auto; width: 96px; height: 30px; } /* screens */ .viewer { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 56px; align-items: center; margin-top: 48px; } @@ -381,7 +385,6 @@
000MINI LEAD
-

@@ -389,7 +392,6 @@
001MOOG BASS
-

@@ -397,7 +399,6 @@
002PLUCK ARP
-

@@ -405,7 +406,6 @@
003PAD SWELL
-

@@ -413,7 +413,6 @@
004SINE SOLO
-

@@ -421,7 +420,6 @@
005SPACE DRONE
-

@@ -429,7 +427,6 @@
006CS-80 BRASS
-

@@ -437,7 +434,6 @@
007LUSH STRINGS
-

@@ -445,7 +441,6 @@
008AURA ATMOS
-

@@ -453,7 +448,6 @@
009UFO
-

@@ -685,7 +679,7 @@ const SITE = { h_install: "Instalar", l_install: "O instalador roda aqui mesmo, no navegador: reconhece se o aparelho é um FM-1 ou um SMK-37 e grava o firmware certo pelo cabo USB.", try_fm1: "emulador", try_smk: "emulador", nav_man: "Manual", - smp_h: "Amostras dos primeiros presets", smp_l: "Dez amostras de 10 segundos, gravadas pelo próprio firmware, cada uma com uma linha que mostra o timbre. Toque para ouvir; toque de novo para parar.", smp_play: "Tocar", smp_stop: "Parar", smp0: "Lead monofônico com portamento: uma frase curta, com o deslizamento entre as notas.", smp1: "Baixo grave e cheio: uma linha de oito notas, com a fundamental bem marcada.", smp2: "Arpejador: um acorde menor segurado, que o arpejador toca em ordem; depois, outro acorde.", smp3: "Pad que abre devagar: quatro acordes que se sobrepõem, com ataque lento.", smp4: "Lead suave, quase senoidal: notas longas e uma melodia cantada.", smp5: "Drone: notas graves que se movem devagar, sem fim.", smp6: "Metais polifônicos: acordes curtos e marcados, à maneira dos metais analógicos.", smp7: "Cordas ricas: uma progressão lenta, com as vozes ligadas.", smp8: "Atmosfera: um cluster de notas que se transforma aos poucos.", smp9: "Efeito: varreduras de notas para cima e para baixo, com o delay e a reverberação do preset.", + smp_h: "Amostras dos primeiros presets", smp_l: "Dez amostras de 10 segundos, gravadas pelo próprio firmware, cada uma com uma linha que mostra o timbre. Toque para ouvir; toque de novo para parar.", smp_play: "Tocar", smp_stop: "Parar", }, en: { nav_f: "Sound", nav_s: "Screens", nav_ft: "Features", nav_ed: "Editor", nav_i: "Install", @@ -732,7 +726,7 @@ const SITE = { h_install: "Install", l_install: "The installer runs right here, in the browser: it recognises whether the device is an FM-1 or an SMK-37 and writes the right firmware over the USB cable.", try_fm1: "emulator", try_smk: "emulator", nav_man: "Manual", - smp_h: "Samples of the first presets", smp_l: "Ten 10-second samples, rendered by the firmware itself, each with a short line that shows the sound. Press to listen; press again to stop.", smp_play: "Play", smp_stop: "Stop", smp0: "Monophonic lead with glide: a short phrase, the notes slide into each other.", smp1: "Deep, full bass: an eight-note line with a strong fundamental.", smp2: "Arpeggiator: a held minor chord, played in order by the arpeggiator; then another chord.", smp3: "A slow-opening pad: four overlapping chords with a slow attack.", smp4: "A soft lead, almost a sine wave: long notes and a singing melody.", smp5: "Drone: low notes that move slowly, with no end.", smp6: "Polyphonic brass: short, punchy chords, like analogue brass.", smp7: "Rich strings: a slow progression with the voices kept together.", smp8: "Atmosphere: a cluster of notes that slowly changes.", smp9: "Effect: sweeps of notes up and down, with the preset's delay and reverb.", + smp_h: "Samples of the first presets", smp_l: "Ten 10-second samples, rendered by the firmware itself, each with a short line that shows the sound. Press to listen; press again to stop.", smp_play: "Play", smp_stop: "Stop", }, }; for (const l in SITE) Object.assign(TEXT[l], SITE[l]);