Create styles.css
Browse files- styles.css +84 -0
styles.css
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Basic Reset */
|
| 2 |
+
* {
|
| 3 |
+
margin: 0;
|
| 4 |
+
padding: 0;
|
| 5 |
+
box-sizing: border-box;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
/* Page Layout */
|
| 9 |
+
body {
|
| 10 |
+
font-family: 'Arial', sans-serif;
|
| 11 |
+
background-color: #f4f4f9;
|
| 12 |
+
display: flex;
|
| 13 |
+
justify-content: center;
|
| 14 |
+
align-items: center;
|
| 15 |
+
height: 100vh;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.chat-container {
|
| 19 |
+
background-color: white;
|
| 20 |
+
width: 100%;
|
| 21 |
+
max-width: 500px;
|
| 22 |
+
border-radius: 10px;
|
| 23 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 24 |
+
padding: 20px;
|
| 25 |
+
text-align: center;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
/* Chat Box */
|
| 29 |
+
.chat-box {
|
| 30 |
+
max-height: 300px;
|
| 31 |
+
overflow-y: auto;
|
| 32 |
+
border: 1px solid #ddd;
|
| 33 |
+
padding: 10px;
|
| 34 |
+
margin-bottom: 20px;
|
| 35 |
+
background-color: #f9f9f9;
|
| 36 |
+
border-radius: 5px;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
.message {
|
| 40 |
+
margin: 10px 0;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.bot-response {
|
| 44 |
+
color: #2c3e50;
|
| 45 |
+
font-weight: bold;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
.user-message {
|
| 49 |
+
color: #16a085;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
#menu {
|
| 53 |
+
margin-top: 20px;
|
| 54 |
+
font-size: 16px;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
/* User Input Form */
|
| 58 |
+
.chat-form {
|
| 59 |
+
display: flex;
|
| 60 |
+
justify-content: space-between;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.user-input {
|
| 64 |
+
width: 80%;
|
| 65 |
+
padding: 10px;
|
| 66 |
+
font-size: 16px;
|
| 67 |
+
border: 1px solid #ccc;
|
| 68 |
+
border-radius: 5px;
|
| 69 |
+
margin-right: 10px;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
.send-btn {
|
| 73 |
+
padding: 10px 20px;
|
| 74 |
+
font-size: 16px;
|
| 75 |
+
background-color: #16a085;
|
| 76 |
+
color: white;
|
| 77 |
+
border: none;
|
| 78 |
+
border-radius: 5px;
|
| 79 |
+
cursor: pointer;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
.send-btn:hover {
|
| 83 |
+
background-color: #1abc9c;
|
| 84 |
+
}
|