Spaces:
Sleeping
Sleeping
Download style.css from StSAdmin/SofTouch-Chatbot: direct link, hf CLI and curl.
- Browser
- Download file 1.84 kB
-
https://huggingface.co/spaces/StSAdmin/SofTouch-Chatbot/resolve/refs%2Fpr%2F16/style.css
- Command line
-
hf download hf://spaces/StSAdmin/SofTouch-Chatbot@refs/pr/16/style.css
-
curl -L -o style.css https://huggingface.co/spaces/StSAdmin/SofTouch-Chatbot/resolve/refs%2Fpr%2F16/style.css
1.84 kB
| /* style.css - Custom Chatbot Styling for Softouch Systems */ | |
| :root { | |
| --primary-color: #0056b3; /* Dark Blue (like your headers) */ | |
| --secondary-color: #e9ecef; /* Light Gray (like your background) */ | |
| --accent-color: #ff6b00; /* Orange (like your buttons) */ | |
| --text-color: #333; /* Dark Gray (like your text) */ | |
| --light-text: #f8f9fa; /* White (for contrast) */ | |
| } | |
| /* Chatbot Container */ | |
| .gradio-container { | |
| font-family: 'Arial', sans-serif; | |
| background-color: var(--secondary-color); | |
| border-radius: 8px; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| /* Header Styling */ | |
| .gradio-header { | |
| background-color: var(--primary-color); | |
| color: var(--light-text); | |
| padding: 12px 16px; | |
| border-radius: 8px 8px 0 0; | |
| font-weight: bold; | |
| } | |
| /* Chat Messages */ | |
| .user-message { | |
| background-color: var(--primary-color); | |
| color: var(--light-text); | |
| border-radius: 18px 18px 0 18px; | |
| padding: 10px 16px; | |
| margin: 8px 0; | |
| max-width: 80%; | |
| align-self: flex-end; | |
| } | |
| .bot-message { | |
| background-color: white; | |
| color: var(--text-color); | |
| border-radius: 18px 18px 18px 0; | |
| padding: 10px 16px; | |
| margin: 8px 0; | |
| max-width: 80%; | |
| align-self: flex-start; | |
| border: 1px solid #ddd; | |
| } | |
| /* Input & Buttons */ | |
| .gradio-input { | |
| border: 1px solid #ced4da; | |
| border-radius: 4px; | |
| padding: 8px 12px; | |
| } | |
| .gradio-button { | |
| background-color: var(--accent-color) ; | |
| color: white ; | |
| border: none ; | |
| border-radius: 4px ; | |
| padding: 8px 16px ; | |
| cursor: pointer ; | |
| } | |
| .gradio-button:hover { | |
| background-color: #e05d00 ; | |
| } | |
| /* Footer (if needed) */ | |
| .gradio-footer { | |
| font-size: 12px; | |
| color: #6c757d; | |
| text-align: center; | |
| padding: 8px; | |
| } |