Spaces:
Paused
Paused
| body { | |
| font-family: "Arial", sans-serif; | |
| background-color: #f0f0f0; | |
| margin: 0; | |
| padding: 0; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100vh; | |
| } | |
| .container { | |
| background-color: #fff; | |
| border-radius: 10px; | |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |
| height: 100vh; | |
| padding: 20px; | |
| box-sizing: border-box; | |
| } | |
| input[type="text"] { | |
| width: calc(100% - 100px); | |
| padding: 10px; | |
| border: 1px solid #ddd; | |
| border-radius: 5px; | |
| margin-right: 10px; | |
| } | |
| h1 { | |
| text-align: center; | |
| color: #333; | |
| } | |
| .chat-window { | |
| max-height: 600px; | |
| overflow-y: auto; | |
| margin-bottom: 20px; | |
| padding: 10px; | |
| border: 1px solid #ddd; | |
| border-radius: 5px; | |
| background-color: #fafafa; | |
| } | |
| .chat-message { | |
| display: flex; | |
| align-items: center; | |
| margin-bottom: 10px; | |
| } | |
| .chat-message img { | |
| max-width: 100%; | |
| border-radius: 5px; | |
| } | |
| .chat-message p { | |
| background-color: #e0e0e0; | |
| padding: 10px; | |
| border-radius: 5px; | |
| margin: 0; | |
| max-width: 80%; | |
| } | |
| .chat-message.user p { | |
| background-color: #007bff; | |
| color: #fff; | |
| margin-left: auto; | |
| } | |
| .chat-message.assistant p { | |
| background-color: #e0e0e0; | |
| color: #333; | |
| } | |
| input[type="text"] { | |
| width: calc(100% - 100px); | |
| padding: 10px; | |
| border: 1px solid #ddd; | |
| border-radius: 5px; | |
| margin-right: 10px; | |
| } | |
| button { | |
| padding: 10px 20px; | |
| border: none; | |
| border-radius: 5px; | |
| margin: 3px; | |
| background-color: #007bff; | |
| color: #fff; | |
| cursor: pointer; | |
| } | |
| button:hover { | |
| background-color: #0056b3; | |
| } | |
| .loading { | |
| text-align: center; | |
| font-size: 18px; | |
| color: #007bff; | |
| } | |
| .response-display { | |
| white-space: pre-wrap; | |
| word-wrap: break-word; | |
| margin-bottom: 20px; | |
| } | |
| .response-display p { | |
| margin: 10px 0; | |
| line-height: 1.5; | |
| } | |
| .response-display pre { | |
| background-color: #f5f5f5; | |
| padding: 10px; | |
| border-radius: 5px; | |
| overflow-x: auto; | |
| } | |