diff --git a/world/index.html b/world/index.html index c708fe8..460d09a 100644 --- a/world/index.html +++ b/world/index.html @@ -19,8 +19,57 @@ color: #6a6050; } .placeholder h1 { font-size: 1.2rem; font-weight: normal; margin-bottom: 1rem; } - .placeholder p { font-size: 0.85rem; } + .placeholder p { font-size: 0.85rem; margin-bottom: 0.5rem; } .placeholder a { color: #8a7f6a; } + + /* Connection status HUD */ + #status-hud { + position: fixed; + top: 12px; + right: 12px; + background: rgba(10, 10, 15, 0.85); + border: 1px solid #2a2520; + border-radius: 6px; + padding: 8px 14px; + font-family: 'Courier New', monospace; + font-size: 0.75rem; + color: #6a6050; + z-index: 100; + min-width: 180px; + } + #status-hud .status-line { + display: flex; + align-items: center; + gap: 6px; + margin-bottom: 4px; + } + #status-hud .status-line:last-child { margin-bottom: 0; } + #status-hud .dot { + width: 8px; + height: 8px; + border-radius: 50%; + flex-shrink: 0; + } + #status-hud .dot.connecting { background: #b8860b; animation: pulse 1.2s ease-in-out infinite; } + #status-hud .dot.online { background: #4a9; } + #status-hud .dot.offline { background: #a44; } + @keyframes pulse { + 0%, 100% { opacity: 1; } + 50% { opacity: 0.3; } + } + #retry-btn { + display: none; + margin-top: 6px; + padding: 3px 10px; + background: #2a2520; + border: 1px solid #4a4030; + border-radius: 3px; + color: #8a7f6a; + font-family: 'Courier New', monospace; + font-size: 0.7rem; + cursor: pointer; + } + #retry-btn:hover { background: #3a3530; color: #c0b8a8; }
@@ -31,6 +80,16 @@ + +