/
magarich
/
web
Обзор
Документация
Войти
/
magarich
/
web
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
html/lab5/style.css
284 строки
7 KB
Юра Магарьян
Final submission: Lab2 and Lab3 by Magaryan Yury PIZ2402
17 апр 2026, 23:12
17 апр 2026, 23:12
0827836
Код
Авторство
О чём код?
/* style.css */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Rajdhani', 'Arial', sans-serif; background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%); color: #ffffff; min-height: 100vh; overflow-x: hidden; position: relative; } /* Анимированные звезды на фоне */ .stars, .stars2, .stars3 { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; } .stars { background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="0.5" fill="white"/><circle cx="80" cy="40" r="0.3" fill="white"/><circle cx="40" cy="80" r="0.4" fill="white"/><circle cx="60" cy="10" r="0.2" fill="white"/><circle cx="10" cy="60" r="0.3" fill="white"/></svg>') repeat; animation: twinkle 8s ease-in-out infinite; } .stars2 { background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="30" r="0.3" fill="%2344a6f1"/><circle cx="70" cy="20" r="0.2" fill="%2344a6f1"/><circle cx="20" cy="70" r="0.4" fill="%2344a6f1"/><circle cx="90" cy="50" r="0.3" fill="%2344a6f1"/></svg>') repeat; animation: twinkle 12s ease-in-out infinite reverse; } .stars3 { background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="0.2" fill="%23ffffff"/><circle cx="25" cy="25" r="0.3" fill="%23ffffff"/><circle cx="75" cy="75" r="0.4" fill="%23ffffff"/></svg>') repeat; animation: twinkle 15s ease-in-out infinite; } @keyframes twinkle { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } } .container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; position: relative; z-index: 1; } /* Личная информация */ .personal-info { text-align: center; margin-bottom: 60px; } .glowing-border { border: 1px solid rgba(68, 166, 241, 0.3); border-radius: 15px; padding: 30px; background: rgba(10, 25, 47, 0.7); backdrop-filter: blur(10px); box-shadow: 0 0 30px rgba(68, 166, 241, 0.2); position: relative; overflow: hidden; } .glowing-border::before { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: linear-gradient(45deg, #44a6f1, #00d4ff, #44a6f1); border-radius: 17px; z-index: -1; opacity: 0; transition: opacity 0.3s; } .glowing-border:hover::before { opacity: 1; } .personal-info h2 { font-size: 2rem; margin-bottom: 20px; background: linear-gradient(90deg, #44a6f1, #00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-transform: uppercase; letter-spacing: 2px; } .personal-info p { font-size: 1.2rem; margin: 10px 0; color: #ccd6f6; } .highlight { color: #44a6f1; font-weight: bold; } /* Заголовок */ .title-section { text-align: center; margin-bottom: 50px; position: relative; } .futuristic-text { font-size: 3.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; background: linear-gradient(90deg, #fff, #44a6f1, #fff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% auto; animation: shine 3s linear infinite; margin-bottom: 20px; } @keyframes shine { to { background-position: 200% center; } } .scan-line { height: 3px; background: linear-gradient(90deg, transparent, #44a6f1, transparent); width: 300px; margin: 0 auto; animation: scan 2s ease-in-out infinite; } @keyframes scan { 0%, 100% { transform: scaleX(0); opacity: 0; } 50% { transform: scaleX(1); opacity: 1; } } /* Сетка заданий */ .tasks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 40px; } .task-card { position: relative; background: rgba(23, 42, 70, 0.8); border: 1px solid rgba(68, 166, 241, 0.2); border-radius: 12px; padding: 30px 20px; text-decoration: none; color: #ccd6f6; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 150px; } .card-glow { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(45deg, transparent, rgba(68, 166, 241, 0.1), transparent); opacity: 0; transition: opacity 0.3s; } .task-card:hover { transform: translateY(-10px) scale(1.05); border-color: #44a6f1; box-shadow: 0 15px 30px rgba(68, 166, 241, 0.3); } .task-card:hover .card-glow { opacity: 1; } .task-number { font-size: 2.5rem; font-weight: bold; background: linear-gradient(135deg, #44a6f1, #00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; } .task-title { font-size: 1.3rem; font-weight: 600; text-align: center; transition: color 0.3s; } .task-card:hover .task-title { color: #fff; } /* Логотип SpaceX */ .logo { position: fixed; bottom: 30px; right: 30px; z-index: 100; } .spacex-logo { width: 120px; height: auto; filter: drop-shadow(0 0 10px rgba(68, 166, 241, 0.5)); opacity: 0.7; transition: all 0.3s; } .spacex-logo:hover { opacity: 1; filter: drop-shadow(0 0 15px rgba(68, 166, 241, 0.8)); } /* Адаптивность */ @media (max-width: 768px) { .container { padding: 20px 15px; } .futuristic-text { font-size: 2.5rem; } .tasks-grid { grid-template-columns: 1fr; gap: 20px; } .personal-info h2 { font-size: 1.5rem; } .personal-info p { font-size: 1rem; } } @media (max-width: 480px) { .futuristic-text { font-size: 2rem; letter-spacing: 1px; } .task-card { padding: 20px 15px; min-height: 120px; } .task-number { font-size: 2rem; } .task-title { font-size: 1.1rem; } .logo { bottom: 20px; right: 20px; } .spacex-logo { width: 80px; } }