/
Cooolprogrammers
/
web-nodejs-labs
Обзор
Документация
Войти
/
Cooolprogrammers
/
web-nodejs-labs
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
public/lab9/task1/style.css
434 строки
8 KB
darkvoid6@mail.ru
ЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫЫ
18 дек 2025, 07:59
18 дек 2025, 07:59
f2c4f06
Код
Авторство
О чём код?
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Courier New', monospace; background: #0a0a0a; color: #00ff41; line-height: 1.6; min-height: 100vh; position: relative; overflow-x: hidden; } /* Матричный эффект дождя */ body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient( to bottom, transparent 90%, rgba(0, 255, 65, 0.05) ); pointer-events: none; z-index: 1; } .container { max-width: 1200px; margin: 0 auto; padding: 20px; position: relative; z-index: 2; } .header { background: linear-gradient(135deg, #001a00, #003300); color: #00ff41; padding: 30px; margin-bottom: 30px; text-align: center; box-shadow: 0 0 30px rgba(0, 255, 65, 0.2); border: 2px solid #00ff41; border-radius: 0; } .header h1 { font-size: 2.5em; margin-bottom: 10px; font-weight: normal; text-shadow: 0 0 15px #00ff41; letter-spacing: 2px; text-transform: uppercase; } .header p { font-size: 1.1em; color: #00cc33; margin-bottom: 15px; letter-spacing: 0.5px; } .back-btn { display: inline-block; background: #003300; color: #00ff41; padding: 10px 20px; text-decoration: none; transition: all 0.3s ease; border: 1px solid #00ff41; text-transform: uppercase; letter-spacing: 1px; border-radius: 0; } .back-btn:hover { background: #00ff41; color: #000; text-shadow: 0 0 10px #000; box-shadow: 0 0 20px rgba(0, 255, 65, 0.4); transform: translateY(-2px); } /* API Section */ .api-section { background: rgba(0, 20, 0, 0.85); padding: 25px; margin-bottom: 30px; box-shadow: 0 0 25px rgba(0, 255, 65, 0.15); border: 2px solid #00ff41; border-radius: 0; } .api-section h2 { color: #00ff41; margin-bottom: 15px; font-weight: normal; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid #00ff41; padding-bottom: 10px; } .api-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 15px 0; } .api-link { display: inline-block; background: #003300; color: #00ff41; padding: 10px 18px; text-decoration: none; font-size: 0.9em; transition: all 0.3s ease; border: 1px solid #00ff41; border-radius: 0; text-transform: uppercase; letter-spacing: 1px; } .api-link:hover { background: #00ff41; color: #000; transform: translateY(-2px); box-shadow: 0 0 15px rgba(0, 255, 65, 0.3); text-shadow: 0 0 10px #000; } /* Task Sections */ .task-section { background: rgba(0, 20, 0, 0.85); padding: 30px; margin-bottom: 30px; box-shadow: 0 0 25px rgba(0, 255, 65, 0.15); border: 2px solid #00ff41; border-radius: 0; } .task-header { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid #00cc33; } .task-header h2 { color: #00ff41; margin-bottom: 10px; font-weight: normal; text-transform: uppercase; letter-spacing: 1px; } .endpoint-info { background: rgba(0, 50, 0, 0.8); padding: 12px; border-left: 4px solid #00ff41; font-family: 'Courier New', monospace; font-size: 0.9em; color: #00cc33; border-radius: 0; } /* Buttons */ .btn { padding: 12px 24px; border: none; cursor: pointer; font-size: 1em; transition: all 0.3s ease; margin-right: 10px; margin-bottom: 10px; font-family: 'Courier New', monospace; text-transform: uppercase; letter-spacing: 1px; border-radius: 0; } .btn-primary { background: #003300; color: #00ff41; border: 1px solid #00ff41; } .btn-primary:hover { background: #00ff41; color: #000; transform: translateY(-2px); box-shadow: 0 0 20px rgba(0, 255, 65, 0.4); text-shadow: 0 0 10px #000; } .btn-secondary { background: #001a00; color: #00cc33; border: 1px solid #00cc33; } .btn-secondary:hover { background: #00cc33; color: #000; transform: translateY(-2px); box-shadow: 0 0 15px rgba(0, 204, 51, 0.3); } /* Search Controls */ .search-controls { margin: 20px 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .search-input { padding: 12px 15px; border: 2px solid #006600; font-size: 1em; width: 300px; transition: all 0.3s ease; background: #001a00; color: #00ff41; font-family: 'Courier New', monospace; border-radius: 0; } .search-input:focus { outline: none; border-color: #00ff41; box-shadow: 0 0 15px rgba(0, 255, 65, 0.3); } /* Results */ .result-card { background: rgba(0, 30, 0, 0.9); padding: 25px; margin-top: 20px; border: 1px solid #00cc33; border-radius: 0; box-shadow: 0 0 15px rgba(0, 255, 65, 0.1); } .result-card h3 { color: #00ff41; margin-bottom: 15px; font-weight: normal; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid #00ff41; padding-bottom: 10px; } /* Stats Grid */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 15px; } .stat-item { background: rgba(0, 20, 0, 0.9); padding: 20px; text-align: center; border: 1px solid #00ff41; box-shadow: 0 0 15px rgba(0, 255, 65, 0.1); border-radius: 0; } .stat-value { font-size: 2em; font-weight: bold; color: #00ff41; margin-bottom: 5px; text-shadow: 0 0 10px #00ff41; } .stat-label { color: #00cc33; font-size: 0.9em; letter-spacing: 0.5px; } /* Products */ .products-container { display: grid; gap: 15px; } .product-card { background: rgba(0, 20, 0, 0.9); padding: 20px; border: 1px solid #00cc33; box-shadow: 0 1px 3px rgba(0, 255, 65, 0.1); transition: all 0.3s ease; border-radius: 0; } .product-card:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(0, 255, 65, 0.3); border-color: #00ff41; } .product-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .product-title { font-size: 1.2em; font-weight: 600; color: #00ff41; text-transform: uppercase; letter-spacing: 1px; } .product-details { display: grid; grid-template-columns: 1fr auto auto; gap: 15px; align-items: center; color: #00cc33; } .price { font-weight: bold; color: #00ff41; font-size: 1.1em; text-shadow: 0 0 5px #00ff41; } /* JSON View */ .json-view { background: #001a00; color: #00ff41; padding: 20px; margin-top: 15px; font-family: 'Courier New', monospace; white-space: pre-wrap; word-break: break-all; max-height: 400px; overflow-y: auto; border: 1px solid #00ff41; border-radius: 0; box-shadow: 0 0 15px rgba(0, 255, 65, 0.1); } /* API Info */ .api-info { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; } .endpoint-list ul, .usage-info ul { list-style: none; padding-left: 0; } .endpoint-list li, .usage-info li { padding: 8px 0; border-bottom: 1px solid #006600; color: #00cc33; } .endpoint-list li:last-child, .usage-info li:last-child { border-bottom: none; } code { background: rgba(0, 50, 0, 0.8); padding: 2px 6px; font-family: 'Courier New', monospace; color: #00ff41; border: 1px solid #00ff41; border-radius: 0; } /* Utility Classes */ .hidden { display: none; } /* Responsive */ @media (max-width: 768px) { .container { padding: 10px; } .header { padding: 20px; } .header h1 { font-size: 2em; } .task-section { padding: 20px; } .search-input { width: 100%; } .api-links { flex-direction: column; } .api-info { grid-template-columns: 1fr; } .stats-grid { grid-template-columns: 1fr; } .product-details { grid-template-columns: 1fr; gap: 8px; } }