Skip to content

Commit ec6c5a9

Browse files
Update index.html
1 parent bf0f374 commit ec6c5a9

File tree

1 file changed

+28
-12
lines changed

1 file changed

+28
-12
lines changed

index.html

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -103,46 +103,62 @@
103103
.badge-wrapper .badge-base {
104104
display: inline-block;
105105
}
106-
chat-launcher {
106+
#chat-launcher {
107107
position: fixed;
108108
bottom: 20px;
109109
right: 20px;
110-
background: #2c3e50;
110+
background: #001f3f; /* dark navy */
111111
color: white;
112112
padding: 12px 16px;
113113
border-radius: 30px;
114114
cursor: pointer;
115115
z-index: 1000;
116116
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;
118119
}
119120

120-
chatbox {
121+
#chat-launcher:hover {
122+
background: #003366;
123+
}
124+
125+
#chatbox {
121126
position: fixed;
122127
bottom: 80px;
123128
right: 20px;
124129
width: 360px;
125130
height: 500px;
126-
border: 1px solid #ccc;
131+
border: none;
127132
background: white;
128133
display: none;
129134
flex-direction: column;
130135
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;
133138
overflow: hidden;
134139
}
135140

136-
chatbox-header {
137-
background: #2c3e50;
141+
#chatbox-header {
142+
background: #001f3f;
138143
color: white;
139-
padding: 10px;
144+
padding: 10px 15px;
140145
font-weight: bold;
141146
display: flex;
142147
justify-content: space-between;
143148
align-items: center;
144149
font-family: sans-serif;
145150
}
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+
146162

147163
</style>
148164
</head>
@@ -206,12 +222,12 @@ <h1>Hariprashad Ravikumar</h1>
206222
</main>
207223

208224
<!-- 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>
210226

211227
<!-- Chat iframe box (hidden by default) -->
212228
<div id="chatbox">
213229
<div id="chatbox-header">
214-
<span>HariBot 🤖</span>
230+
<span>Hari-Bot 🤖 (AI)</span>
215231
<button onclick="toggleChatbox()"></button>
216232
</div>
217233
<iframe src="https://hari-chatbot.onrender.com"

0 commit comments

Comments
 (0)