/
tmtm
/
practice_f
Обзор
Документация
Войти
/
tmtm
/
practice_f
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
site/css/style.css
419 строк
7 KB
Тихон Щербинин
ФИНАЛЬНЫЙ КОММИТ - ГОТОВАЯ РАБОТА
25 май 2026, 20:14
25 май 2026, 20:14
e3b80c4
Код
Авторство
О чём код?
/* ===== Базовые стили ===== */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; } /* ===== Навигация ===== */ .navbar { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.95); padding: 1rem 5%; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; } .logo { font-size: 1.5rem; font-weight: bold; color: #667eea; } .nav-links { display: flex; list-style: none; gap: 2rem; } .nav-links a { text-decoration: none; color: #333; font-weight: 500; transition: color 0.3s; } .nav-links a:hover, .nav-links a.active { color: #667eea; } /* ===== Основной контент ===== */ main { max-width: 1200px; margin: 0 auto; padding: 2rem 5%; } section { background: white; border-radius: 15px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 5px 20px rgba(0,0,0,0.1); } h1, h2, h3 { color: #667eea; margin-bottom: 1rem; } h1 { font-size: 2.5rem; text-align: center; } h2 { font-size: 2rem; border-bottom: 3px solid #667eea; padding-bottom: 0.5rem; } /* ===== Hero секция ===== */ .hero { text-align: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; } .hero h1 { color: white; } .subtitle { font-size: 1.3rem; margin-bottom: 2rem; opacity: 0.9; } .hero-image { max-width: 50%; height: auto; border-radius: 10px; margin-top: 1rem; background: rgba(255,255,255,0.2); min-height: 150px; display: flex; align-items: center; justify-content: center; margin: 2rem auto; display: block; } /* ===== Карточки фич ===== */ .features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; } .feature { background: #f8f9fa; padding: 1.5rem; border-radius: 10px; text-align: center; border: 2px solid #e9ecef; transition: transform 0.3s, box-shadow 0.3s; } .feature:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); } .feature h3 { font-size: 1.3rem; margin-bottom: 0.5rem; } /* ===== Как это работает ===== */ .how-it-works ol { margin-left: 2rem; margin-top: 1rem; } .how-it-works li { margin-bottom: 1rem; font-size: 1.1rem; } .diagram { max-width: 100%; height: auto; border-radius: 10px; margin: 1rem 0; background: #f8f9fa; min-height: 250px; display: flex; align-items: center; justify-content: center; color: #999; } /* ===== Таблицы ===== */ table { width: 100%; border-collapse: collapse; margin: 1rem 0; } th, td { padding: 1rem; text-align: left; border-bottom: 2px solid #e9ecef; } th { background: #667eea; color: white; } tr:hover { background: #f8f9fa; } /* ===== Журнал ===== */ .journal-entry { background: #f8f9fa; padding: 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; border-left: 4px solid #667eea; } .journal-date { color: #667eea; font-weight: bold; margin-bottom: 0.5rem; } /* ===== Ресурсы ===== */ .resources-list { list-style: none; } .resources-list li { margin-bottom: 1rem; padding: 1rem; background: #f8f9fa; border-radius: 8px; border-left: 4px solid #28a745; } .resources-list a { color: #667eea; text-decoration: none; font-weight: 500; } .resources-list a:hover { text-decoration: underline; } /* ===== Footer ===== */ footer { text-align: center; padding: 2rem; background: rgba(0,0,0,0.2); color: white; margin-top: 2rem; } /* ===== Адаптивность ===== */ @media (max-width: 768px) { .navbar { flex-direction: column; gap: 1rem; } .nav-links { flex-wrap: wrap; justify-content: center; gap: 1rem; } h1 { font-size: 2rem; } h2 { font-size: 1.5rem; } } /* ===== Заглушки для изображений ===== */ .img-placeholder { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; border-radius: 10px; min-height: 200px; text-align: center; padding: 2rem; } /* ===== Карточки участников ===== */ .members-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; } .member-card { background: #f8f9fa; padding: 2rem; border-radius: 15px; text-align: center; border: 2px solid #e9ecef; transition: transform 0.3s, box-shadow 0.3s; } .member-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); } .member-avatar { font-size: 4rem; margin-bottom: 1rem; } .member-role { color: #667eea; font-weight: bold; margin-bottom: 1rem; } .member-tasks { text-align: left; list-style: none; margin-top: 1rem; } .member-tasks li { padding: 0.5rem 0; border-bottom: 1px solid #e9ecef; } .member-tasks li:before { content: "✓ "; color: #28a745; font-weight: bold; margin-right: 0.5rem; } .team-info { margin-top: 3rem; padding: 2rem; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 15px; } .team-info h2 { color: white; } /* ===== Шаги как это работает ===== */ .how-it-works-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; } .step { background: #f8f9fa; padding: 2rem; border-radius: 10px; border-left: 4px solid #667eea; transition: transform 0.3s, box-shadow 0.3s; } .step:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); } .step h3 { color: #667eea; margin-bottom: 1rem; font-size: 1.2rem; } .step p { line-height: 1.6; color: #333; } /* ===== Калькулятор баллов ===== */ .calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; } .calc-card { background: #f8f9fa; padding: 2rem; border-radius: 12px; border: 2px solid #e9ecef; text-align: center; } .calc-card input { width: 80%; padding: 0.8rem; margin: 1rem 0; border: 2px solid #ddd; border-radius: 6px; font-size: 1rem; } .calc-card button { background: #667eea; color: white; border: none; padding: 0.8rem 1.5rem; border-radius: 6px; cursor: pointer; font-size: 1rem; transition: background 0.3s; } .calc-card button:hover { background: #5a6fd6; } .result { margin-top: 1rem; font-size: 1.2rem; font-weight: bold; color: #667eea; } .info-block { margin-top: 3rem; padding: 1.5rem; background: #eef2ff; border-left: 4px solid #667eea; border-radius: 8px; }