mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-26 06:10:39 +01:00
67 lines
1.4 KiB
CSS
67 lines
1.4 KiB
CSS
.message {
|
|
display: grid;
|
|
grid-template-columns: 60px 1fr;
|
|
padding-bottom: 25px;
|
|
font-size: 15px;
|
|
font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
|
|
line-height: 22px;
|
|
}
|
|
|
|
.username {
|
|
display: none;
|
|
}
|
|
|
|
.message-body p, .message-body li {
|
|
font-size: 15px !important;
|
|
line-height: 22.5px !important;
|
|
}
|
|
|
|
.message-body p, .chat .message-body ul, .chat .message-body ol {
|
|
margin-bottom: 23.4375px !important;
|
|
}
|
|
|
|
.message-body p:last-child, .chat .message-body ul:last-child, .chat .message-body ol:last-child {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.dark .message-body p em {
|
|
color: rgb(198 202 214) !important;
|
|
}
|
|
|
|
.message-body p em {
|
|
color: rgb(110 110 110) !important;
|
|
}
|
|
|
|
.gradio-container .chat .assistant-message {
|
|
padding: 20px;
|
|
border-radius: 20px;
|
|
background-color: #0000000f;
|
|
margin-top: 9px !important;
|
|
margin-bottom: 18px !important;
|
|
}
|
|
|
|
.gradio-container .chat .user-message {
|
|
padding: 20px;
|
|
border-radius: 20px;
|
|
margin-bottom: 9px !important;
|
|
}
|
|
|
|
.gradio-container .chat .assistant-message:last-child, .gradio-container .chat .user-message:last-child {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.dark .chat .assistant-message {
|
|
background-color: #1f2937;
|
|
}
|
|
|
|
.dark .chat .user-message {
|
|
background-color: transparent;
|
|
}
|
|
|
|
code {
|
|
background-color: white !important;
|
|
}
|
|
|
|
.dark code {
|
|
background-color: #0e1321 !important;
|
|
} |