/
brood
/
html-practice-project
Обзор
Документация
Войти
/
brood
/
html-practice-project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
frontend/auth.css
145 строк
3 KB
1xskaeuo
final version
19 дек 2025, 11:53
19 дек 2025, 11:53
9a7fa8b
Код
Авторство
О чём код?
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); .auth-container { min-height: 100vh; display: flex; justify-content: center; align-items: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 20px; font-family: 'Inter', sans-serif; } .auth-card { background: var(--bg-glass); padding: 3rem; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); width: 100%; max-width: 440px; backdrop-filter: blur(20px); border: 1px solid var(--border-light); animation: fadeIn 0.6s ease-out; } .auth-card h2 { text-align: center; margin-bottom: 2rem; color: var(--text-primary); font-size: 2rem; font-weight: 700; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-primary); font-weight: 500; font-size: 0.95rem; } .form-group input { width: 100%; padding: 1rem 1.2rem; border: 2px solid var(--border-light); border-radius: var(--radius-lg); font-size: 1rem; font-family: 'Inter', sans-serif; transition: all 0.3s ease; background: var(--bg-card); color: var(--text-primary); box-shadow: var(--shadow-sm); } .form-group input:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); transform: translateY(-1px); } .form-group input::placeholder { color: var(--text-muted); } .btn-primary { width: 100%; padding: 1rem 2rem; background: var(--primary-gradient); color: white; border: none; border-radius: var(--radius-lg); font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-family: 'Inter', sans-serif; box-shadow: var(--shadow-lg); margin-top: 0.5rem; } .btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); } .auth-card p { text-align: center; margin-top: 1.5rem; color: var(--text-secondary); } .auth-card a { color: #667eea; text-decoration: none; font-weight: 500; transition: color 0.3s ease; } .auth-card a:hover { color: #764ba2; text-decoration: underline; } .message { margin-top: 1.5rem; padding: 1rem; border-radius: var(--radius-md); text-align: center; font-weight: 500; animation: fadeIn 0.3s ease; } .message.success { background: linear-gradient(135deg, #d4edda, #c3e6cb); color: #155724; border: 1px solid #c3e6cb; } .message.error { background: linear-gradient(135deg, #f8d7da, #f5c6cb); color: #721c24; border: 1px solid #f5c6cb; } @media (max-width: 480px) { .auth-container { padding: 10px; } .auth-card { padding: 2rem 1.5rem; } .auth-card h2 { font-size: 1.7rem; } }