/
Coderdev
/
web-static-labs
Обзор
Документация
Войти
/
Coderdev
/
web-static-labs
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
html/lab6/task2/style.css
28 строк
2 KB
Coderdev
1
30 мар 2026, 18:31
30 мар 2026, 18:31
020a8dd
Код
Авторство
О чём код?
*{box-sizing:border-box} body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f4f6f8;color:#222} .container{width:min(940px,92%);margin:32px auto} .card{background:#fff;border-radius:14px;padding:24px;box-shadow:0 4px 14px rgba(0,0,0,.08)} h1,h2,h3{margin-top:0} button,.btn{border:none;border-radius:10px;background:#2d89ef;color:#fff;padding:10px 16px;cursor:pointer;font-size:15px;text-decoration:none;display:inline-block} button:hover,.btn:hover{opacity:.92} button.secondary,.btn.secondary{background:#6c757d} button.danger,.btn.danger{background:#d9534f} button.success,.btn.success{background:#43a047} input,select,textarea{width:100%;padding:10px 12px;border:1px solid #c4c9ce;border-radius:10px;font-size:15px} label{display:block;font-weight:700;margin:0 0 8px} .row{display:grid;gap:16px} .row.two{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))} .muted{color:#666} .error{color:#c62828;min-height:20px} .success-text{color:#2e7d32;min-height:20px} .topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px} .back{color:#2d89ef;text-decoration:none;font-weight:700} .panel{margin-top:18px} .badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#edf4ff;color:#245ea8;font-size:13px} .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px} .cookie-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:1000} .cookie-inner{display:flex;justify-content:space-between;gap:16px;align-items:center;background:#1f2937;color:#fff;padding:18px 20px;border-radius:14px;box-shadow:0 10px 24px rgba(0,0,0,.22)} .cookie-inner p{margin:6px 0 0;color:#d8dee8} .banner-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center} .banner-controls select{width:auto;min-width:120px} @media (max-width:700px){.cookie-inner{flex-direction:column;align-items:flex-start}}