/
potogon
/
statbit
Обзор
Документация
Войти
/
potogon
/
statbit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
index.html
113 строк
3 KB
Alex
add phys test
28 июл 2026, 20:21
28 июл 2026, 20:21
3d38ab2
Код
Авторство
О чём код?
<!DOCTYPE html> <html lang="ru"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Психологические тесты</title> <style> * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f4f6f9; color: #222; line-height: 1.5; min-height: 100vh; } .container { max-width: 800px; margin: 0 auto; padding: 20px; } header { background: #4a6fa5; color: #fff; padding: 24px 20px; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,0.1); } header h1 { font-size: 1.6rem; margin-bottom: 4px; } header p { opacity: 0.9; font-size: 0.95rem; } .tests-list { margin-top: 24px; display: grid; gap: 16px; } .test-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform 0.15s, box-shadow 0.15s; } .test-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); } .test-card h2 { font-size: 1.2rem; margin-bottom: 8px; color: #2c3e50; } .test-card p { color: #666; margin-bottom: 16px; font-size: 0.95rem; } .btn { display: inline-block; background: #4a6fa5; color: #fff; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 500; border: none; cursor: pointer; font-size: 0.95rem; transition: background 0.15s; } .btn:hover { background: #3a5a8c; } .btn-beck { background: #4a6fa5; } .btn-beck:hover { background: #3a5a8c; } .btn-coping { background: #4a6fa5; } .btn-coping:hover { background: #3a5a8c; } .doctor-link { display: block; text-align: center; margin-top: 32px; color: #666; text-decoration: none; font-size: 0.9rem; } .doctor-link:hover { color: #4a6fa5; } .section-title { font-size: 1.1rem; color: #2c3e50; margin-bottom: 4px; font-weight: 600; } .section-subtitle { color: #888; font-size: 0.9rem; margin-bottom: 16px; } @media (max-width: 600px) { header h1 { font-size: 1.3rem; } .container { padding: 12px; } } </style> </head> <body> <header> <h1>Психологические тесты</h1> <p>Онлайн-платформа для прохождения тестов</p> </header> <div class="container"> <h3 class="section-title">Доступные тесты</h3> <p class="section-subtitle">Выберите тест для прохождения</p> <div class="tests-list"> <div class="test-card"> <h2>Опросник депрессии Бека (BDI)</h2> <p>Оценка степени выраженности депрессии.</p> <a href="beck.html" class="btn btn-beck">Пройти тест</a> </div> <div class="test-card"> <h2>Копинг-тест</h2> <p>Оценка стратегий совладающего поведения в трудных жизненных ситуациях.</p> <a href="coping.html" class="btn btn-coping">Пройти тест</a> </div> <div class="test-card"> <h2>Тест физической активности</h2> <p>Оценка уровня физической активности за последние 7 дней.</p> <a href="physical.html" class="btn">Пройти тест</a> </div> </div> <a href="doctor.html" class="doctor-link">🔒 Вход для врача</a> </div> </body> </html>