Spaces:
Runtime error
Runtime error
Update static/css/styles.css
Browse files- static/css/styles.css +67 -16
static/css/styles.css
CHANGED
|
@@ -1,24 +1,75 @@
|
|
| 1 |
-
:root {
|
| 2 |
-
--primary: #6c63ff;
|
| 3 |
-
--bg-color: #f5f5f5;
|
| 4 |
-
--text-color: #333;
|
| 5 |
-
}
|
| 6 |
-
|
| 7 |
body {
|
| 8 |
-
font-family:
|
| 9 |
-
background-color:
|
| 10 |
-
color: var(--text-color);
|
| 11 |
margin: 0;
|
| 12 |
-
padding:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
}
|
| 14 |
|
| 15 |
.chat-container {
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
| 21 |
padding: 20px;
|
| 22 |
}
|
| 23 |
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
+
font-family: Arial, sans-serif;
|
| 3 |
+
background-color: #f4f4f4;
|
|
|
|
| 4 |
margin: 0;
|
| 5 |
+
padding: 0;
|
| 6 |
+
display: flex;
|
| 7 |
+
justify-content: center;
|
| 8 |
+
align-items: center;
|
| 9 |
+
height: 100vh;
|
| 10 |
}
|
| 11 |
|
| 12 |
.chat-container {
|
| 13 |
+
width: 500px;
|
| 14 |
+
background-color: white;
|
| 15 |
+
border-radius: 10px;
|
| 16 |
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
|
|
| 17 |
padding: 20px;
|
| 18 |
}
|
| 19 |
|
| 20 |
+
h1 {
|
| 21 |
+
text-align: center;
|
| 22 |
+
margin-bottom: 20px;
|
| 23 |
+
color: #333;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
#chat-box {
|
| 27 |
+
height: 400px;
|
| 28 |
+
overflow-y: scroll;
|
| 29 |
+
border: 1px solid #ddd;
|
| 30 |
+
border-radius: 5px;
|
| 31 |
+
padding: 10px;
|
| 32 |
+
margin-bottom: 20px;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.message {
|
| 36 |
+
margin: 10px 0;
|
| 37 |
+
padding: 10px;
|
| 38 |
+
border-radius: 5px;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.user-message {
|
| 42 |
+
background-color: #e1f5fe;
|
| 43 |
+
text-align: right;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.bot-message {
|
| 47 |
+
background-color: #f0f0f0;
|
| 48 |
+
text-align: left;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
.bot-error {
|
| 52 |
+
background-color: #ffebee;
|
| 53 |
+
text-align: left;
|
| 54 |
+
color: #d32f2f;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
.quick-replies {
|
| 58 |
+
display: flex;
|
| 59 |
+
flex-wrap: wrap;
|
| 60 |
+
gap: 10px;
|
| 61 |
+
justify-content: center;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
.quick-replies button {
|
| 65 |
+
padding: 10px 20px;
|
| 66 |
+
background-color: #007bff;
|
| 67 |
+
color: white;
|
| 68 |
+
border: none;
|
| 69 |
+
border-radius: 5px;
|
| 70 |
+
cursor: pointer;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.quick-replies button:hover {
|
| 74 |
+
background-color: #0056b3;
|
| 75 |
+
}
|