Update index.html
Browse files- index.html +22 -22
index.html
CHANGED
@@ -36,57 +36,57 @@
|
|
36 |
|
37 |
.message {
|
38 |
max-width: 80%;
|
39 |
-
padding: 15px;
|
40 |
-
border-radius:
|
41 |
-
box-shadow: 0 5px
|
42 |
line-height: 1.6;
|
43 |
word-wrap: break-word;
|
44 |
-
margin-top: 10px;
|
45 |
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
46 |
position: relative;
|
47 |
-
overflow: hidden;
|
48 |
background: #fff;
|
49 |
transition: all 0.3s ease-in-out;
|
50 |
}
|
51 |
|
|
|
|
|
|
|
|
|
|
|
52 |
.message::after {
|
53 |
content: '';
|
54 |
position: absolute;
|
55 |
-
bottom:
|
56 |
-
left:
|
57 |
-
width: 100
|
58 |
height: 3px;
|
59 |
background: linear-gradient(to right, #4c51bf, #5a67d8);
|
60 |
-
|
61 |
-
|
62 |
-
transition: transform 0.3s ease-in-out;
|
63 |
}
|
64 |
|
65 |
.message:hover::after {
|
66 |
-
|
67 |
-
transform-origin: bottom left;
|
68 |
-
}
|
69 |
-
|
70 |
-
.message:hover {
|
71 |
-
transform: translateY(-3px);
|
72 |
-
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
|
73 |
}
|
74 |
|
75 |
.user-message {
|
76 |
-
background-color: #
|
77 |
-
color: #
|
|
|
|
|
78 |
}
|
79 |
|
80 |
.bot-message {
|
81 |
background-color: #4c51bf;
|
82 |
color: #fff;
|
|
|
|
|
83 |
}
|
84 |
|
85 |
@media (max-width: 768px) {
|
86 |
.message {
|
87 |
max-width: 90%;
|
88 |
-
padding: 12px;
|
89 |
-
border-radius:
|
90 |
}
|
91 |
}
|
92 |
|
|
|
36 |
|
37 |
.message {
|
38 |
max-width: 80%;
|
39 |
+
padding: 15px 20px;
|
40 |
+
border-radius: 20px;
|
41 |
+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
42 |
line-height: 1.6;
|
43 |
word-wrap: break-word;
|
|
|
44 |
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
45 |
position: relative;
|
|
|
46 |
background: #fff;
|
47 |
transition: all 0.3s ease-in-out;
|
48 |
}
|
49 |
|
50 |
+
.message:hover {
|
51 |
+
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
|
52 |
+
transform: translateY(-3px);
|
53 |
+
}
|
54 |
+
|
55 |
.message::after {
|
56 |
content: '';
|
57 |
position: absolute;
|
58 |
+
bottom: -10px;
|
59 |
+
left: 20px;
|
60 |
+
width: calc(100% - 40px);
|
61 |
height: 3px;
|
62 |
background: linear-gradient(to right, #4c51bf, #5a67d8);
|
63 |
+
opacity: 0;
|
64 |
+
transition: opacity 0.3s ease-in-out;
|
|
|
65 |
}
|
66 |
|
67 |
.message:hover::after {
|
68 |
+
opacity: 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
}
|
70 |
|
71 |
.user-message {
|
72 |
+
background-color: #e0f7fa;
|
73 |
+
color: #00796b;
|
74 |
+
align-self: flex-end;
|
75 |
+
border-radius: 20px 20px 0 20px;
|
76 |
}
|
77 |
|
78 |
.bot-message {
|
79 |
background-color: #4c51bf;
|
80 |
color: #fff;
|
81 |
+
align-self: flex-start;
|
82 |
+
border-radius: 20px 20px 20px 0;
|
83 |
}
|
84 |
|
85 |
@media (max-width: 768px) {
|
86 |
.message {
|
87 |
max-width: 90%;
|
88 |
+
padding: 12px 15px;
|
89 |
+
border-radius: 15px;
|
90 |
}
|
91 |
}
|
92 |
|