otros:contacto
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| otros:contacto [2026/05/06 10:40] – jesus | otros:contacto [2026/05/06 17:39] (actual) – jesus | ||
|---|---|---|---|
| Línea 2: | Línea 2: | ||
| < | < | ||
| < | < | ||
| - | .pcw-page-container { background:# | + | .pcw-page-container { background:# |
| | | ||
| - | /* --- HARDWARE MODEM PCWWIKI --- */ | + | /* --- HARDWARE MODEM PCWWIKI |
| .modem-chassis { | .modem-chassis { | ||
| - | background: #1a1a1a; width: 440px; margin: 0 auto 35px; border-radius: | + | background: # |
| + | width: 95%; /* Ancho flexible para móvil */ | ||
| + | max-width: 440px; | ||
| + | | ||
| border: 1.5px solid #333; border-top: 2px solid #444; | border: 1.5px solid #333; border-top: 2px solid #444; | ||
| box-shadow: 0 0 1px rgba(255, | box-shadow: 0 0 1px rgba(255, | ||
| - | display: flex; align-items: | + | display: flex; align-items: |
| + | box-sizing: border-box; /* Evita que el padding rompa el ancho */ | ||
| } | } | ||
| + | | ||
| + | .sch-brand-white { | ||
| + | color: #ffffff; font-family: | ||
| + | font-size: 13px; letter-spacing: | ||
| + | } | ||
| + | |||
| .led-bezel { | .led-bezel { | ||
| - | background: #0a0a0a; padding: | + | background: #0a0a0a; padding: |
| - | display: flex; gap: 12px; box-shadow: inset 0 2px 5px rgba(0, | + | display: flex; gap: 10px; box-shadow: inset 0 2px 5px rgba(0, |
| } | } | ||
| - | .sch-brand-white { color: #ffffff; font-family: | + | |
| - | .m-led { width: | + | .m-led { width: |
| .m-led span { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); | .m-led span { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); | ||
| | | ||
| Línea 23: | Línea 33: | ||
| .led-yellow { background:# | .led-yellow { background:# | ||
| - | .pwr-btn { width: | + | .pwr-btn { |
| + | | ||
| + | | ||
| + | outline: none; flex-shrink: | ||
| + | | ||
| @keyframes pwr-blink { 50% { border-color:# | @keyframes pwr-blink { 50% { border-color:# | ||
| .active-btn { animation: | .active-btn { animation: | ||
| - | .contact-box { border: 2px solid #004400; padding: | + | |
| - | .line-in { margin-bottom: | + | |
| + | | ||
| + | | ||
| + | word-wrap: break-word; /* Para que el texto no se salga en móvil */ | ||
| + | | ||
| + | .line-in { opacity: 0; transform: translateX(-5px); transition: 0.2s; display: inline; line-height: 1.6; font-size: 14px; } | ||
| + | .block-line { display: block; margin-bottom: 12px; } | ||
| .line-visible { opacity: 1 !important; transform: translateX(0) !important; } | .line-visible { opacity: 1 !important; transform: translateX(0) !important; } | ||
| - | .email-link { color: #fff !important; font-size: 1.6em; text-decoration: | + | |
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | } | ||
| + | |||
| + | /* AJUSTE PARA PANTALLAS MUY PEQUEÑAS */ | ||
| + | @media (max-width: 400px) { | ||
| + | .sch-brand-white { font-size: 11px; } | ||
| + | .led-bezel { gap: 6px; padding: 5px 8px; } | ||
| + | .m-led { width: 8px; height: 8px; } | ||
| + | .pwr-btn { width: 35px; } | ||
| + | | ||
| </ | </ | ||
| <div class=" | <div class=" | ||
| <div class=" | <div class=" | ||
| - | <div class=" | + | <div class=" |
| <div class=" | <div class=" | ||
| <div id=" | <div id=" | ||
| Línea 55: | Línea 89: | ||
| const content = [ | const content = [ | ||
| - | {t: " | + | {t: " |
| - | {t: " | + | {t: " |
| - | {t: " | + | {t: " |
| - | {t: " | + | {t: " |
| - | {t: "Si has detectado una anomalía en los datos, posees software que no figura en nuestros registros o quieres aportar documentación histórica para su preservación, | + | {t: " ", s: " |
| - | {t: "<a href=' | + | {t: "Si has detectado una anomalía en los datos, |
| - | {t: "NO CARRIER / SESSION END", s: " | + | {t: "posees software que no figura en nuestros registros |
| + | {t: "o quieres aportar documentación histórica para su preservación, | ||
| + | {t: "el sistema está listo para recibir tu transmisión.", | ||
| + | {t: " ", s: " | ||
| + | {t: "<a href=' | ||
| + | {t: " ", s: " | ||
| + | {t: "NO CARRIER / SESSION END", s: " | ||
| ]; | ]; | ||
| Línea 81: | Línea 121: | ||
| } | } | ||
| - | function | + | function |
| if(abortComm || !aCtx) return; | if(abortComm || !aCtx) return; | ||
| let now = aCtx.currentTime; | let now = aCtx.currentTime; | ||
| let osc = aCtx.createOscillator(); | let osc = aCtx.createOscillator(); | ||
| - | osc.type = ' | + | osc.type = ' |
| - | g.gain.setValueAtTime(gainVal, | + | |
| + | osc.frequency.linearRampToValueAtTime(baseFreq * 1.1, now + dur); | ||
| + | g.gain.setValueAtTime(gainVal, | ||
| + | | ||
| osc.connect(g); | osc.connect(g); | ||
| osc.start(); | osc.start(); | ||
| } | } | ||
| - | async function | + | async function |
| let endTime = Date.now() + duration; | let endTime = Date.now() + duration; | ||
| while(Date.now() < endTime && !abortComm) { | while(Date.now() < endTime && !abortComm) { | ||
| - | | + | |
| - | | + | playModemChirp(0.06, 1200, 0.015); |
| - | let colorClass = isRX ? ' | + | |
| - | | + | |
| - | led.classList.add(colorClass); | + | |
| - | | + | |
| - | await new Promise(r => setTimeout(r, | + | playModemChirp(0.04, |
| - | led.classList.remove(colorClass); | + | |
| - | await new Promise(r => setTimeout(r, | + | document.getElementById(' |
| + | } | ||
| + | await new Promise(r => setTimeout(r, | ||
| } | } | ||
| } | } | ||
| function startConnectionSequence() { | function startConnectionSequence() { | ||
| - | initAudio(); | + | initAudio(); |
| + | | ||
| abortComm = false; | abortComm = false; | ||
| document.getElementById(' | document.getElementById(' | ||
| | | ||
| - | // Dial tone | ||
| let dt1 = aCtx.createOscillator(); | let dt1 = aCtx.createOscillator(); | ||
| dt1.frequency.value = 350; dt2.frequency.value = 440; dg.gain.setValueAtTime(0.015, | dt1.frequency.value = 350; dt2.frequency.value = 440; dg.gain.setValueAtTime(0.015, | ||
| Línea 137: | Línea 182: | ||
| function handlePowerClick() { | function handlePowerClick() { | ||
| const btn = document.getElementById(' | const btn = document.getElementById(' | ||
| - | | ||
| if (isFinished) { | if (isFinished) { | ||
| - | // RESET Y RE-ARRANQUE | ||
| document.getElementById(' | document.getElementById(' | ||
| - | currentLine = 0; | + | currentLine = 0; isFinished = false; |
| - | | + | |
| [' | [' | ||
| startConnectionSequence(); | startConnectionSequence(); | ||
| } else if (isBooting || document.getElementById(' | } else if (isBooting || document.getElementById(' | ||
| - | | + | abortComm = true; isBooting = false; isFinished = false; |
| - | | + | |
| - | | + | |
| - | | + | |
| btn.classList.remove(' | btn.classList.remove(' | ||
| document.getElementById(' | document.getElementById(' | ||
| Línea 156: | Línea 195: | ||
| [' | [' | ||
| } else { | } else { | ||
| - | | + | isBooting = true; btn.classList.add(' |
| - | | + | |
| - | | + | |
| startConnectionSequence(); | startConnectionSequence(); | ||
| } | } | ||
| Línea 167: | Línea 204: | ||
| const out = document.getElementById(' | const out = document.getElementById(' | ||
| const lineData = content[currentLine]; | const lineData = content[currentLine]; | ||
| - | const lineDiv | + | const lineSpan |
| - | | + | |
| - | | + | |
| - | out.appendChild(lineDiv); | + | if(lineData.s === " |
| - | + | else if(lineData.s === " | |
| - | let trafficTime = 300 + (lineData.t.length * 10) + (Math.random() * 800); | + | else lineSpan.innerHTML = lineData.t; |
| - | await simulateTraffic(trafficTime); | + | |
| + | out.appendChild(lineSpan); | ||
| + | let trafficTime = 150 + (lineData.t.length * 12); | ||
| + | await simulatePacket(trafficTime); | ||
| if(!abortComm) { | if(!abortComm) { | ||
| - | | + | |
| currentLine++; | currentLine++; | ||
| - | setTimeout(processTransmission, 200 + Math.random() * 500); | + | |
| + | processTransmission(); | ||
| } | } | ||
| } else if (!abortComm) { | } else if (!abortComm) { | ||
| - | isFinished = true; | + | isFinished = true; isBooting = false; |
| - | | + | |
| document.getElementById(' | document.getElementById(' | ||
| } | } | ||
| Línea 188: | Línea 227: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
otros/contacto.1778064008.txt.gz · Última modificación: por jesus
