/
Cooolprogrammers
/
web-nodejs-labs
Обзор
Документация
Войти
/
Cooolprogrammers
/
web-nodejs-labs
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
public/lab8/task3/style.css
529 строк
11 KB
darkvoid6@mail.ru
ЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫ
18 дек 2025, 07:59
18 дек 2025, 07:59
f2c4f06
Код
Авторство
О чём код?
:root { --primary-color: #00ff9d; /* Неоновый зелёный */ --primary-dark: #00cc7a; --secondary-color: #00e6ff; /* Голубой акцент */ --bg-body: #0a0a0f; /* Глубокий космический чёрный */ --bg-surface: #121218; /* Тёмная поверхность */ --text-main: #e0e0ff; /* Светлый текст */ --text-muted: #8a8aa3; /* Приглушённый текст */ --border-color: #2a2a3a; /* Границы */ /* Result Colors */ --color-win1: #00ff9d; /* Зелёный победа 1 */ --color-win2: #ff3d71; /* Розовый победа 2 */ --color-draw: #8a8aa3; /* Серый ничья */ --shadow-sm: 0 1px 3px rgba(0, 255, 157, 0.1); --shadow-md: 0 4px 6px rgba(0, 255, 157, 0.15); --shadow-lg: 0 10px 15px rgba(0, 255, 157, 0.2); --shadow-glow: 0 0 20px rgba(0, 255, 157, 0.3); --radius-md: 6px; --radius-lg: 10px; } @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Exo+2:wght@300;400;600&display=swap'); * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Exo 2', system-ui, sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; -webkit-font-smoothing: antialiased; background-image: radial-gradient(circle at 20% 30%, rgba(0, 255, 157, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(0, 255, 157, 0.03) 0%, transparent 50%); } .container { max-width: 1280px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-body); } /* HEADER - технологичный */ .header { background: linear-gradient(135deg, #0a0a0f 0%, #1a1a24 100%); color: #00ff9d; padding: 40px 30px; text-align: center; border-bottom: 1px solid var(--border-color); position: relative; overflow: hidden; } .header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #00ff9d, transparent); } .header::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #00ff9d, transparent); } .header h1 { font-family: 'Orbitron', sans-serif; font-size: 2.5em; font-weight: 700; margin-bottom: 8px; color: #00ff9d; text-shadow: 0 0 15px rgba(0, 255, 157, 0.5); letter-spacing: 1px; } .header p { opacity: 0.9; font-size: 1.1em; color: #8a8aa3; } .main-content { flex: 1; padding: 40px 30px; width: 100%; max-width: 1200px; margin: 0 auto; } /* CONTROL PANEL */ .control-panel { background: var(--bg-surface); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); border-top: 3px solid var(--primary-color); position: relative; overflow: hidden; } .control-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); } .panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); } .panel-header h2 { font-family: 'Orbitron', sans-serif; font-size: 1.5em; color: var(--text-main); font-weight: 700; letter-spacing: -0.025em; } .file-info { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 0.95em; background: rgba(0, 255, 157, 0.05); padding: 8px 15px; border-radius: var(--radius-md); border: 1px solid var(--border-color); } .file-badge { background: var(--primary-color); color: #0a0a0f; padding: 4px 12px; border-radius: 999px; font-size: 0.75em; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-family: 'Orbitron', sans-serif; } .panel-actions { display: flex; gap: 16px; margin-bottom: 25px; } /* КНОПКИ - неоновые */ .btn { padding: 12px 28px; border: none; border-radius: var(--radius-md); font-size: 0.95em; font-weight: 600; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-family: 'Orbitron', sans-serif; display: flex; align-items: center; gap: 10px; letter-spacing: 0.5px; } .btn-primary { background: var(--primary-color); color: #0a0a0f; border: 1px solid transparent; box-shadow: var(--shadow-glow); } .btn-primary:hover { background: #00e68a; transform: translateY(-2px); box-shadow: 0 0 25px rgba(0, 255, 157, 0.5); } .btn-icon { font-size: 1.2em; } .panel-description { background: rgba(0, 255, 157, 0.05); padding: 20px; border-radius: var(--radius-md); border: 1px dashed var(--border-color); } .panel-description p { color: var(--text-muted); font-size: 0.95em; margin: 0; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; } /* ЛЕГЕНДА */ .legend-draw, .legend-win1, .legend-win2 { display: flex; align-items: center; gap: 8px; font-size: 0.9em; font-weight: 500; background: rgba(0, 255, 157, 0.05); padding: 6px 15px; border-radius: var(--radius-md); border: 1px solid var(--border-color); } .legend-draw::before { content: "⬤"; color: var(--color-draw); font-size: 1em; } .legend-win1::before { content: "⬤"; color: var(--color-win1); font-size: 1em; } .legend-win2::before { content: "⬤"; color: var(--color-win2); font-size: 1em; } /* TABLE SECTION */ .table-section { background: var(--bg-surface); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); position: relative; overflow: hidden; } .table-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--color-win1), var(--color-win2)); } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px solid var(--border-color); } .section-header h2 { font-family: 'Orbitron', sans-serif; font-size: 1.25em; font-weight: 700; color: var(--text-main); } .section-badge { background: rgba(0, 255, 157, 0.1); color: var(--primary-color); padding: 6px 15px; border-radius: 999px; font-size: 0.85em; font-weight: 700; border: 1px solid var(--primary-color); font-family: 'Orbitron', sans-serif; } /* RESULTS TABLE */ .table-container { max-height: 600px; overflow-y: auto; border: 1px solid var(--border-color); border-radius: var(--radius-md); } /* Custom Scrollbar */ .table-container::-webkit-scrollbar { width: 8px; } .table-container::-webkit-scrollbar-track { background: var(--bg-surface); } .table-container::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 4px; } .results-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.95em; } .results-table th { background: rgba(0, 255, 157, 0.1); color: var(--text-muted); padding: 16px 15px; text-align: left; font-weight: 600; text-transform: uppercase; font-size: 0.75em; letter-spacing: 0.05em; border-bottom: 2px solid var(--primary-color); position: sticky; top: 0; z-index: 10; font-family: 'Orbitron', sans-serif; } .results-table td { padding: 16px 15px; border-bottom: 1px solid var(--border-color); vertical-align: middle; background: var(--bg-surface); transition: all 0.3s ease; } /* РЕЗУЛЬТАТЫ */ .results-table tbody tr.draw td:first-child { border-left: 4px solid var(--color-draw); } .results-table tbody tr.draw:hover td { background: rgba(138, 138, 163, 0.1) !important; } .results-table tbody tr.win1 td:first-child { border-left: 4px solid var(--color-win1); } .results-table tbody tr.win1:hover td { background: rgba(0, 255, 157, 0.1) !important; } .results-table tbody tr.win2 td:first-child { border-left: 4px solid var(--color-win2); } .results-table tbody tr.win2:hover td { background: rgba(255, 61, 113, 0.1) !important; } .results-table tbody tr:last-child td { border-bottom: none; } /* ЯЧЕЙКИ */ .group-cell { font-family: 'Orbitron', sans-serif; font-weight: 700; color: var(--primary-color); text-align: center; background: rgba(0, 255, 157, 0.1); border-radius: var(--radius-md); padding: 6px 12px; display: inline-block; font-size: 0.85em; border: 1px solid rgba(0, 255, 157, 0.2); } .date-cell { font-weight: 600; color: var(--text-main); display: block; } .time-cell { color: var(--text-muted); font-size: 0.85em; margin-top: 2px; display: block; } .teams-cell { font-weight: 600; color: var(--text-main); font-size: 1.05em; } .score-cell { font-family: 'Orbitron', sans-serif; font-weight: 700; text-align: center; background: var(--primary-color); color: #0a0a0f; padding: 8px 15px; border-radius: var(--radius-md); display: inline-block; min-width: 60px; letter-spacing: 1px; box-shadow: var(--shadow-sm); } .stadium-cell { color: var(--text-muted); font-size: 0.9em; } /* EMPTY STATES */ .empty-table { text-align: center; padding: 60px 20px; color: var(--text-muted); background: var(--bg-surface); } .empty-icon { font-size: 4em; margin-bottom: 20px; color: var(--border-color); } .empty-table p { margin-bottom: 10px; font-size: 1.1em; font-weight: 600; color: var(--text-main); } /* FOOTER */ .footer { background: var(--bg-surface); color: var(--text-muted); padding: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 0.9em; border-top: 1px solid var(--border-color); margin-top: auto; } .back-link { color: var(--primary-color); text-decoration: none; font-weight: 600; transition: all 0.3s ease; font-family: 'Orbitron', sans-serif; } .back-link:hover { color: var(--secondary-color); text-shadow: 0 0 10px rgba(0, 255, 157, 0.5); } /* RESPONSIVENESS */ @media (max-width: 968px) { .main-content { padding: 20px; } .panel-header { flex-direction: column; align-items: flex-start; gap: 15px; } .panel-description p { gap: 10px; } } @media (max-width: 768px) { .header { padding: 30px 20px; } .header h1 { font-size: 1.8em; } .footer { flex-direction: column; gap: 15px; text-align: center; } .results-table th, .results-table td { padding: 12px 10px; font-size: 0.85em; } .score-cell { padding: 6px 10px; min-width: 50px; } }