Update style.css
Browse files
style.css
CHANGED
|
@@ -2,40 +2,107 @@ body {
|
|
| 2 |
font-family: 'Inter', sans-serif;
|
| 3 |
background: #0b0b0d;
|
| 4 |
color: #eaeaea;
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
padding: 20px;
|
|
|
|
|
|
|
|
|
|
| 7 |
}
|
| 8 |
|
| 9 |
-
|
| 10 |
-
width:
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
color: white;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
padding: 10px;
|
| 16 |
border-radius: 8px;
|
|
|
|
|
|
|
| 17 |
}
|
| 18 |
|
| 19 |
-
button {
|
| 20 |
-
margin-top: 10px;
|
| 21 |
padding: 10px 20px;
|
| 22 |
background: #0078ff;
|
| 23 |
color: white;
|
|
|
|
| 24 |
border: none;
|
| 25 |
-
border-radius: 6px;
|
| 26 |
cursor: pointer;
|
| 27 |
}
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
|
|
|
|
|
|
| 31 |
}
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
}
|
|
|
|
| 2 |
font-family: 'Inter', sans-serif;
|
| 3 |
background: #0b0b0d;
|
| 4 |
color: #eaeaea;
|
| 5 |
+
display: flex;
|
| 6 |
+
flex-direction: column;
|
| 7 |
+
height: 100vh;
|
| 8 |
+
margin: 0;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
header {
|
| 12 |
+
display: flex;
|
| 13 |
+
justify-content: space-between;
|
| 14 |
+
align-items: center;
|
| 15 |
+
padding: 10px 20px;
|
| 16 |
+
background: linear-gradient(90deg, #1a1a1d, #111);
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
#controls select, #controls button {
|
| 20 |
+
margin-left: 10px;
|
| 21 |
+
padding: 5px 10px;
|
| 22 |
+
border-radius: 6px;
|
| 23 |
+
border: none;
|
| 24 |
+
cursor: pointer;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
#chat-container {
|
| 28 |
+
flex: 1;
|
| 29 |
+
overflow-y: auto;
|
| 30 |
padding: 20px;
|
| 31 |
+
display: flex;
|
| 32 |
+
flex-direction: column;
|
| 33 |
+
gap: 10px;
|
| 34 |
}
|
| 35 |
|
| 36 |
+
.chat-bubble {
|
| 37 |
+
max-width: 70%;
|
| 38 |
+
padding: 12px 16px;
|
| 39 |
+
border-radius: 16px;
|
| 40 |
+
box-shadow: 0 2px 8px rgba(0,0,0,0.3);
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.user {
|
| 44 |
+
align-self: flex-end;
|
| 45 |
+
background-color: #0078ff;
|
| 46 |
+
color: white;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.ai {
|
| 50 |
+
align-self: flex-start;
|
| 51 |
+
background-color: #1a1a1d;
|
| 52 |
color: white;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
footer {
|
| 56 |
+
display: flex;
|
| 57 |
+
padding: 10px;
|
| 58 |
+
background: #111;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
footer input {
|
| 62 |
+
flex: 1;
|
| 63 |
padding: 10px;
|
| 64 |
border-radius: 8px;
|
| 65 |
+
border: 1px solid #333;
|
| 66 |
+
margin-right: 10px;
|
| 67 |
}
|
| 68 |
|
| 69 |
+
footer button {
|
|
|
|
| 70 |
padding: 10px 20px;
|
| 71 |
background: #0078ff;
|
| 72 |
color: white;
|
| 73 |
+
border-radius: 8px;
|
| 74 |
border: none;
|
|
|
|
| 75 |
cursor: pointer;
|
| 76 |
}
|
| 77 |
|
| 78 |
+
#typing {
|
| 79 |
+
margin-left: 10px;
|
| 80 |
+
font-style: italic;
|
| 81 |
+
color: #aaa;
|
| 82 |
}
|
| 83 |
|
| 84 |
+
/* Modal Styles */
|
| 85 |
+
.modal {
|
| 86 |
+
display: none;
|
| 87 |
+
position: fixed;
|
| 88 |
+
z-index: 100;
|
| 89 |
+
left: 0;
|
| 90 |
+
top: 0;
|
| 91 |
+
width: 100%;
|
| 92 |
+
height: 100%;
|
| 93 |
+
overflow: auto;
|
| 94 |
+
background-color: rgba(0,0,0,0.7);
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
.modal-content {
|
| 98 |
+
background-color: #1a1a1d;
|
| 99 |
+
margin: 10% auto;
|
| 100 |
+
padding: 20px;
|
| 101 |
+
border-radius: 12px;
|
| 102 |
+
width: 300px;
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
.modal-content label {
|
| 106 |
+
display: block;
|
| 107 |
+
margin: 10px 0;
|
| 108 |
}
|