Commit
·
bbdabb4
1
Parent(s):
3ad3c79
Update style.css
Browse files
style.css
CHANGED
|
@@ -20,15 +20,41 @@ body {
|
|
| 20 |
|
| 21 |
#chat-box {
|
| 22 |
height: 400px;
|
| 23 |
-
overflow-y:
|
| 24 |
border: 1px solid #ccc;
|
| 25 |
margin-bottom: 10px;
|
| 26 |
padding: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
}
|
| 28 |
|
| 29 |
#user-input {
|
| 30 |
width: calc(100% - 80px);
|
| 31 |
padding: 10px;
|
|
|
|
|
|
|
| 32 |
}
|
| 33 |
|
| 34 |
#send-button {
|
|
@@ -37,6 +63,7 @@ body {
|
|
| 37 |
background-color: #007bff;
|
| 38 |
color: white;
|
| 39 |
border: none;
|
|
|
|
| 40 |
cursor: pointer;
|
| 41 |
}
|
| 42 |
|
|
|
|
| 20 |
|
| 21 |
#chat-box {
|
| 22 |
height: 400px;
|
| 23 |
+
overflow-y: auto;
|
| 24 |
border: 1px solid #ccc;
|
| 25 |
margin-bottom: 10px;
|
| 26 |
padding: 10px;
|
| 27 |
+
background-color: #f9f9f9;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.message {
|
| 31 |
+
padding: 8px 15px;
|
| 32 |
+
margin: 5px;
|
| 33 |
+
border-radius: 10px;
|
| 34 |
+
max-width: 80%;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.user {
|
| 38 |
+
background-color: #dcf8c6;
|
| 39 |
+
align-self: flex-end;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.bot {
|
| 43 |
+
background-color: #e5e5ea;
|
| 44 |
+
align-self: flex-start;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.error {
|
| 48 |
+
background-color: #ffdddd;
|
| 49 |
+
color: #d8000c;
|
| 50 |
+
align-self: center;
|
| 51 |
}
|
| 52 |
|
| 53 |
#user-input {
|
| 54 |
width: calc(100% - 80px);
|
| 55 |
padding: 10px;
|
| 56 |
+
border: 1px solid #ccc;
|
| 57 |
+
border-radius: 5px;
|
| 58 |
}
|
| 59 |
|
| 60 |
#send-button {
|
|
|
|
| 63 |
background-color: #007bff;
|
| 64 |
color: white;
|
| 65 |
border: none;
|
| 66 |
+
border-radius: 5px;
|
| 67 |
cursor: pointer;
|
| 68 |
}
|
| 69 |
|