/
Cooolprogrammers
/
web-nodejs-labs
Обзор
Документация
Войти
/
Cooolprogrammers
/
web-nodejs-labs
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
public/lab9/index.css
249 строк
5 KB
darkvoid6@mail.ru
ЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫ
18 дек 2025, 07:59
18 дек 2025, 07:59
f2c4f06
Код
Авторство
О чём код?
body { margin: 0; font-family: 'Exo 2', 'Segoe UI', system-ui, sans-serif; line-height: 1.6; background: #0a0a0f; display: flex; flex-direction: column; min-height: 100vh; color: #e0e0ff; background-image: linear-gradient(rgba(0,255,157,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,157,0.02) 1px, transparent 1px); background-size: 40px 40px; } @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Exo+2:wght@300;400;600&display=swap'); header { background: linear-gradient(135deg, #0a0a0f 0%, #1a1a24 100%); color: #00ff9d; text-align: center; padding: 1.8em; box-shadow: 0 2px 15px rgba(0,255,157,0.1); border-bottom: 1px solid #2a2a3a; position: relative; overflow: hidden; } header::before { content: ''; position: absolute; bottom: 0; left: 10%; width: 80%; height: 1px; background: linear-gradient(90deg, transparent, #00ff9d, transparent); } header h1 { margin: 0; font-size: 2.2rem; font-family: 'Orbitron', sans-serif; color: #00ff9d; text-shadow: 0 0 15px rgba(0,255,157,0.4); letter-spacing: 1px; } /* NAVIGATION - технологичная */ nav { background: linear-gradient(90deg, #111118, #1a1a24); display: flex; flex-wrap: wrap; justify-content: center; border-bottom: 1px solid #2a2a3a; box-shadow: 0 2px 10px rgba(0,0,0,0.3); } nav a { color: #8a8aa3; text-decoration: none; padding: 1em 1.8em; transition: all 0.3s ease; font-family: 'Exo 2', sans-serif; font-weight: 500; position: relative; overflow: hidden; } nav a:hover { color: #00ff9d; background: rgba(0,255,157,0.1); border-radius: 0; } nav a::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: #00ff9d; transition: width 0.3s ease; } nav a:hover::before { width: 100%; } /* MAIN CONTENT */ main { flex: 1; display: grid; grid-template-columns: 1fr 2fr; gap: 25px; padding: 25px; max-width: 1400px; margin: 0 auto; width: 100%; } /* CARDS - технологичные */ .card { background: linear-gradient(145deg, #121218, #0f0f14); padding: 25px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,255,157,0.1), inset 0 1px 0 rgba(255,255,255,0.05); transition: all 0.3s ease; border: 1px solid #2a2a3a; position: relative; overflow: hidden; } .card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(180deg, #00ff9d, transparent); } .card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,255,157,0.2), inset 0 1px 0 rgba(255,255,255,0.1); border-color: #00ff9d; } .card h2 { margin-top: 0; color: #00ff9d; font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 1.4rem; margin-bottom: 15px; text-shadow: 0 0 10px rgba(0,255,157,0.3); } .card p { color: #8a8aa3; margin-bottom: 20px; font-size: 0.95rem; } /* BUTTONS - неоновые */ .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: linear-gradient(90deg, #00ff9d, #00cc7a); color: #0a0a0f !important; text-decoration: none; border-radius: 6px; transition: all 0.3s ease; font-family: 'Orbitron', sans-serif; font-weight: 600; letter-spacing: 0.5px; box-shadow: 0 0 20px rgba(0,255,157,0.3); border: none; cursor: pointer; font-size: 0.95rem; } .btn:hover { background: linear-gradient(90deg, #00e68a, #00b86b); transform: translateY(-2px); box-shadow: 0 0 30px rgba(0,255,157,0.5); color: #0a0a0f !important; } /* FOOTER - технологичный */ footer { background: linear-gradient(180deg, #0a0a0f 0%, #111118 100%); color: #8a8aa3; text-align: center; padding: 1.5em; border-top: 1px solid #2a2a3a; margin-top: auto; position: relative; } footer::before { content: ''; position: absolute; top: 0; left: 10%; width: 80%; height: 1px; background: linear-gradient(90deg, transparent, #00ff9d, transparent); } /* RESPONSIVE DESIGN */ @media(max-width: 768px) { main { grid-template-columns: 1fr; padding: 15px; gap: 20px; } nav a { flex: 1 1 100%; text-align: center; padding: 1em; } header h1 { font-size: 1.8rem; } .card { padding: 20px; } } /* Дополнительные эффекты для элементов списка в карточках */ .card ul, .card ol { color: #8a8aa3; padding-left: 20px; } .card li { margin-bottom: 8px; position: relative; } .card li::before { content: '▸'; color: #00ff9d; position: absolute; left: -15px; font-size: 0.9em; } /* Стили для кода в карточках */ .card code { background: rgba(0,255,157,0.05); color: #00ff9d; padding: 2px 8px; border-radius: 4px; font-family: 'Courier New', monospace; font-size: 0.9em; border: 1px solid rgba(0,255,157,0.1); }