|
103 | 103 | .badge-wrapper .badge-base { |
104 | 104 | display: inline-block; |
105 | 105 | } |
106 | | - chat-launcher { |
| 106 | + #chat-launcher { |
107 | 107 | position: fixed; |
108 | 108 | bottom: 20px; |
109 | 109 | right: 20px; |
110 | | - background: #2c3e50; |
| 110 | + background: #001f3f; /* dark navy */ |
111 | 111 | color: white; |
112 | 112 | padding: 12px 16px; |
113 | 113 | border-radius: 30px; |
114 | 114 | cursor: pointer; |
115 | 115 | z-index: 1000; |
116 | 116 | font-family: sans-serif; |
117 | | - box-shadow: 0 4px 8px rgba(0,0,0,0.3); |
| 117 | + box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4); /* soft blue glow */ |
| 118 | + transition: background 0.3s; |
118 | 119 | } |
119 | 120 |
|
120 | | -chatbox { |
| 121 | +#chat-launcher:hover { |
| 122 | + background: #003366; |
| 123 | +} |
| 124 | + |
| 125 | +#chatbox { |
121 | 126 | position: fixed; |
122 | 127 | bottom: 80px; |
123 | 128 | right: 20px; |
124 | 129 | width: 360px; |
125 | 130 | height: 500px; |
126 | | - border: 1px solid #ccc; |
| 131 | + border: none; |
127 | 132 | background: white; |
128 | 133 | display: none; |
129 | 134 | flex-direction: column; |
130 | 135 | z-index: 1001; |
131 | | - box-shadow: 0 8px 16px rgba(0,0,0,0.3); |
132 | | - border-radius: 10px; |
| 136 | + box-shadow: 0 8px 20px rgba(0,0,0,0.25); |
| 137 | + border-radius: 12px; |
133 | 138 | overflow: hidden; |
134 | 139 | } |
135 | 140 |
|
136 | | -chatbox-header { |
137 | | - background: #2c3e50; |
| 141 | +#chatbox-header { |
| 142 | + background: #001f3f; |
138 | 143 | color: white; |
139 | | - padding: 10px; |
| 144 | + padding: 10px 15px; |
140 | 145 | font-weight: bold; |
141 | 146 | display: flex; |
142 | 147 | justify-content: space-between; |
143 | 148 | align-items: center; |
144 | 149 | font-family: sans-serif; |
145 | 150 | } |
| 151 | +#chat-launcher:hover { |
| 152 | + background: #003366; |
| 153 | + box-shadow: 0 0 12px rgba(0, 102, 255, 0.6); |
| 154 | +} |
| 155 | + #chatbox { |
| 156 | + transition: transform 0.3s ease, opacity 0.3s ease; |
| 157 | +} |
| 158 | +#chatbox iframe { |
| 159 | + height: calc(100% - 48px); |
| 160 | +} |
| 161 | + |
146 | 162 |
|
147 | 163 | </style> |
148 | 164 | </head> |
@@ -206,12 +222,12 @@ <h1>Hariprashad Ravikumar</h1> |
206 | 222 | </main> |
207 | 223 |
|
208 | 224 | <!-- Floating Chat Button --> |
209 | | -<div id="chat-launcher" onclick="toggleChatbox()">💬 Chat with HariBot</div> |
| 225 | +<div id="chat-launcher" onclick="toggleChatbox()">💬 Chat with My AI Hari-Bot</div> |
210 | 226 |
|
211 | 227 | <!-- Chat iframe box (hidden by default) --> |
212 | 228 | <div id="chatbox"> |
213 | 229 | <div id="chatbox-header"> |
214 | | - <span>HariBot 🤖</span> |
| 230 | + <span>Hari-Bot 🤖 (AI)</span> |
215 | 231 | <button onclick="toggleChatbox()">✕</button> |
216 | 232 | </div> |
217 | 233 | <iframe src="https://hari-chatbot.onrender.com" |
|
0 commit comments