/
MashkoA
/
web-nodejs
Обзор
Документация
Войти
/
MashkoA
/
web-nodejs
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
public/lab7/task1/styles.css
133 строки
3 KB
umarovazizjohn
l7
09 апр 2026, 10:12
09 апр 2026, 10:12
48a32d1
Код
Авторство
О чём код?
body { background-color: #141526; color: white; min-height: 100vh; padding: 20px; text-align: center; } .box { margin: 0 auto; background-color: #4965c8; border-radius: 20px; padding: 30px; margin-top: 15px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); max-width: 800px; width: 100%; } h1 { text-align: center; margin-bottom: 30px; color: #e4ebff; font-size: clamp(1.5rem, 3vw, 2.2rem); text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } .row { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; } input[type="text"], select { background-color: rgba(43, 53, 103, 0.85); border: 2px solid #7c85d6; border-radius: 15px; padding: 12px 18px; color: white; font-size: clamp(0.9rem, 1.5vw, 1.1rem); min-width: 120px; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(60, 70, 150, 0.5); } input[type="text"]:focus, select:focus { outline: none; border-color: #c0d1ff; box-shadow: 0 0 0 3px rgba(192, 209, 255, 0.3); } input[type="text"]:disabled { background-color: rgba(43, 53, 103, 0.5); border-color: #5a6399; color: #a0a8d6; } input[type="text"]::placeholder { color: #a0a8d6; } select { cursor: pointer; appearance: none; background-position: calc(100% - 15px) center; padding-right: 40px; } button { background-color: #2b3567; border: none; border-radius: 15px; padding: 12px 25px; color: white; font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: bold; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(60, 70, 150, 0.5); min-width: 60px; } button:hover { background-color: #3a4780; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(60, 70, 150, 0.7); } button:active { transform: translateY(0); } #result { background-color: rgba(43, 53, 103, 0.85); border-radius: 15px; padding: 12px 20px; min-width: 150px; text-align: center; font-size: clamp(1rem, 1.5vw, 1.2rem); border: 2px solid #7c85d6; box-shadow: 0 4px 10px rgba(60, 70, 150, 0.5); min-height: 48px; display: flex; align-items: center; justify-content: center; } label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: clamp(0.9rem, 1.5vw, 1.1rem); color: #e4ebff; } input[type="checkbox"] { width: 20px; height: 20px; accent-color: #2b3567; cursor: pointer; } .hidden-field { display: none; } .visible-field { display: inline-block; }