/
axe
/
gala
Обзор
Документация
Войти
/
axe
/
gala
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
mobile.css
221 строка
4 KB
gusen
app beautify2
25 июн 2026, 18:05
25 июн 2026, 18:05
143035d
Код
Авторство
О чём код?
/* ============================================ mobile.css — всё для мобильных устройств ============================================ */ @media (max-width: 768px) { /* ---------- ОБЩИЕ ПРАВКИ ---------- */ body { padding: 12px 12px 80px; } .card { padding: 18px; border-radius: 20px; } header { margin-bottom: 16px; } .header h1 { font-size: 22px; } /* ---------- ТАБЫ (нижняя навигация) ---------- */ .tabs { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(15, 15, 26, 0.92); backdrop-filter: blur(16px); border-top: 1px solid rgba(255, 255, 255, 0.06); border-radius: 16px 16px 0 0; padding: 6px 0 env(safe-area-inset-bottom); margin: 0; gap: 0; z-index: 1000; } .tab-btn { flex-direction: column; min-width: 0; padding: 8px 4px; border-radius: 0; background: transparent; color: #64748b; font-size: 10px; gap: 2px; box-shadow: none !important; position: relative; flex: 1; } .tab-btn .tab-icon { font-size: 20px; } .tab-btn .tab-label { font-size: 9px; font-weight: 500; } .tab-btn.active { background: transparent; color: #a78bfa; box-shadow: none !important; } .tab-btn.active::after { content: ''; position: absolute; top: -1px; left: 25%; right: 25%; height: 3px; background: linear-gradient(90deg, #6366f1, #8b5cf6); border-radius: 0 0 4px 4px; } /* ---------- КНОПКИ НА ВСЮ ШИРИНУ ---------- */ button:not(.builder-minus) { width: 100% !important; font-size: 16px !important; } .reset-btn { width: auto !important; padding: 8px 16px !important; font-size: 13px !important; } /* ---------- КОНСТРУКТОР ---------- */ .builder-item { width: 50px; padding: 4px 2px; } .builder-img { width: 38px; height: 38px; } .builder-minus { width: 26px; height: 26px; font-size: 14px; } /* ---------- СЛАЙДЕР РАНГОВ ---------- */ .aura-icon { width: 48px; height: 48px; } .rank-name { font-size: 14px; } .rank-slider { gap: 6px; padding: 6px 0; } .slider-btn { width: 32px; height: 32px; font-size: 16px; } /* ---------- ВИЗУАЛЬНЫЙ РЯД ---------- */ .visual-icons img { width: 28px; height: 28px; } .visual-icons img:not(:first-child) { margin-left: -6px; } .total-votes { font-size: 18px; } /* ---------- РЕЗУЛЬТАТ ---------- */ .result { padding: 14px 16px; font-size: 14px; } /* ---------- ЯДРА ---------- */ .cores-result .icon { width: 26px; height: 26px; } .core-icon { width: 22px; height: 22px; } } /* ===== ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ ===== */ @media (max-width: 400px) { .card { padding: 14px; } .builder-item { width: 44px; } .builder-img { width: 32px; height: 32px; } .builder-minus { width: 24px; height: 24px; font-size: 13px; } .visual-icons img { width: 24px; height: 24px; } .visual-icons img:not(:first-child) { margin-left: -4px; } .header h1 { font-size: 20px; } .rank-display { min-width: 70px; } .aura-icon { width: 40px; height: 40px; } .rank-name { font-size: 12px; } .rank-votes { font-size: 11px; } .slider-btn { width: 28px; height: 28px; font-size: 14px; } .total-votes { font-size: 16px; } }