2023-04-05 10:49:59 -04:00
|
|
|
.chat {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
max-width: 800px;
|
|
|
|
height: 66.67vh;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding-right: 20px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 60px 1fr;
|
|
|
|
padding-bottom: 25px;
|
|
|
|
font-size: 15px;
|
|
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
|
|
line-height: 1.428571429;
|
|
|
|
}
|
|
|
|
|
|
|
|
.username {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-body {}
|
|
|
|
|
|
|
|
.message-body p {
|
|
|
|
font-size: 15px !important;
|
|
|
|
}
|
|
|
|
|
2023-04-06 15:15:04 -04:00
|
|
|
.message-body li {
|
|
|
|
margin-top: 0.5em !important;
|
|
|
|
margin-bottom: 0.5em !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-body li > p {
|
|
|
|
display: inline !important;
|
|
|
|
}
|
|
|
|
|
2023-04-05 10:49:59 -04:00
|
|
|
.dark .message-body p em {
|
|
|
|
color: rgb(138, 138, 138) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-body p em {
|
|
|
|
color: rgb(110, 110, 110) !important;
|
|
|
|
}
|
|
|
|
|
2023-04-06 11:00:20 -04:00
|
|
|
.gradio-container .chat .assistant-message {
|
2023-04-06 01:20:52 -04:00
|
|
|
padding: 15px;
|
2023-04-06 11:00:20 -04:00
|
|
|
border-radius: 20px;
|
|
|
|
background-color: #0000000f;
|
2023-04-10 15:04:21 -04:00
|
|
|
margin-top: 9px !important;
|
|
|
|
margin-bottom: 18px !important;
|
2023-04-05 10:49:59 -04:00
|
|
|
}
|
|
|
|
|
2023-04-06 11:00:20 -04:00
|
|
|
.gradio-container .chat .user-message {
|
2023-04-06 01:20:52 -04:00
|
|
|
padding: 15px;
|
2023-04-06 11:00:20 -04:00
|
|
|
border-radius: 20px;
|
2023-04-10 15:04:21 -04:00
|
|
|
margin-bottom: 9px !important;
|
2023-04-05 10:49:59 -04:00
|
|
|
}
|
|
|
|
|
2023-04-06 11:00:20 -04:00
|
|
|
.dark .chat .assistant-message {
|
2023-04-10 15:04:21 -04:00
|
|
|
background-color: #374151;
|
2023-04-05 10:49:59 -04:00
|
|
|
}
|