/
MashkoA
/
web-nodejs
Обзор
Документация
Войти
/
MashkoA
/
web-nodejs
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
public/lab8/task3/styles.css
205 строк
4 KB
vSUS1w8OErscaPzljeOMKk86GKFCBmeQUlgjKJCmRenysib5Ll
8 lab
17 апр 2026, 08:17
17 апр 2026, 08:17
3aa355e
Код
Авторство
О чём код?
* { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; box-sizing: border-box; } body { background-color: #141526; color: white; min-height: 100vh; padding: 2em 1em; display: flex; flex-direction: column; align-items: center; } h1 { text-align: center; margin-bottom: 1em; color: #e4ebff; font-size: clamp(1.5rem, 3vw, 2.2rem); text-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.3); } h2 { text-align: center; margin-bottom: 1em; color: #e4ebff; font-size: 1.5em; } .main-container { display: flex; flex-direction: column; gap: 2em; max-width: 87.5rem; width: 100%; } .control-panel { display: flex; justify-content: center; gap: 1em; flex-wrap: wrap; } .btn { padding: 0.75em 1.5em; border: none; border-radius: 0.9375em; font-size: 1em; font-weight: 600; cursor: pointer; transition: all 0.3s ease; min-width: 8.75rem; } .btn-process { background: #45a049; color: white; box-shadow: 0 0.25em 0.625em rgba(76, 175, 80, 0.4); } .btn-process:hover { background: #4cae4c; transform: translateY(-0.125em); box-shadow: 0 0.375em 0.75em rgba(76, 175, 80, 0.6); } .btn-load { background: #2d8be9; color: white; box-shadow: 0 0.25em 0.625em rgba(33, 150, 243, 0.4); } .btn-load:hover { background: #1e88e5; transform: translateY(-0.125em); box-shadow: 0 0.375em 0.75em rgba(33, 150, 243, 0.6); } .legend { display: flex; justify-content: center; gap: 2em; flex-wrap: wrap; } .legend-item { display: flex; align-items: center; gap: 0.5em; color: #e4ebff; } .color-box { width: 1.5em; height: 1.5em; border-radius: 0.25em; border: 2px solid #7c85d6; } .color-box.draw { background-color: #ffeb3b; } .color-box.team1-win { background-color: #4caf50; } .color-box.team2-win { background-color: #2196f3; } .content-container { background: #4965c8; border-radius: 1.25em; padding: 2em; box-shadow: 0 0.5em 1.5625em rgba(0, 0, 0, 0.3); border: 0.125em solid #7c85d6; text-align: center; } .table-container { max-height: 70vh; overflow-y: auto; border-radius: 0.9375em; background-color: rgba(43, 53, 103, 0.85); } .matches-table { width: 100%; border-collapse: collapse; background-color: rgba(43, 53, 103, 0.85); border-radius: 0.9375em; overflow: hidden; font-size: 0.9em; } .matches-table th, .matches-table td { padding: 0.75em 1em; text-align: left; border-bottom: 0.0625em solid #7c85d6; } .matches-table th { background-color: #2b3567; color: #e4ebff; font-weight: 600; position: sticky; top: 0; z-index: 10; } .matches-table td { color: white; background-color: rgba(43, 53, 103, 0.6); } /* Стили для разных результатов матчей - ИСПРАВЛЕННЫЕ СЕЛЕКТОРЫ */ .match-row.draw { background-color: rgb(255, 230, 2); } .match-row.team1-win { background-color: rgb(57, 206, 62); } .match-row.team2-win { background-color: rgb(0, 140, 255); } .no-data { text-align: center; color: #c0d1ff; font-style: italic; padding: 2em; } .error { color: #ff6b6b; background-color: rgba(255, 107, 107, 0.1); border: 0.0625em solid #ff6b6b; border-radius: 0.625em; padding: 1em; text-align: center; font-weight: 500; margin-bottom: 1em; } .success { color: #4caf50; background-color: rgba(76, 175, 80, 0.1); border: 1px solid #4caf50; border-radius: 0.625em; padding: 1em; text-align: center; font-weight: 500; margin-bottom: 1em; } .hidden { display: none; }