90 lines
1.8 KiB
CSS
90 lines
1.8 KiB
CSS
|
|
.chat-container {
|
||
|
|
max-width: 600px;
|
||
|
|
margin: 20px auto;
|
||
|
|
border-radius: 10px;
|
||
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||
|
|
overflow: hidden;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
justify-content: space-between;
|
||
|
|
height: 80vh;
|
||
|
|
position: relative;
|
||
|
|
background: linear-gradient(to bottom, #1e5799, #2989d8);
|
||
|
|
}
|
||
|
|
.logo {
|
||
|
|
width: auto;
|
||
|
|
height: 50px;
|
||
|
|
margin-left: 10px;
|
||
|
|
margin-top: 10px;
|
||
|
|
margin-bottom: 10px;
|
||
|
|
border-radius: 50px;
|
||
|
|
}
|
||
|
|
.name {
|
||
|
|
font-size: 20px;
|
||
|
|
font-weight: bold;
|
||
|
|
margin: 10px;
|
||
|
|
color: #fff;
|
||
|
|
margin-left: 10px;
|
||
|
|
margin-right: 10px;
|
||
|
|
}
|
||
|
|
.chat-window {
|
||
|
|
flex-grow: 1;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: flex-end;
|
||
|
|
padding: 20px;
|
||
|
|
background-color: #fff;
|
||
|
|
overflow-y: auto;
|
||
|
|
}
|
||
|
|
.input-container {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
padding: 20px;
|
||
|
|
background-color: #fff;
|
||
|
|
}
|
||
|
|
input[type="text"] {
|
||
|
|
width: 100%;
|
||
|
|
padding: 10px;
|
||
|
|
border: none;
|
||
|
|
border-radius: 5px;
|
||
|
|
outline: none;
|
||
|
|
font-size: 16px;
|
||
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
|
||
|
|
}
|
||
|
|
.chat-log {
|
||
|
|
height: 400px;
|
||
|
|
padding: 20px;
|
||
|
|
overflow-y: auto;
|
||
|
|
background-color: rgba(255, 255, 255, 0.8);
|
||
|
|
}
|
||
|
|
/* Added space between user prompts */
|
||
|
|
.chat-log p {
|
||
|
|
margin: 10px 0;
|
||
|
|
}
|
||
|
|
.input-container input[type="text"] {
|
||
|
|
flex: 1;
|
||
|
|
height: 40px;
|
||
|
|
padding: 5px 10px;
|
||
|
|
border: 1px solid #ccc;
|
||
|
|
border-radius: 5px;
|
||
|
|
font-size: 16px;
|
||
|
|
outline: none;
|
||
|
|
}
|
||
|
|
.input-container button {
|
||
|
|
margin-left: 10px;
|
||
|
|
padding: 8px 16px;
|
||
|
|
border: none;
|
||
|
|
border-radius: 5px;
|
||
|
|
background-color: #4CAF50;
|
||
|
|
color: #fff;
|
||
|
|
font-size: 16px;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
.input-container button:hover {
|
||
|
|
background-color: #45a049;
|
||
|
|
}
|
||
|
|
html, body {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
font-family: Arial, sans-serif;
|
||
|
|
}
|