/
maxxon
/
web-static-labs
Обзор
Документация
Войти
/
maxxon
/
web-static-labs
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
html/lab4/task3/styles.css
83 строки
2 KB
maxxon
lab1 lab2 lab3 lab4
12 ноя 2025, 02:32
12 ноя 2025, 02:32
aa1390d
Код
Авторство
О чём код?
body { font-family: 'Orbitron', sans-serif; display: flex; justify-content: center; align-items: center; min-height: 100vh; background: radial-gradient(circle at center, #2c2c2c 0%, #1a1a1a 100%); color: #e0e0e0; overflow: hidden; position: relative; } body::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,165,0,0.1)"/></svg>') repeat; animation: twinkle 5s linear infinite; pointer-events: none; } @keyframes twinkle { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } } .clock-container { display: flex; flex-direction: column; align-items: center; background: rgba(51, 51, 51, 0.9); backdrop-filter: blur(20px); border-radius: 30px; padding: 50px; border: 2px solid rgba(255,165,0,0.8); box-shadow: 0 20px 40px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.1); position: relative; animation: float 6s ease-in-out infinite; } @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } } .clock { background: rgba(102, 102, 102, 0.8); color: #ffa500; padding: 40px; border-radius: 25px; font-size: 3em; letter-spacing: 3px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.3); margin-bottom: 25px; border: 2px solid rgba(255,165,0,0.5); text-shadow: 0 0 20px #ffa500; backdrop-filter: blur(10px); position: relative; animation: glow 2s ease-in-out infinite alternate; } @keyframes glow { from { box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), 0 0 20px rgba(255,165,0,0.5); } to { box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), 0 0 30px rgba(255,165,0,0.8); } } .timezone { font-size: 1.2em; color: #cccccc; background: rgba(102, 102, 102, 0.8); padding: 15px 25px; border-radius: 15px; border: 1px solid rgba(255,165,0,0.5); box-shadow: 0 8px 16px rgba(0,0,0,0.3); backdrop-filter: blur(10px); text-shadow: 0 0 5px rgba(255,255,255,0.3); }