Spaces:
Paused
Paused
| body { | |
| font-family: Arial, sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| background-color: #f0f0f0; | |
| } | |
| header { | |
| background: linear-gradient(90deg, #64b5f6, #1e88e5); | |
| color: #fff; | |
| padding: 20px; | |
| text-align: center; | |
| } | |
| nav ul { | |
| list-style: none; | |
| padding: 0; | |
| } | |
| nav ul li { | |
| display: inline; | |
| margin: 0 10px; | |
| } | |
| nav ul li a { | |
| color: #fff; | |
| text-decoration: none; | |
| } | |
| section { | |
| padding: 20px; | |
| margin: 20px; | |
| background-color: #fff; | |
| border-radius: 5px; | |
| box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
| } | |
| .project img { | |
| max-width: 100%; | |
| height: auto; | |
| } | |
| footer { | |
| background-color: #64b5f6; | |
| color: #fff; | |
| text-align: center; | |
| padding: 10px; | |
| position: fixed; | |
| bottom: 0; | |
| width: 100%; | |
| } | |
| #chat-bot-container { | |
| position: fixed; | |
| bottom: 20px; | |
| right: 20px; | |
| width: 500px; | |
| height: 600px; | |
| background-color: #fff; | |
| border-radius: 10px; | |
| box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); | |
| z-index: 1000; | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| } | |
| .chat-header { | |
| background: linear-gradient(90deg, #1e88e5, #6455f6); | |
| color: #fff; | |
| padding: 10px; | |
| text-align: center; | |
| font-size: 18px; | |
| cursor: move; | |
| } | |
| .chat-messages { | |
| flex: 1; | |
| padding: 10px; | |
| overflow-y: auto; | |
| border-bottom: 1px solid #ddd; | |
| } | |
| .chat-input { | |
| display: flex; | |
| padding: 10px; | |
| background-color: #f9f9f9; | |
| } | |
| .chat-input form { | |
| display: flex; | |
| width: 100%; | |
| } | |
| .chat-input input { | |
| flex: 1; | |
| padding: 10px; | |
| border: none; | |
| border-radius: 5px; | |
| margin-right: 10px; | |
| } | |
| .chat-input button { | |
| padding: 10px 20px; | |
| border: none; | |
| background-color: #64b5f6; | |
| color: #fff; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| } | |
| .chat-input button:hover { | |
| background-color: #1e88e5; | |
| } | |
| .message { | |
| margin-bottom: 10px; | |
| padding: 10px; | |
| border-radius: 5px; | |
| } | |
| .message.user { | |
| background-color: #b5d8f5; | |
| align-self: flex-end; | |
| } | |
| .message.assistant { | |
| background-color: #e1e1ff; | |
| align-self: flex-start; | |
| } | |
| .resizable { | |
| resize: both; | |
| overflow: auto; | |
| } | |
| #clear-history { | |
| margin-top: 10px; | |
| padding: 5px 10px; | |
| border: none; | |
| background-color: transparent; | |
| color: #000; | |
| font-size: 12px; | |
| text-decoration: underline; | |
| cursor: pointer; | |
| } | |
| #clear-history:hover { | |
| text-decoration: none; | |
| color: #555; | |
| } |