Spaces:
Running
Running
Download chatbot.css from arkankau/alexandraiui: direct link, hf CLI and curl.
- Browser
- Download file 3.05 kB
-
https://huggingface.co/spaces/arkankau/alexandraiui/resolve/main/chatbot.css
- Command line
-
hf download hf://spaces/arkankau/alexandraiui/chatbot.css
-
curl -L -o chatbot.css https://huggingface.co/spaces/arkankau/alexandraiui/resolve/main/chatbot.css
3.05 kB
| .chatbot-container { | |
| width: 80%; | |
| margin: 20px auto; | |
| background-color: #333333; | |
| border-radius: 10px; | |
| box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2); | |
| padding: 20px; | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| position: relative; | |
| height: 60vh; | |
| } | |
| .chatbot-header { | |
| text-align: center; | |
| margin: 0 0 20px 0; | |
| font-size: 24px; | |
| font-weight: bold; | |
| color: #f0cd55; | |
| } | |
| .chatbot-messages { | |
| flex: 1; | |
| overflow-y: auto; | |
| padding: 10px; | |
| border: 1px solid #ddd; | |
| border-radius: 5px; | |
| background-color: #444444; | |
| } | |
| .chatbot-message { | |
| padding: 10px; | |
| border-radius: 5px; | |
| margin: 10px 0; | |
| font-size: 14px; | |
| } | |
| .chatbot-message.bot { | |
| background-color: #f9e79f;; | |
| color: #333333; | |
| align-self: flex-start; | |
| } | |
| .chatbot-message.user { | |
| background-color: #007bff; | |
| color: #fff; | |
| align-self: flex-end; | |
| } | |
| .chatbot-input-container { | |
| display: flex; | |
| align-items: center; | |
| padding: 50px 0; | |
| border-top: 1px solid #ddd; | |
| background-color: #333333; | |
| gap: 10px; | |
| height: 60px; | |
| } | |
| .chatbot-input { | |
| flex: 1; | |
| padding: 12px 15px; | |
| border-radius: 20px; | |
| border: 1px solid #555555; | |
| font-size: 16px; | |
| background-color: #444444; | |
| color: #ffffff; | |
| outline: none; | |
| box-sizing: border-box; | |
| transition: border-color 0.3s ease; | |
| } | |
| .chatbot-input:focus { | |
| border-color: #f0cd55; | |
| } | |
| .chatbot-send-button { | |
| margin-left: 10px; | |
| padding: 10px 20px; | |
| background-color: #c9900b; | |
| color: white; | |
| border-radius: 20px; | |
| border: none; | |
| cursor: pointer; | |
| font-size: 16px; | |
| transition: background-color 0.3s ease; | |
| } | |
| .chatbot-send-button:hover { | |
| background-color: #f0cd55; | |
| } | |
| .social-icons i { | |
| font-size: 20px; | |
| color: #c9900b; | |
| cursor: pointer; | |
| transition: color 0.3s ease; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| height: 100%; | |
| margin-top: -22px; | |
| } | |
| .social-icons i:hover{ | |
| color: #f0cd55; | |
| } | |
| @media (max-width: 768px) { | |
| .chatbot-container { | |
| width: 90%; | |
| height: 90%; | |
| } | |
| .chatbot-header { | |
| font-size: 20px; | |
| } | |
| .chatbot-input { | |
| font-size: 12px; | |
| } | |
| .chatbot-send-button { | |
| font-size: 12px; | |
| padding: 8px 16px; | |
| } | |
| } | |
| .chatbot-iframe-wrapper { | |
| display: flex; | |
| justify-content: center; /* Center horizontally */ | |
| align-items: center; /* Center vertically */ | |
| width: 100%; /* Full width */ | |
| height: auto; /* Let the height adjust dynamically */ | |
| background-color: #071e57; /* Optional: Match the chatbot background */ | |
| } | |
| .chatbot-iframe { | |
| width: 100%; /* Make it responsive */ | |
| max-width: 850px; /* Match the chatbot width */ | |
| height: 150vh; /* Full viewport height */ | |
| border: none; /* Remove the default border */ | |
| border-radius: 10px; /* Add rounded corners */ | |
| box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */ | |
| display: block; /* Ensure it behaves like a block element */ | |
| } |