/
ChizhenkoM
/
web-static-labs
Обзор
Документация
Войти
/
ChizhenkoM
/
web-static-labs
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
html/lab5/task2/style.css
174 строки
3 KB
ChizhenkoM
lab8
17 апр 2026, 08:29
Верифицирован
17 апр 2026, 08:29
72323f6
Код
Авторство
О чём код?
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Arial, sans-serif; background: linear-gradient(145deg, #0a0a1a, #0f0f23); min-height: 100vh; display: flex; justify-content: center; align-items: center; padding: 20px; } .container { background: #1e1e2e; border-radius: 28px; padding: 40px; max-width: 800px; width: 100%; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 165, 0, 0.1); } h1 { margin-bottom: 30px; text-align: center; color: #ffffff; font-weight: 600; letter-spacing: -0.3px; } h2 { margin: 20px 0 15px; color: #e0e0e0; font-size: 1.3rem; font-weight: 500; } .input-area { margin-bottom: 30px; } textarea { width: 100%; padding: 12px; border: 2px solid #3a3a4a; border-radius: 16px; font-size: 16px; resize: vertical; font-family: inherit; background: #2a2a3a; color: #ffffff; transition: all 0.2s ease; } textarea:focus { outline: none; border-color: #ff8c00; box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2); } textarea::placeholder { color: #6a6a7a; } #addBtn { margin-top: 12px; padding: 12px 24px; background: #ff8c00; color: #1a1a1a; border: none; border-radius: 30px; cursor: pointer; font-weight: 600; transition: all 0.2s ease; box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3); } #addBtn:hover { background: #ffa233; transform: scale(1.02); box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4); } #addBtn:active { transform: scale(0.98); } .tasks-list { display: flex; flex-direction: column; gap: 12px; } .task-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; background: #2a2a3a; border-radius: 16px; border: 1px solid #3a3a4a; transition: all 0.2s; } .task-item:hover { background: #323242; border-color: #ff8c00; transform: translateX(5px); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); } .task-info { flex: 1; } .task-date { font-size: 12px; color: #8a8a9a; margin-bottom: 5px; } .task-text { font-size: 16px; color: #e0e0e0; word-break: break-word; line-height: 1.4; } .task-buttons { display: flex; gap: 8px; } .task-buttons button { padding: 6px 12px; border: none; border-radius: 20px; cursor: pointer; font-size: 12px; font-weight: 500; transition: all 0.2s; } .copy-btn { background: #ff8c00; color: #1a1a1a; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); } .copy-btn:hover { background: #ffa233; transform: translateY(-1px); } .copy-btn:active { transform: translateY(0); } .delete-btn { background: #4a4a5e; color: #e0e0e0; } .delete-btn:hover { background: #5a5a6e; transform: translateY(-1px); } .delete-btn:active { transform: translateY(0); }