/
rintaru123
/
DiaryNotes
Обзор
Документация
Войти
/
rintaru123
/
DiaryNotes
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/index.css
107 строк
2 KB
rintaru123
Publication
21 мар 2026, 09:36
21 мар 2026, 09:36
3f1f547
Код
Авторство
О чём код?
@import "tailwindcss"; * { -webkit-tap-highlight-color: transparent; box-sizing: border-box; } html, body, #root { margin: 0; padding: 0; min-height: 100vh; min-height: 100dvh; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; overscroll-behavior: none; } /* Hide scrollbar but keep scrolling */ .hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; } .hide-scrollbar::-webkit-scrollbar { display: none; } /* Custom minimal scrollbar */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background-color: rgba(128, 128, 128, 0.3); border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { background-color: rgba(128, 128, 128, 0.5); } /* Smooth scrolling */ @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } } /* Mobile safe area */ @supports (padding: env(safe-area-inset-bottom)) { .pb-safe { padding-bottom: env(safe-area-inset-bottom); } .pt-safe { padding-top: env(safe-area-inset-top); } } /* Input focus styles */ input:focus, textarea:focus, select:focus { outline: none; box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3); } /* Custom time input */ input[type="time"] { appearance: none; -webkit-appearance: none; } /* Animation for FAB */ @keyframes bounce-in { 0% { transform: scale(0); opacity: 0; } 50% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } } .animate-bounce-in { animation: bounce-in 0.4s ease-out; } /* Spinner */ @keyframes spin { to { transform: rotate(360deg); } } .animate-spin { animation: spin 1s linear infinite; } /* Perfect centering for buttons with text/emoji */ button { line-height: 1; display: inline-flex; align-items: center; justify-content: center; } /* Ensure emoji and arrows are perfectly centered */ button:has(> :only-child) { text-align: center; }