mini-project / style.css
Rohit Ghosh
made a demo static chatbot ui
aeea182
raw
history blame contribute delete
978 Bytes
/* style.css */
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}
#chat-container {
width: 400px;
height: 500px;
border: 1px solid #ddd;
background-color: #fff;
display: flex;
flex-direction: column;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#chat-box {
flex: 1;
padding: 15px;
overflow-y: auto;
border-bottom: 1px solid #ddd;
}
#chat-log div {
margin-bottom: 10px;
}
.user-message {
text-align: right;
color: blue;
}
.bot-message {
text-align: left;
color: green;
}
#input-container {
display: flex;
padding: 10px;
}
#user-input {
flex: 1;
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
}
button {
margin-left: 10px;
padding: 8px 16px;
border: none;
background-color: #5a67d8;
color: white;
cursor: pointer;
border-radius: 4px;
}
button:hover {
background-color: #4c51bf;
}