57 lines
1.0 KiB
CSS
57 lines
1.0 KiB
CSS
|
body {
|
||
|
background-color: #2c3e50;
|
||
|
color: #ecf0f1;
|
||
|
font-family: Arial, sans-serif;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
height: 100vh;
|
||
|
margin: 0;
|
||
|
padding: 20px;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
#chatHistory {
|
||
|
height: 300px;
|
||
|
flex-grow: 1;
|
||
|
overflow-y: auto;
|
||
|
padding: 10px;
|
||
|
margin-bottom: 20px;
|
||
|
border: 1px solid #34495e;
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
.message {
|
||
|
font-size: 0.9em;
|
||
|
padding: 5px 10px;
|
||
|
margin-bottom: 15px;
|
||
|
padding: 10px;
|
||
|
background-color: #34495e;
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
.userMessage {
|
||
|
align-self: flex-end;
|
||
|
background-color: #2980b9;
|
||
|
}
|
||
|
.assistantMessage {
|
||
|
align-self: flex-start;
|
||
|
background-color: #16a085;
|
||
|
}
|
||
|
#chatForm {
|
||
|
display: flex;
|
||
|
gap: 10px;
|
||
|
}
|
||
|
#promptInput {
|
||
|
flex-grow: 1;
|
||
|
padding: 10px;
|
||
|
border: 1px solid #34495e;
|
||
|
border-radius: 5px;
|
||
|
color: inherit;
|
||
|
background-color: #2c3e50;
|
||
|
}
|
||
|
#sendPrompt {
|
||
|
padding: 10px 20px;
|
||
|
border: none;
|
||
|
border-radius: 5px;
|
||
|
cursor: pointer;
|
||
|
background-color: #2980b9;
|
||
|
color: #ecf0f1;
|
||
|
}
|