/
magarich
/
web
Обзор
Документация
Войти
/
magarich
/
web
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
html/lab2/style.css
344 строки
7 KB
Юра Магарьян
Final submission: Lab2 and Lab3 by Magaryan Yury PIZ2402
17 апр 2026, 23:12
17 апр 2026, 23:12
0827836
Код
Авторство
О чём код?
/* ������� ����� */ * { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary: #6C63FF; --secondary: #4A44C6; --accent: #FF6584; --dark: #2A2D3E; --light: #F8F9FA; --gray: #8A8D9B; --card-bg: rgba(255, 255, 255, 0.85); --shadow: 0 10px 30px rgba(0, 0, 0, 0.1); --transition: all 0.3s ease; } body { font-family: 'Roboto', sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: var(--dark); line-height: 1.6; min-height: 100vh; overflow-x: hidden; } /* ������������� ��� */ .animated-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; } .shape { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.1); animation: float 15s infinite linear; } .shape-1 { width: 300px; height: 300px; top: 10%; left: 5%; animation-duration: 20s; } .shape-2 { width: 200px; height: 200px; top: 60%; right: 10%; animation-duration: 15s; animation-direction: reverse; } .shape-3 { width: 150px; height: 150px; bottom: 10%; left: 20%; animation-duration: 25s; } .shape-4 { width: 100px; height: 100px; top: 20%; right: 20%; animation-duration: 18s; animation-direction: reverse; } @keyframes float { 0% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(180deg); } 100% { transform: translateY(0) rotate(360deg); } } /* ��������� */ .container { max-width: 1200px; margin: 0 auto; padding: 30px 20px; position: relative; z-index: 1; } /* �������� */ .card { background: var(--card-bg); backdrop-filter: blur(10px); border-radius: 20px; box-shadow: var(--shadow); padding: 30px; transition: var(--transition); border: 1px solid rgba(255, 255, 255, 0.2); } .card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); } /* ������ ���������� */ .personal-info { text-align: center; margin-bottom: 40px; position: relative; overflow: hidden; } .personal-info::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--primary), var(--accent)); } .avatar { width: 100px; height: 100px; margin: 0 auto 20px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 2.5rem; box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4); } .personal-info h2 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--dark); margin-bottom: 25px; font-size: 1.8rem; } .info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 500px; margin: 0 auto; } .info-item { display: flex; align-items: center; padding: 15px; background: rgba(108, 99, 255, 0.05); border-radius: 12px; transition: var(--transition); } .info-item:hover { background: rgba(108, 99, 255, 0.1); transform: translateX(5px); } .info-item i { font-size: 1.2rem; color: var(--primary); margin-right: 15px; width: 25px; } .label { font-weight: 600; color: var(--dark); display: block; font-size: 0.9rem; } .value { color: var(--secondary); font-weight: 500; display: block; font-size: 1.1rem; } /* ��������� */ .header { text-align: center; margin-bottom: 50px; } .header h1 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 2.5rem; background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 15px; } .header p { color: var(--light); font-size: 1.2rem; opacity: 0.9; } /* ����� ������� */ .tasks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 25px; margin-bottom: 50px; } .task-card { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--card-bg); backdrop-filter: blur(10px); border-radius: 16px; padding: 30px 20px; text-decoration: none; color: var(--dark); transition: var(--transition); box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, 0.2); position: relative; overflow: hidden; } .task-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transition: transform 0.3s ease; } .task-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); } .task-card:hover::before { transform: scaleX(1); } .task-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; color: white; font-size: 1.8rem; transition: var(--transition); } .task-card:hover .task-icon { transform: scale(1.1) rotate(10deg); } .task-number { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1.2rem; color: var(--dark); } /* ����� */ .footer { text-align: center; padding: 20px; color: var(--light); opacity: 0.8; font-size: 0.9rem; } /* ������������ */ @media (max-width: 768px) { .container { padding: 20px 15px; } .header h1 { font-size: 2rem; } .tasks-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; } .personal-info { padding: 20px; } .info-grid { grid-template-columns: 1fr; } } @media (max-width: 480px) { .tasks-grid { grid-template-columns: repeat(2, 1fr); } .header h1 { font-size: 1.7rem; } .avatar { width: 80px; height: 80px; font-size: 2rem; } }