Spaces:
Sleeping
Sleeping
| body { | |
| background-color: #1e1e1e; | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| color: #ddd; | |
| margin: 0; | |
| } | |
| .chat-container { | |
| max-width: 600px; | |
| margin: 50px auto; | |
| padding: 20px; | |
| } | |
| .message-row { | |
| display: flex; | |
| margin-bottom: 12px; | |
| animation: fadeInUp 0.4s ease; | |
| } | |
| .person-a { | |
| justify-content: flex-start; | |
| } | |
| .person-b { | |
| justify-content: flex-end; | |
| } | |
| .message { | |
| padding: 12px 16px; | |
| border-radius: 20px; | |
| max-width: 70%; | |
| font-size: 15px; | |
| line-height: 1.4; | |
| word-wrap: break-word; | |
| animation: slideIn 0.4s ease; | |
| } | |
| .person-a .message { | |
| background-color: #2a2a2a; | |
| color: #eee; | |
| } | |
| .person-b .message { | |
| background-color: #0078d7; | |
| color: white; | |
| } | |
| /* Animations */ | |
| @keyframes fadeInUp { | |
| from { | |
| opacity: 0; | |
| transform: translateY(10px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| @keyframes slideIn { | |
| from { | |
| transform: translateX(20px); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateX(0); | |
| opacity: 1; | |
| } | |
| } | |