/
mshmrr
/
web-static-labs
Обзор
Документация
Войти
/
mshmrr
/
web-static-labs
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
html/style.css
268 строк
5 KB
mshmrr
2222
22 май 2026, 12:03
22 май 2026, 12:03
a646893
Код
Авторство
О чём код?
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', Arial, sans-serif; background-color: #fff5f8; color: #4a4a4a; min-height: 100vh; display: flex; flex-direction: column; } /* HEADER */ .header { background: linear-gradient(135deg, #ffb6c1, #ff69b4); color: white; padding: 60px 20px; text-align: center; box-shadow: 0 4px 15px rgba(255, 105, 180, 0.25); } .header h1 { font-size: 2.8rem; font-weight: 600; letter-spacing: 1px; margin-bottom: 10px; } .header p { font-size: 1.4rem; opacity: 0.95; margin: 0; } /* LAYOUT */ .content { max-width: 1400px; margin: 40px auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr; gap: 30px; width: 100%; } h2 { color: #d63384; margin-bottom: 20px; font-weight: 500; font-size: 1.8rem; } h3 { color: #d63384; margin-bottom: 15px; font-weight: 500; font-size: 1.4rem; } p { margin-bottom: 20px; font-size: 1.1rem; color: #666; line-height: 1.6; } code { background: #ffe4ec; padding: 2px 6px; border-radius: 6px; font-family: 'Courier New', monospace; color: #d63384; } /* CARDS */ .labs-menu, .student-info, .hackerrank, .progress { background: white; padding: 30px; border-radius: 12px; border: 1px solid #ffd6e7; box-shadow: 0 4px 12px rgba(255, 182, 193, 0.2); } /* HEADERS BORDER */ .labs-menu h2, .student-info h2, .hackerrank h3 { border-bottom: 2px solid #ff69b4; padding-bottom: 10px; display: inline-block; margin-bottom: 25px; } /* LAB GRID */ .labs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; } .lab-card { background: linear-gradient(135deg, #ffb6c1, #ff85c1); border-radius: 10px; padding: 20px 15px; text-align: center; transition: all 0.2s; box-shadow: 0 4px 12px rgba(255, 105, 180, 0.2); } .lab-card:hover { background: linear-gradient(135deg, #ff85c1, #ff4fa3); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 105, 180, 0.35); } .lab-card a { text-decoration: none; color: white; font-weight: 600; font-size: 1.2rem; display: block; } /* INFO */ .info-item { margin-bottom: 20px; padding: 18px; background: #fff0f5; border-radius: 10px; border: 1px solid #ffd6e7; } .info-label { font-weight: 600; color: #ff4fa3; margin-bottom: 8px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; } .info-value { font-size: 1.2rem; color: #333; } /* BUTTON */ .tilda-link { display: inline-block; margin-top: 12px; padding: 12px 25px; background: linear-gradient(135deg, #ff69b4, #ff85c1); color: white; text-decoration: none; border-radius: 10px; transition: all 0.2s; font-weight: 600; box-shadow: 0 4px 12px rgba(255, 105, 180, 0.25); } .tilda-link:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 105, 180, 0.35); } /* PROGRESS */ .progress { background: white; padding: 20px; border-radius: 12px; margin: 25px 0; border: 1px solid #ffd6e7; } .progress-bar { background: #ffe4ec; height: 35px; border-radius: 10px; overflow: hidden; margin: 15px 0; } .progress-fill { height: 100%; background: linear-gradient(90deg, #ff85c1, #ff4fa3); color: white; line-height: 35px; text-align: center; font-weight: 600; } /* HACKERRANK */ .hackerrank { background: white; padding: 20px; border-radius: 12px; margin: 25px 0; border: 1px solid #ffd6e7; } .score-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #ffe4ec; } .score-label { font-weight: 600; color: #ff4fa3; } .score-value { font-weight: 600; color: #4a4a4a; background: #fff0f5; padding: 5px 15px; border-radius: 8px; } /* FOOTER */ .footer { background: linear-gradient(135deg, #ff69b4, #ff85c1); color: white; padding: 30px; text-align: center; margin-top: 40px; } .footer p { margin: 8px 0; color: rgba(255,255,255,0.9); } /* RESPONSIVE */ @media (max-width: 768px) { .content { grid-template-columns: 1fr; } .labs-grid { grid-template-columns: 1fr; } .header h1 { font-size: 2rem; } .header p { font-size: 1.1rem; } } @media (max-width: 480px) { .header { padding: 40px 20px; } .header h1 { font-size: 1.6rem; } }