2023-12-17 02:16:26 +01:00
|
|
|
.chat {
|
2024-04-26 15:13:11 +02:00
|
|
|
background: transparent;
|
2024-12-17 04:47:41 +01:00
|
|
|
padding: 0;
|
2023-12-27 18:59:23 +01:00
|
|
|
padding-top: 0;
|
2023-12-17 02:16:26 +01:00
|
|
|
}
|
|
|
|
|
2024-12-17 04:47:41 +01:00
|
|
|
.chat > .messages:first-child {
|
|
|
|
padding-top: 0 !important;
|
2023-12-25 23:25:31 +01:00
|
|
|
}
|
|
|
|
|
2024-12-17 04:47:41 +01:00
|
|
|
.chat > .messages > :last-child {
|
|
|
|
margin-bottom: 1.7rem !important;
|
2023-04-05 16:49:59 +02:00
|
|
|
}
|
|
|
|
|
2024-12-17 04:47:41 +01:00
|
|
|
.chat .message-body p, .chat .message-body li {
|
|
|
|
font-size: 1rem !important;
|
|
|
|
line-height: 28px !important;
|
2023-12-25 23:25:31 +01:00
|
|
|
}
|
|
|
|
|
2024-12-18 05:11:51 +01:00
|
|
|
.dark .chat .message-body p,
|
|
|
|
.dark .chat .message-body li,
|
|
|
|
.dark .chat .message-body q {
|
2024-12-17 04:47:41 +01:00
|
|
|
color: #d1d5db !important;
|
2023-04-05 16:49:59 +02:00
|
|
|
}
|
|
|
|
|
2024-12-17 04:47:41 +01:00
|
|
|
.chat .message-body p,
|
|
|
|
.chat .message-body ul,
|
|
|
|
.chat .message-body ol {
|
|
|
|
margin-top: 1.25em !important;
|
|
|
|
margin-bottom: 1.25em !important;
|
2023-04-05 16:49:59 +02:00
|
|
|
}
|
|
|
|
|
2024-12-17 04:47:41 +01:00
|
|
|
.chat .message-body p:first-child,
|
|
|
|
.chat .message-body ul:first-child,
|
|
|
|
.chat .message-body ol:first-child {
|
|
|
|
margin-top: 0 !important;
|
2023-12-17 02:16:26 +01:00
|
|
|
}
|
|
|
|
|
2024-12-17 04:47:41 +01:00
|
|
|
.chat .message-body p:last-child,
|
|
|
|
.chat .message-body ul:last-child,
|
|
|
|
.chat .message-body ol:last-child {
|
2023-10-20 22:02:18 +02:00
|
|
|
margin-bottom: 0 !important;
|
2023-10-11 21:18:46 +02:00
|
|
|
}
|
|
|
|
|
2024-12-17 04:47:41 +01:00
|
|
|
.chat .message-body li {
|
|
|
|
margin-top: 1.25em !important;
|
|
|
|
margin-bottom: 1.25em !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-message, .assistant-message {
|
|
|
|
font-family: Inter, Helvetica, Arial, sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message:first-child {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.username {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat .user-message {
|
|
|
|
padding: 1.5rem 1rem;
|
|
|
|
border-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat .assistant-message {
|
2024-06-28 05:47:42 +02:00
|
|
|
background: #f4f4f4;
|
2024-12-17 04:47:41 +01:00
|
|
|
padding: 1.5rem 1rem;
|
|
|
|
border-radius: 0;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dark .chat .user-message {
|
|
|
|
background: transparent;
|
2023-04-05 16:49:59 +02:00
|
|
|
}
|
|
|
|
|
2024-04-26 15:13:11 +02:00
|
|
|
.dark .chat .assistant-message {
|
2024-12-17 04:47:41 +01:00
|
|
|
background: var(--light-gray);
|
2024-04-26 15:13:11 +02:00
|
|
|
}
|
|
|
|
|
2024-12-17 04:47:41 +01:00
|
|
|
.chat .user-message .text,
|
|
|
|
.chat .assistant-message .text {
|
|
|
|
max-width: 40.25rem;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2023-04-05 16:49:59 +02:00
|
|
|
}
|
|
|
|
|
2024-12-17 04:47:41 +01:00
|
|
|
/* Create space between two assistant messages in a row */
|
|
|
|
.assistant-message + .assistant-message {
|
|
|
|
margin-top: 1.5rem;
|
2023-08-17 20:06:18 +02:00
|
|
|
}
|
|
|
|
|
2024-12-17 04:47:41 +01:00
|
|
|
pre > code {
|
2023-12-17 02:16:26 +01:00
|
|
|
background-color: #f3f4f6 !important;
|
2023-05-05 17:02:45 +02:00
|
|
|
}
|
|
|
|
|
2024-12-17 04:47:41 +01:00
|
|
|
.dark pre > code {
|
2023-12-17 02:16:26 +01:00
|
|
|
background-color: #1f2937 !important;
|
2024-04-26 15:13:11 +02:00
|
|
|
}
|