Spaces:
Running
Running
Download style.css from torexdev/telegram-clone-turbo: direct link, hf CLI and curl.
- Browser
- Download file 1.25 kB
-
https://huggingface.co/spaces/torexdev/telegram-clone-turbo/resolve/main/style.css
- Command line
-
hf download hf://spaces/torexdev/telegram-clone-turbo/style.css
-
curl -L -o style.css https://huggingface.co/spaces/torexdev/telegram-clone-turbo/resolve/main/style.css
1.25 kB
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #888; | |
| border-radius: 3px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #555; | |
| } | |
| /* Animation for message bubbles */ | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .message { | |
| animation: fadeIn 0.3s ease-out; | |
| } | |
| /* Responsive adjustments */ | |
| @media (max-width: 768px) { | |
| .sidebar { | |
| width: 100%; | |
| position: fixed; | |
| z-index: 20; | |
| transform: translateX(-100%); | |
| transition: transform 0.3s ease; | |
| } | |
| .sidebar.active { | |
| transform: translateX(0); | |
| } | |
| .chat-area { | |
| width: 100%; | |
| } | |
| .mobile-back-btn { | |
| display: block ; | |
| } | |
| } | |
| @media (min-width: 769px) { | |
| .mobile-menu-toggle, | |
| .mobile-back-btn { | |
| display: none ; | |
| } | |
| } | |
| /* Chat area responsive behavior */ | |
| .chat-area { | |
| transition: all 0.3s ease; | |
| } | |
| /* Better touch targets for mobile */ | |
| button, .contact-item { | |
| min-height: 44px; | |
| } | |
| /* Input fields */ | |
| input, textarea { | |
| font-size: 16px ; /* Prevent iOS zoom */ | |
| } | |