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:56] – 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 { |
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| @keyframes pwr-blink { 50% { border-color:# | @keyframes pwr-blink { 50% { border-color:# | ||
| .active-btn { animation: | .active-btn { animation: | ||
| /* --- TERMINAL --- */ | /* --- TERMINAL --- */ | ||
| - | .contact-box { border: 2px solid #004400; padding: | + | .contact-box { |
| - | .line-in { opacity: 0; transform: translateX(-5px); | + | |
| + | | ||
| + | word-wrap: break-word; /* Para que el texto no se salga en móvil */ | ||
| + | | ||
| + | .line-in { opacity: 0; transform: translateX(-5px); | ||
| .block-line { display: block; margin-bottom: | .block-line { display: block; margin-bottom: | ||
| .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 76: | Línea 108: | ||
| function playDTMF(digit, | function playDTMF(digit, | ||
| if(abortComm) return; | if(abortComm) return; | ||
| - | const freqs = { ' | + | const freqs = { |
| - | const f = freqs[digit] || [1209, 697]; | + | |
| + | | ||
| + | | ||
| + | const f = freqs[digit] || [0,0]; | ||
| f.forEach(hz => { | f.forEach(hz => { | ||
| let o = aCtx.createOscillator(); | let o = aCtx.createOscillator(); | ||
| Línea 86: | 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(); | ||
| Línea 100: | Línea 138: | ||
| while(Date.now() < endTime && !abortComm) { | while(Date.now() < endTime && !abortComm) { | ||
| document.getElementById(' | document.getElementById(' | ||
| - | | + | |
| - | await new Promise(r => setTimeout(r, | + | await new Promise(r => setTimeout(r, |
| document.getElementById(' | document.getElementById(' | ||
| - | if(Math.random() > 0.6) { | + | if(Math.random() > 0.65) { |
| | | ||
| - | playDataChirp(0.03, 500 + Math.random() * 300, 0.01); | + | playModemChirp(0.04, 2400, 0.012); |
| - | await new Promise(r => setTimeout(r, | + | await new Promise(r => setTimeout(r, |
| | | ||
| } | } | ||
| - | await new Promise(r => setTimeout(r, | + | await new Promise(r => setTimeout(r, |
| } | } | ||
| } | } | ||
| function startConnectionSequence() { | function startConnectionSequence() { | ||
| - | initAudio(); | + | initAudio(); |
| + | | ||
| abortComm = false; | abortComm = false; | ||
| document.getElementById(' | document.getElementById(' | ||
| + | | ||
| 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 122: | Línea 162: | ||
| dt1.connect(dg); | dt1.connect(dg); | ||
| dt1.start(now); | dt1.start(now); | ||
| + | |||
| " | " | ||
| + | |||
| let car = aCtx.createOscillator(); | let car = aCtx.createOscillator(); | ||
| car.frequency.value = 2100; cg.gain.setValueAtTime(0, | car.frequency.value = 2100; cg.gain.setValueAtTime(0, | ||
| Línea 129: | Línea 171: | ||
| car.connect(cg); | car.connect(cg); | ||
| car.start(now + 3); car.stop(now + 5.5); | car.start(now + 3); car.stop(now + 5.5); | ||
| + | |||
| setTimeout(() => { | setTimeout(() => { | ||
| if(abortComm) return; | if(abortComm) return; | ||
| Línea 169: | Línea 212: | ||
| | | ||
| out.appendChild(lineSpan); | out.appendChild(lineSpan); | ||
| - | let trafficTime = 150 + (lineData.t.length * 10); | + | let trafficTime = 150 + (lineData.t.length * 12); |
| await simulatePacket(trafficTime); | await simulatePacket(trafficTime); | ||
| if(!abortComm) { | if(!abortComm) { | ||
| Línea 184: | Línea 227: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
otros/contacto.1778064978.txt.gz · Última modificación: por jesus
