DeepImagix's picture
Update style.css
9ca4ce9 verified
Raw
History Blame Contribute Delete
1.43 kB
body {
font-family: Arial, sans-serif;
background-color: #f0f2f5;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.chat-container {
background-color: white;
width: 90%;
max-width: 600px;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
}
h1 {
color: #333;
font-size: 24px;
margin-bottom: 5px;
}
p {
color: #666;
font-size: 14px;
margin-bottom: 20px;
}
.chat-box {
background-color: #f9f9f9;
border: 1px solid #ddd;
border-radius: 8px;
height: 400px;
overflow-y: auto;
padding: 10px;
margin-bottom: 20px;
text-align: left;
}
.message {
margin: 10px 0;
padding: 10px;
border-radius: 8px;
max-width: 80%;
}
.user {
background-color: #007bff;
color: white;
margin-left: auto;
margin-right: 10px;
}
.ai {
background-color: #e9ecef;
color: #333;
margin-right: auto;
margin-left: 10px;
}
.chat-form {
display: flex;
gap: 10px;
}
#message-input {
flex: 1;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 16px;
}
button {
padding: 10px 20px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
button:hover {
background-color: #0056b3;
}