mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-18 21:20:39 +01:00
Update styles for mes_reasoning
This commit is contained in:
parent
9a2968d1eb
commit
24c16f622f
@ -292,36 +292,44 @@ input[type='checkbox']:focus-visible {
|
||||
filter: grayscale(25%);
|
||||
}
|
||||
|
||||
.mes_text table {
|
||||
.mes_text table,
|
||||
.mes_reasoning table {
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.mes_text td,
|
||||
.mes_text th {
|
||||
.mes_text th,
|
||||
.mes_reasoning td,
|
||||
.mes_reasoning th {
|
||||
border: 1px solid;
|
||||
border-collapse: collapse;
|
||||
padding: 0.25em;
|
||||
}
|
||||
|
||||
.mes_text p {
|
||||
.mes_text p,
|
||||
.mes_reasoning p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.mes_text li tt {
|
||||
.mes_text li tt,
|
||||
.mes_reasoning li tt {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.mes_text ol,
|
||||
.mes_text ul {
|
||||
.mes_text ul,
|
||||
.mes_reasoning ol,
|
||||
.mes_reasoning ul {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.mes_text br,
|
||||
.mes_bias br {
|
||||
.mes_bias br,
|
||||
.mes_reasoning br {
|
||||
content: ' ';
|
||||
}
|
||||
|
||||
@ -340,7 +348,7 @@ input[type='checkbox']:focus-visible {
|
||||
padding: 5px;
|
||||
margin: 5px 0;
|
||||
overflow-y: auto;
|
||||
max-height: min(50vh, 300px);
|
||||
max-height: 90vh;
|
||||
}
|
||||
|
||||
.mes_reasoning_summary {
|
||||
@ -370,24 +378,30 @@ input[type='checkbox']:focus-visible {
|
||||
}
|
||||
|
||||
.mes_text i,
|
||||
.mes_text em {
|
||||
.mes_text em,
|
||||
.mes_reasoning i,
|
||||
.mes_reasoning em {
|
||||
color: var(--SmartThemeEmColor);
|
||||
}
|
||||
|
||||
.mes_text u {
|
||||
.mes_text u,
|
||||
.mes_reasoning u {
|
||||
color: var(--SmartThemeUnderlineColor);
|
||||
}
|
||||
|
||||
.mes_text q {
|
||||
.mes_text q,
|
||||
.mes_reasoning q {
|
||||
color: var(--SmartThemeQuoteColor);
|
||||
}
|
||||
|
||||
.mes_text font[color] em,
|
||||
.mes_text font[color] i {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.mes_text font[color] q {
|
||||
.mes_text font[color] i,
|
||||
.mes_text font[color] u,
|
||||
.mes_text font[color] q,
|
||||
.mes_reasoning font[color] em,
|
||||
.mes_reasoning font[color] i,
|
||||
.mes_reasoning font[color] u,
|
||||
.mes_reasoning font[color] q {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
@ -395,7 +409,8 @@ input[type='checkbox']:focus-visible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mes_text blockquote {
|
||||
.mes_text blockquote,
|
||||
.mes_reasoning blockquote {
|
||||
border-left: 3px solid var(--SmartThemeQuoteColor);
|
||||
padding-left: 10px;
|
||||
background-color: var(--black30a);
|
||||
@ -405,18 +420,24 @@ input[type='checkbox']:focus-visible {
|
||||
.mes_text strong em,
|
||||
.mes_text strong,
|
||||
.mes_text h2,
|
||||
.mes_text h1 {
|
||||
.mes_text h1,
|
||||
.mes_reasoning strong em,
|
||||
.mes_reasoning strong,
|
||||
.mes_reasoning h2,
|
||||
.mes_reasoning h1 {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.mes_text pre code {
|
||||
.mes_text pre code,
|
||||
.mes_reasoning pre code {
|
||||
position: relative;
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
.mes_text img:not(.mes_img) {
|
||||
.mes_text img:not(.mes_img),
|
||||
.mes_reasoning img:not(.mes_img) {
|
||||
max-width: 100%;
|
||||
max-height: var(--doc-height);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user