text-generation-webui/css/html_instruct_style.css

67 lines
1.4 KiB
CSS
Raw Normal View History

2023-04-05 10:49:59 -04:00
.message {
display: grid;
grid-template-columns: 60px 1fr;
padding-bottom: 25px;
font-size: 15px;
font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
2023-09-15 10:31:43 -04:00
line-height: 22px;
2023-04-05 10:49:59 -04:00
}
.username {
display: none;
}
2023-10-20 15:30:01 -04:00
.message-body p, .message-body li {
2023-04-05 10:49:59 -04:00
font-size: 15px !important;
2023-10-20 15:30:01 -04:00
line-height: 22.5px !important;
2023-04-05 10:49:59 -04:00
}
2023-10-11 15:18:46 -04:00
.message-body p, .chat .message-body ul, .chat .message-body ol {
2023-10-20 15:30:01 -04:00
margin-bottom: 23.4375px !important;
2023-06-19 23:46:18 -04:00
}
2023-10-11 15:18:46 -04:00
.message-body p:last-child, .chat .message-body ul:last-child, .chat .message-body ol:last-child {
2023-10-20 16:02:18 -04:00
margin-bottom: 0 !important;
2023-10-11 15:18:46 -04:00
}
2023-04-05 10:49:59 -04:00
.dark .message-body p em {
2023-10-20 16:02:18 -04:00
color: rgb(198 202 214) !important;
2023-04-05 10:49:59 -04:00
}
.message-body p em {
2023-10-20 16:02:18 -04:00
color: rgb(110 110 110) !important;
2023-04-05 10:49:59 -04:00
}
2023-04-06 11:00:20 -04:00
.gradio-container .chat .assistant-message {
2023-10-20 15:30:01 -04:00
padding: 20px;
2023-10-22 15:28:23 -04:00
border-radius: 20px;
2023-05-25 12:12:34 -04:00
background-color: #0000000f;
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-10-20 15:30:01 -04:00
padding: 20px;
2023-10-22 15:28:23 -04:00
border-radius: 20px;
2023-05-25 12:12:34 -04:00
margin-bottom: 9px !important;
2023-04-05 10:49:59 -04:00
}
.gradio-container .chat .assistant-message:last-child, .gradio-container .chat .user-message:last-child {
2023-10-20 16:02:18 -04:00
margin-bottom: 0 !important;
}
2023-04-06 11:00:20 -04:00
.dark .chat .assistant-message {
background-color: #1f2937;
}
2023-06-06 06:00:00 -04:00
.dark .chat .user-message {
2023-09-14 08:56:57 -04:00
background-color: transparent;
2023-06-06 06:00:00 -04:00
}
code {
2023-05-25 12:12:34 -04:00
background-color: white !important;
}
.dark code {
background-color: #0e1321 !important;
2023-04-05 10:49:59 -04:00
}