/
Ponpon1228
/
Project
Обзор
Документация
Войти
/
Ponpon1228
/
Project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/App.scss
117 строк
2 KB
xomimishka
Initial commit
24 ноя 2025, 15:54
24 ноя 2025, 15:54
d23c86f
Код
Авторство
О чём код?
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap'); * { box-sizing: border-box; font-family: "Inter", sans-serif; } .App { font-family: Arial, sans-serif; background-color: #ffffff; color: #000000; text-align: center; min-height: 100vh; padding: 40px 20px; } .input-group { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 20px; } .city-input { padding: 12px; font-size: 1em; border-radius: 5px; border: 1px solid #2e85d6; width: 300px; outline: none; height: 45px; } .fetch-btn { padding: 0 25px; font-size: 1em; background-color: #2e85d6; color: #fff; border: none; border-radius: 5px; cursor: pointer; height: 45px; } .error-msg { color: #e53935; margin-top: 20px; } .current-weather { margin-top: 40px; padding: 25px; border-radius: 15px; background-color: #f0f0f0; width: 500px; margin-left: auto; margin-right: auto; text-align: center; } .current-weather img { width: 80px; height: 80px; margin-bottom: 10px; } .weather-info p { margin: 5px 0; font-size: 1.1em; } .weather-title { font-weight: 600; margin: 5px 0 15px 0; font-size: 1.2em; } .city-list, .candidates { margin-top: 25px; display: flex; flex-direction: column; gap: 12px; align-items: center; } .city-choose { padding: 10px 18px; background-color: #2e85d6; color: #fff; border: none; border-radius: 5px; cursor: pointer; min-width: 260px; font-size: 1em; } .candidate-row { display: flex; gap: 15px; align-items: center; justify-content: space-between; background: #f7f7f7; padding: 12px 15px; border-radius: 10px; width: 450px; } .candidate-row button { background-color: #2e85d6; color: #fff; border: none; border-radius: 5px; cursor: pointer; padding: 8px 14px; font-size: 0.95em; }