/
dayekb
/
vibecoding_fallout_hacking
Обзор
Документация
Войти
/
dayekb
/
vibecoding_fallout_hacking
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
style.css
267 строк
5 KB
dayekb
upload files
07 сен 2025, 08:21
07 сен 2025, 08:21
feb8e1c
Код
Авторство
О чём код?
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap'); * { margin: 0; padding: 0; box-sizing: border-box; } body { background: #000; color: #00ff00; font-family: 'Orbitron', 'Courier New', monospace; overflow: hidden; height: 100vh; display: flex; justify-content: center; align-items: center; } .terminal-container { width: 90vw; max-width: 1200px; height: 90vh; background: #000; border: 2px solid #00ff00; border-radius: 10px; box-shadow: 0 0 20px #00ff00, inset 0 0 20px rgba(0, 255, 0, 0.1); position: relative; overflow: hidden; } .terminal-header { background: linear-gradient(90deg, #001100, #003300, #001100); padding: 10px 20px; border-bottom: 2px solid #00ff00; text-align: center; } .terminal-title { font-size: 1.5em; font-weight: 900; color: #00ff00; text-shadow: 0 0 10px #00ff00; letter-spacing: 2px; } .terminal-subtitle { font-size: 0.8em; color: #00aa00; letter-spacing: 1px; margin-top: 5px; } .terminal-screen { height: calc(100% - 120px); padding: 20px; overflow-y: auto; position: relative; } .terminal-content { height: 100%; display: flex; flex-direction: column; } .system-info { margin-bottom: 20px; } .info-line { font-size: 0.9em; margin-bottom: 5px; color: #00aa00; text-shadow: 0 0 5px #00aa00; } .hacking-area { flex: 1; font-size: 1.1em; line-height: 1.4; color: #00ff00; text-shadow: 0 0 3px #00ff00; position: relative; overflow: hidden; display: flex; gap: 10px; width: 100%; } .hacking-column { flex: 1 1 50%; display: flex; flex-direction: column; text-align: justify; min-width: 0; width: 50%; } .hacking-line { margin-bottom: 2px; white-space: nowrap; overflow: hidden; font-family: 'Courier New', monospace; letter-spacing: 0.1em; width: 100%; } .password-word { color: #00ff00; cursor: pointer; padding: 2px 4px; border-radius: 3px; transition: all 0.2s; text-shadow: 0 0 5px #00ff00; position: relative; display: inline-block; } .password-word:hover { background: rgba(0, 255, 0, 0.2); box-shadow: 0 0 10px #00ff00; transform: scale(1.05); } .password-word.selected { background: rgba(0, 255, 0, 0.2); color: #00ff00; text-shadow: 0 0 8px #00ff00; } .password-word.correct { background: rgba(0, 255, 0, 0.3); color: #00ff00; text-shadow: 0 0 10px #00ff00; } .password-word.incorrect { background: rgba(0, 255, 0, 0.1); color: #00aa00; text-shadow: 0 0 3px #00aa00; } .separator { color: #00ff00; pointer-events: none; user-select: none; } .bracket { color: #00ff00; cursor: pointer; padding: 1px 2px; transition: all 0.2s; text-shadow: 0 0 3px #00ff00; } .bracket:hover { background: rgba(0, 255, 0, 0.2); box-shadow: 0 0 8px #00ff00; transform: scale(1.1); } .bracket.used { color: #00aa00; cursor: default; text-shadow: 0 0 2px #00aa00; } .terminal-footer { margin-top: 20px; } .game-controls { position: absolute; bottom: 10px; left: 20px; right: 20px; display: flex; gap: 10px; align-items: center; } .terminal-btn { background: #001100; color: #00ff00; border: 1px solid #00ff00; padding: 8px 16px; font-family: 'Orbitron', monospace; font-size: 0.8em; cursor: pointer; transition: all 0.2s; text-shadow: 0 0 5px #00ff00; box-shadow: 0 0 5px rgba(0, 255, 0, 0.3); } .terminal-btn:hover { background: #003300; box-shadow: 0 0 10px #00ff00; transform: translateY(-1px); } .difficulty-selector { display: flex; gap: 5px; margin-left: 20px; } .diff-btn { background: #001100; color: #00ff00; border: 1px solid #00ff00; padding: 4px 8px; font-family: 'Orbitron', monospace; font-size: 0.7em; cursor: pointer; transition: all 0.2s; } .diff-btn:hover { background: #003300; box-shadow: 0 0 5px #00ff00; } .diff-btn.active { background: #00ff00; color: #000; box-shadow: 0 0 10px #00ff00; } @keyframes pulse { 0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } } /* Эффект мерцания терминала - убран для стабильности */ /* Скроллбар в стиле терминала */ .hacking-area::-webkit-scrollbar { width: 8px; } .hacking-area::-webkit-scrollbar-track { background: #001100; } .hacking-area::-webkit-scrollbar-thumb { background: #00ff00; border-radius: 4px; } .hacking-area::-webkit-scrollbar-thumb:hover { background: #00aa00; } /* Анимация печати */ .typing { animation: typing 0.1s steps(1) infinite; } @keyframes typing { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0.7; } }