Create css
Browse files
css
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
body {
|
| 2 |
+
font-family: Arial, sans-serif;
|
| 3 |
+
background-color: #f4f4f4;
|
| 4 |
+
padding: 20px;
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
.container {
|
| 8 |
+
max-width: 700px;
|
| 9 |
+
margin: auto;
|
| 10 |
+
background: white;
|
| 11 |
+
padding: 20px;
|
| 12 |
+
border-radius: 8px;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
#chatbox {
|
| 16 |
+
border: 1px solid #ddd;
|
| 17 |
+
height: 400px;
|
| 18 |
+
overflow-y: scroll;
|
| 19 |
+
padding: 10px;
|
| 20 |
+
margin-bottom: 10px;
|
| 21 |
+
background: #fafafa;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
.user {
|
| 25 |
+
text-align: right;
|
| 26 |
+
color: blue;
|
| 27 |
+
margin-bottom: 8px;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.bot {
|
| 31 |
+
text-align: left;
|
| 32 |
+
color: green;
|
| 33 |
+
margin-bottom: 8px;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
form {
|
| 37 |
+
display: flex;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
input[type="text"] {
|
| 41 |
+
flex: 1;
|
| 42 |
+
padding: 10px;
|
| 43 |
+
font-size: 16px;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
button {
|
| 47 |
+
padding: 10px 20px;
|
| 48 |
+
font-size: 16px;
|
| 49 |
+
background-color: #4caf50;
|
| 50 |
+
color: white;
|
| 51 |
+
border: none;
|
| 52 |
+
cursor: pointer;
|
| 53 |
+
}
|