feat: форматирование — переносы строк, жирный, списки, цветные блоки

This commit is contained in:
2026-06-01 22:56:11 +03:00
parent 57954b3e65
commit 553665c61e
2 changed files with 42 additions and 7 deletions
+11 -3
View File
@@ -20,9 +20,17 @@ h1 { color: #7c6ff7; margin: 0 0 8px; font-size: 20px; }
#status { text-align: center; color: #888; font-size: 14px; min-height: 20px; margin: 6px 0; }
#chat { border: 1px solid #2a2a3e; border-radius: 8px; padding: 12px; min-height: 200px; max-height: 340px; overflow-y: auto; background: #13132a; }
.user { color: #00cec9; margin: 6px 0; word-break: break-word; font-size: 14px; }
.bot { color: #a29bfe; margin: 6px 0 12px; word-break: break-word; font-size: 14px; }
#chat { border: 1px solid #2a2a3e; border-radius: 8px; padding: 14px; min-height: 200px; max-height: 340px; overflow-y: auto; background: #13132a; line-height: 1.6; }
.user { background: #0d2d2d; border-left: 3px solid #00cec9; padding: 8px 12px; margin: 8px 0; border-radius: 0 6px 6px 0; color: #00cec9; font-size: 14px; }
.user p { margin: 0; }
.bot { background: #1a1a3e; border-left: 3px solid #a29bfe; padding: 10px 14px; margin: 8px 0 16px; border-radius: 0 6px 6px 0; color: #d0d0f0; font-size: 14px; }
.bot p { margin: 4px 0; }
.bot h1, .bot h2, .bot h3 { color: #7c6ff7; margin: 8px 0 4px; font-size: 15px; }
.bot b { color: #fff; }
.bot code { background: #2a2a4e; padding: 1px 5px; border-radius: 3px; font-size: 13px; color: #f8c291; }
.bot ul, .bot ol { margin: 4px 0; padding-left: 20px; }
.bot li { margin: 2px 0; }
.bot hr { border: none; border-top: 1px solid #2a2a3e; margin: 10px 0; }
#sidebar { width: 280px; background: #111122; border-left: 1px solid #2a2a3e; padding: 14px; overflow-y: auto; }
#history-title { color: #7c6ff7; font-weight: bold; margin-bottom: 10px; font-size: 15px; }