/
aska
/
web-nodejs-labs
Обзор
Документация
Войти
/
aska
/
web-nodejs-labs
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
public/lab8/task3/styles.css
207 строк
4 KB
migunova
22.01
22 янв 2026, 03:24
22 янв 2026, 03:24
ad7d868
Код
Авторство
О чём код?
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.6; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #1a202c; padding: 20px; min-height: 100vh; } .main { max-width: 1200px; margin: 0 auto; background: rgba(255, 255, 255, 0.95); border-radius: 16px; padding: 30px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); backdrop-filter: blur(10px); } .control-section, .results-section { background: white; padding: 30px; margin-bottom: 25px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); } .control-section h2, .results-section h2 { margin-bottom: 20px; font-weight: 700; color: #2d3748; font-size: 1.5rem; position: relative; padding-bottom: 10px; } .control-section h2::after, .results-section h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background: linear-gradient(to right, #667eea, #764ba2); border-radius: 2px; } .control-buttons { display: flex; gap: 15px; flex-wrap: wrap; } .control-btn { padding: 14px 28px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; border-radius: 8px; cursor: pointer; font-size: 16px; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); position: relative; overflow: hidden; } .control-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4); } .control-btn:active { transform: translateY(0); } .table-container { overflow-x: auto; border-radius: 8px; border: 1px solid #e2e8f0; background: white; } .matches-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 0; } .matches-table th { background: linear-gradient(135deg, #f6f8fc 0%, #edf0f7 100%); font-weight: 700; text-align: left; padding: 18px 20px; border-bottom: 2px solid #e2e8f0; color: #4a5568; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; } .matches-table td { padding: 16px 20px; border-bottom: 1px solid #edf2f7; transition: background-color 0.2s ease; } .matches-table tbody tr:hover td { background-color: #f7fafc; } .text-center { text-align: center; } .matches-table tr { opacity: 0; animation: fadeInUp 0.4s ease forwards; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .winner-first { background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%); border-left: 4px solid #3b82f6; } .winner-second { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); border-left: 4px solid #0ea5e9; } .draw { background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border-left: 4px solid #94a3b8; } @media (max-width: 768px) { body { padding: 10px; background: #667eea; } .main { padding: 20px; border-radius: 12px; } .control-section, .results-section { padding: 20px; } .control-buttons { flex-direction: column; } .control-btn { width: 100%; } .matches-table { font-size: 14px; } .matches-table th, .matches-table td { padding: 12px 15px; } } @media (max-width: 480px) { .main { padding: 15px; } .control-section, .results-section { padding: 15px; } .control-section h2, .results-section h2 { font-size: 1.3rem; } }