/
Hero
/
web-static-labs
Обзор
Документация
Войти
/
Hero
/
web-static-labs
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
html/style.css
531 строка
10 KB
Hero
upload files
03 окт 2025, 10:12
03 окт 2025, 10:12
50ece79
Код
Авторство
О чём код?
/* ������� ����� � ����� */ * { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary: #6C63FF; --primary-dark: #5752D4; --secondary: #FF6584; --accent: #36D1DC; --dark: #1A1A2E; --darker: #16213E; --light: #F8F9FA; --gray: #8A8A9E; --glass: rgba(255, 255, 255, 0.08); --glass-border: rgba(255, 255, 255, 0.12); --shadow: 0 8px 32px rgba(0, 0, 0, 0.2); } body { font-family: 'Montserrat', sans-serif; background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, #0F3460 100%); color: var(--light); min-height: 100vh; line-height: 1.6; overflow-x: hidden; } /* ������������� ��� */ .animated-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; } .particle { position: absolute; background: var(--primary); border-radius: 50%; opacity: 0.1; animation: float 15s infinite linear; } .particle:nth-child(1) { width: 80px; height: 80px; top: 10%; left: 10%; animation-duration: 20s; background: var(--accent); } .particle:nth-child(2) { width: 120px; height: 120px; top: 60%; left: 80%; animation-duration: 25s; background: var(--secondary); } .particle:nth-child(3) { width: 60px; height: 60px; top: 80%; left: 20%; animation-duration: 18s; background: var(--primary); } .particle:nth-child(4) { width: 100px; height: 100px; top: 30%; left: 50%; animation-duration: 22s; background: var(--accent); } .particle:nth-child(5) { width: 70px; height: 70px; top: 50%; left: 90%; animation-duration: 30s; background: var(--secondary); } @keyframes float { 0% { transform: translateY(0) rotate(0deg); opacity: 0.1; } 50% { opacity: 0.15; } 100% { transform: translateY(-100px) rotate(360deg); opacity: 0.1; } } /* ��������� */ .container { max-width: 1200px; margin: 0 auto; padding: 20px; } /* ���������� ������ */ .glass-card { background: var(--glass); backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: var(--shadow); transition: all 0.3s ease; } .glass-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); } /* ����� */ .hero-section { padding: 30px; margin-bottom: 30px; position: relative; overflow: hidden; } .profile-header { display: flex; align-items: center; gap: 20px; } .avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: white; box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4); } .header-text h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 5px; background: linear-gradient(135deg, var(--light) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .subtitle { font-size: 1.1rem; color: var(--gray); font-family: 'Roboto Mono', monospace; } .decoration { position: absolute; top: 20px; right: 30px; } .code-icon { font-size: 3rem; opacity: 0.1; color: var(--accent); } /* ��������� */ .nav-section { padding: 30px; margin-bottom: 30px; } .section-title { font-size: 1.5rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; color: var(--light); } .section-title i { color: var(--accent); } .lab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; } .lab-card { display: flex; align-items: center; padding: 20px; background: rgba(255, 255, 255, 0.05); border-radius: 15px; text-decoration: none; color: var(--light); transition: all 0.3s ease; border: 1px solid transparent; } .lab-card:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--primary); transform: translateX(5px); } .lab-number { font-size: 2rem; font-weight: 700; color: var(--primary); margin-right: 15px; font-family: 'Roboto Mono', monospace; } .lab-info h3 { font-size: 1.2rem; margin-bottom: 5px; } .lab-info p { color: var(--gray); font-size: 0.9rem; } .lab-arrow { margin-left: auto; color: var(--primary); font-size: 1.2rem; } /* ����� �������� */ .content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 30px; } .info-section, .progress-section, .hackerrank-section { padding: 25px; } /* �������������� ������ */ .info-grid { display: flex; flex-direction: column; gap: 15px; } .info-item { display: flex; align-items: center; gap: 15px; padding: 15px; background: rgba(255, 255, 255, 0.05); border-radius: 12px; } .info-icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; color: white; } .info-text { display: flex; flex-direction: column; } .info-label { font-size: 0.9rem; color: var(--gray); margin-bottom: 3px; } .info-value { font-weight: 600; } .task-link { color: var(--accent); text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 5px; transition: color 0.3s ease; } .task-link:hover { color: var(--secondary); } /* �������� */ .progress-container { display: flex; flex-direction: column; gap: 20px; } .progress-info { display: flex; justify-content: space-between; } .progress-item { display: flex; flex-direction: column; } .progress-label { font-size: 0.9rem; color: var(--gray); margin-bottom: 5px; } .progress-value { font-weight: 600; font-size: 1.1rem; } .progress-bar-container { display: flex; flex-direction: column; gap: 10px; } .progress-bar { height: 8px; background: rgba(255, 255, 255, 0.1); border-radius: 10px; overflow: hidden; } .progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 10px; transition: width 1s ease; } .progress-percent { align-self: flex-end; font-size: 0.9rem; color: var(--gray); font-family: 'Roboto Mono', monospace; } /* Hackerrank */ .hackerrank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; } .skill-card { display: flex; align-items: center; gap: 15px; padding: 20px; background: rgba(255, 255, 255, 0.05); border-radius: 15px; transition: all 0.3s ease; } .skill-card:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-3px); } .skill-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; } .skill-icon.python { background: linear-gradient(135deg, #3776AB, #306998); } .skill-icon.sql { background: linear-gradient(135deg, #F29111, #E38C19); } .skill-info h3 { margin-bottom: 5px; font-size: 1.1rem; } .skill-points { color: var(--gray); font-size: 0.9rem; } /* ����� */ .footer-section { padding: 25px; text-align: center; } .footer-content { display: flex; justify-content: space-between; align-items: center; } .footer-links { display: flex; gap: 15px; } .footer-links a { color: var(--gray); font-size: 1.2rem; transition: color 0.3s ease; } .footer-links a:hover { color: var(--accent); } /* ������������ */ @media (max-width: 768px) { .container { padding: 15px; } .profile-header { flex-direction: column; text-align: center; } .header-text h1 { font-size: 1.8rem; } .lab-grid { grid-template-columns: 1fr; } .content-grid { grid-template-columns: 1fr; } .hackerrank-grid { grid-template-columns: 1fr; } .footer-content { flex-direction: column; gap: 15px; } .decoration { display: none; } } /* �������� ��������� */ .glass-card { animation: fadeInUp 0.6s ease forwards; opacity: 0; transform: translateY(20px); } .hero-section { animation-delay: 0.1s; } .nav-section { animation-delay: 0.2s; } .info-section { animation-delay: 0.3s; } .progress-section { animation-delay: 0.4s; } .hackerrank-section { animation-delay: 0.5s; padding: 25px; /* �������� ��� �������� */ margin: 0 -13px; } .footer-section { animation-delay: 0.6s; } @keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }