Spaces:
Sleeping
Sleeping
Download frontend/src/App.css from lydiaavin/mini-ai-chatbot: direct link, hf CLI and curl.
- Browser
- Download file 1.48 kB
-
https://huggingface.co/spaces/lydiaavin/mini-ai-chatbot/resolve/main/frontend/src/App.css
- Command line
-
hf download hf://spaces/lydiaavin/mini-ai-chatbot/frontend/src/App.css
-
curl -L -o App.css https://huggingface.co/spaces/lydiaavin/mini-ai-chatbot/resolve/main/frontend/src/App.css
1.48 kB
| body { | |
| background-color: #000; | |
| color: #fff; | |
| font-family: Arial, sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .app { | |
| max-width: 800px; | |
| margin: 0 auto; | |
| padding: 20px; | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| h1 { | |
| text-align: center; | |
| margin-bottom: 20px; | |
| color: #fff; | |
| } | |
| .chat-container { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| border: 1px solid #333; | |
| border-radius: 10px; | |
| background-color: #111; | |
| } | |
| .history { | |
| flex: 1; | |
| overflow-y: auto; | |
| padding: 10px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| } | |
| .message { | |
| margin-bottom: 10px; | |
| padding: 10px 15px; | |
| border-radius: 18px; | |
| max-width: 70%; | |
| word-wrap: break-word; | |
| } | |
| .message.bot { | |
| align-self: flex-start; | |
| background-color: #333; | |
| color: white; | |
| border-radius: 18px 18px 18px 5px; | |
| } | |
| .message.user { | |
| align-self: flex-end; | |
| background-color: #007bff; | |
| color: white; | |
| border-radius: 18px 18px 5px 18px; | |
| } | |
| .input-section { | |
| display: flex; | |
| padding: 10px; | |
| background-color: #111; | |
| border-top: 1px solid #333; | |
| } | |
| input { | |
| flex: 1; | |
| padding: 10px; | |
| border: none; | |
| border-radius: 20px; | |
| background-color: #222; | |
| color: #fff; | |
| font-size: 16px; | |
| margin-right: 10px; | |
| } | |
| input::placeholder { | |
| color: #aaa; | |
| } | |
| button { | |
| padding: 10px 20px; | |
| background-color: #007bff; | |
| color: white; | |
| border: none; | |
| border-radius: 20px; | |
| cursor: pointer; | |
| font-size: 16px; | |
| } | |
| button:hover { | |
| background-color: #0056b3; | |
| } |