text-generation-webui/css/html_instruct_style.css

64 lines
1.2 KiB
CSS
Raw Normal View History

2023-04-05 16:49:59 +02:00
.message {
display: grid;
grid-template-columns: 60px 1fr;
padding-bottom: 25px;
font-size: 15px;
font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
2023-04-05 16:49:59 +02:00
line-height: 1.428571429;
}
.username {
display: none;
}
.message-body p {
font-size: 15px !important;
line-height: 1.4 !important;
2023-05-05 05:36:15 +02:00
margin-bottom: 1.25em !important;
2023-04-05 16:49:59 +02:00
}
2023-06-20 05:46:18 +02:00
.message-body ul, .message-body ol {
margin-bottom: 1.25em !important;
}
2023-04-05 16:49:59 +02:00
.dark .message-body p em {
2023-05-03 04:38:51 +02:00
color: rgb(198, 202, 214) !important;
2023-04-05 16:49:59 +02:00
}
.message-body p em {
color: rgb(110, 110, 110) !important;
}
2023-04-06 17:00:20 +02:00
.gradio-container .chat .assistant-message {
2023-05-25 18:12:34 +02:00
padding: 15px;
border-radius: 20px;
background-color: #0000000f;
margin-top: 9px !important;
margin-bottom: 18px !important;
2023-04-05 16:49:59 +02:00
}
2023-04-06 17:00:20 +02:00
.gradio-container .chat .user-message {
2023-05-25 18:12:34 +02:00
padding: 15px;
border-radius: 20px;
margin-bottom: 9px !important;
2023-04-05 16:49:59 +02:00
}
.gradio-container .chat .assistant-message:last-child, .gradio-container .chat .user-message:last-child {
margin-bottom: 0px !important;
}
2023-04-06 17:00:20 +02:00
.dark .chat .assistant-message {
background-color: #1f2937;
}
2023-06-06 12:00:00 +02:00
.dark .chat .user-message {
2023-09-14 14:56:57 +02:00
background-color: transparent;
2023-06-06 12:00:00 +02:00
}
code {
2023-05-25 18:12:34 +02:00
background-color: white !important;
}
.dark code {
background-color: #0e1321 !important;
2023-04-05 16:49:59 +02:00
}