text-generation-webui/css/chat_style-cai-chat.css

90 lines
1.6 KiB
CSS
Raw Normal View History

.message {
display: grid;
align-items: start;
grid-template-columns: 60px minmax(0, 1fr);
2025-05-17 03:22:43 +02:00
padding-bottom: 1.5em;
padding-top: 0.5em;
font-size: 15px;
font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
2023-10-20 21:30:01 +02:00
line-height: 22.5px !important;
}
.message-body {
margin-top: 3px;
font-size: 15px !important;
}
.circle-you {
width: 50px;
height: 50px;
2023-10-20 22:02:18 +02:00
background-color: rgb(238 78 59);
border-radius: 50%;
}
.circle-bot {
width: 50px;
height: 50px;
2023-10-20 22:02:18 +02:00
background-color: rgb(59 78 244);
border-radius: 50%;
}
.circle-bot img,
.circle-you img {
border-radius: 50%;
width: 100%;
height: 100%;
object-fit: cover;
}
.username {
font-weight: bold;
}
.message-body img {
max-width: 300px;
max-height: 300px;
border-radius: 20px;
}
.message-body p {
font-size: 15px !important;
2023-10-20 21:30:01 +02:00
line-height: 22.5px !important;
font-weight: 500;
2023-10-20 21:30:01 +02:00
}
.dark .message-body p em {
2023-10-20 22:02:18 +02:00
color: rgb(138 138 138) !important;
}
.message-body p em {
2023-10-20 22:02:18 +02:00
color: rgb(110 110 110) !important;
2023-09-15 02:18:59 +02:00
font-weight: 500;
}
/* Standard spacing */
.chat .message-body :is(p, ul, ol) {
margin: 1.25em 0 !important;
}
.chat .message-body :is(p, ul, ol):first-child {
margin-top: 0 !important;
}
.chat .message-body :is(p, ul, ol):last-child {
margin-bottom: 0 !important;
}
.chat .message-body ul, .chat .message-body ol {
padding-inline-start: 2em;
}
.message-body li {
list-style-position: outside;
margin-top: 0.5em !important;
margin-bottom: 0.5em !important;
}
.message-body li > p {
display: inline !important;
}