Update web/diagnosis.html
Browse files1518 unmodified lines15191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641518 unmodified lines});});})();</script<script>(function() {// Overlay de transición entre páginasconst pageOverlay = document.createElement('div');pageOverlay.style.cssText = ['position:fixed','inset:0','z-index:999999','pointer-events:none','opacity:0','transition:opacity 0.3s ease','background:' + (localStorage.getItem('theme') === 'dark' ? '#1a1a2e' : '#fff')].join(';');document.body.appendChild(pageOverlay);// Fade in al cargar la páginadocument.addEventListener('DOMContentLoaded', function() {setTimeout(function() {pageOverlay.style.opacity = '0';}, 50);});// Fade out al salirdocument.addEventListener('click', function(e) {const link = e.target.closest('a');if (!link) return;const href = link.getAttribute('href');if (!href || href === '#' || href.startsWith('javascript') || href.startsWith('mailto')) return;if (link.target === '_blank') return;if (e.ctrlKey || e.metaKey || e.shiftKey) return;e.preventDefault();pageOverlay.style.background = localStorage.getItem('theme') === 'dark' ? '#1a1a2e' : '#fff';pageOverlay.style.opacity = '1';setTimeout(function() {window.location.href = href;}, 300);});// Mostrar overlay inmediatamente al cargar para hacer fade inpageOverlay.style.opacity = '1';})();</script></body></html>1518 unmodified lines15191520152115221523152415251518 unmodified lines});});})();</script></body></html>
web/diagnosis.html+1-40