Update styles for mes_reasoning
| @@ -292,36 +292,44 @@ input[type='checkbox']:focus-visible { | ||
| 292 | 292 | filter: grayscale(25%); |
| 293 | 293 | } |
| 294 | 294 | |
| 295 | 295 | .mes_text table {, |
| 296 | +.mes_reasoning table { | |
| 296 | 297 | border-spacing: 0; |
| 297 | 298 | border-collapse: collapse; |
| 298 | 299 | margin-bottom: 10px; |
| 299 | 300 | } |
| 300 | 301 | |
| 301 | 302 | .mes_text td, |
| 302 | 303 | .mes_text th {, |
| 304 | +.mes_reasoning td, | |
| 305 | +.mes_reasoning th { | |
| 303 | 306 | border: 1px solid; |
| 304 | 307 | border-collapse: collapse; |
| 305 | 308 | padding: 0.25em; |
| 306 | 309 | } |
| 307 | 310 | |
| 308 | 311 | .mes_text p {, |
| 312 | +.mes_reasoning p { | |
| 309 | 313 | margin-top: 0; |
| 310 | 314 | margin-bottom: 10px; |
| 311 | 315 | } |
| 312 | 316 | |
| 313 | 317 | .mes_text li tt {, |
| 318 | +.mes_reasoning li tt { | |
| 314 | 319 | display: inline-block; |
| 315 | 320 | } |
| 316 | 321 | |
| 317 | 322 | .mes_text ol, |
| 318 | 323 | .mes_text ul {, |
| 324 | +.mes_reasoning ol, | |
| 325 | +.mes_reasoning ul { | |
| 319 | 326 | margin-top: 5px; |
| 320 | 327 | margin-bottom: 5px; |
| 321 | 328 | } |
| 322 | 329 | |
| 323 | 330 | .mes_text br, |
| 324 | 331 | .mes_bias br {, |
| 332 | +.mes_reasoning br { | |
| 325 | 333 | content: ' '; |
| 326 | 334 | } |
| 327 | 335 | |
| @@ -340,7 +348,7 @@ input[type='checkbox']:focus-visible { | ||
| 340 | 348 | padding: 5px; |
| 341 | 349 | margin: 5px 0; |
| 342 | 350 | overflow-y: auto; |
| 343 | 351 | max-height: min(50vh, 300px)90vh; |
| 344 | 352 | } |
| 345 | 353 | |
| 346 | 354 | .mes_reasoning_summary { |
| @@ -370,24 +378,30 @@ input[type='checkbox']:focus-visible { | ||
| 370 | 378 | } |
| 371 | 379 | |
| 372 | 380 | .mes_text i, |
| 373 | 381 | .mes_text em {, |
| 382 | +.mes_reasoning i, | |
| 383 | +.mes_reasoning em { | |
| 374 | 384 | color: var(--SmartThemeEmColor); |
| 375 | 385 | } |
| 376 | 386 | |
| 377 | 387 | .mes_text u {, |
| 388 | +.mes_reasoning u { | |
| 378 | 389 | color: var(--SmartThemeUnderlineColor); |
| 379 | 390 | } |
| 380 | 391 | |
| 381 | 392 | .mes_text q {, |
| 393 | +.mes_reasoning q { | |
| 382 | 394 | color: var(--SmartThemeQuoteColor); |
| 383 | 395 | } |
| 384 | 396 | |
| 385 | 397 | .mes_text font[color] em, |
| 386 | 398 | .mes_text font[color] i {, |
| 387 | - color: inherit; | |
| 399 | +.mes_text font[color] u, | |
| 388 | -} | |
| 400 | +.mes_text font[color] q, | |
| 389 | - | |
| 401 | +.mes_reasoning font[color] em, | |
| 390 | 402 | .mes_textmes_reasoning font[color] q {i, |
| 403 | +.mes_reasoning font[color] u, | |
| 404 | +.mes_reasoning font[color] q { | |
| 391 | 405 | color: inherit; |
| 392 | 406 | } |
| 393 | 407 | |
| @@ -395,7 +409,8 @@ input[type='checkbox']:focus-visible { | ||
| 395 | 409 | display: block; |
| 396 | 410 | } |
| 397 | 411 | |
| 398 | 412 | .mes_text blockquote {, |
| 413 | +.mes_reasoning blockquote { | |
| 399 | 414 | border-left: 3px solid var(--SmartThemeQuoteColor); |
| 400 | 415 | padding-left: 10px; |
| 401 | 416 | background-color: var(--black30a); |
| @@ -405,18 +420,24 @@ input[type='checkbox']:focus-visible { | ||
| 405 | 420 | .mes_text strong em, |
| 406 | 421 | .mes_text strong, |
| 407 | 422 | .mes_text h2, |
| 408 | 423 | .mes_text h1 {, |
| 424 | +.mes_reasoning strong em, | |
| 425 | +.mes_reasoning strong, | |
| 426 | +.mes_reasoning h2, | |
| 427 | +.mes_reasoning h1 { | |
| 409 | 428 | font-weight: bold; |
| 410 | 429 | } |
| 411 | 430 | |
| 412 | 431 | .mes_text pre code {, |
| 432 | +.mes_reasoning pre code { | |
| 413 | 433 | position: relative; |
| 414 | 434 | display: block; |
| 415 | 435 | overflow-x: auto; |
| 416 | 436 | padding: 1em; |
| 417 | 437 | } |
| 418 | 438 | |
| 419 | 439 | .mes_text img:not(.mes_img) {, |
| 440 | +.mes_reasoning img:not(.mes_img) { | |
| 420 | 441 | max-width: 100%; |
| 421 | 442 | max-height: var(--doc-height); |
| 422 | 443 | } |