html_cai_style.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. .chat {
  2. margin-left: auto;
  3. margin-right: auto;
  4. max-width: 800px;
  5. height: 66.67vh;
  6. overflow-y: auto;
  7. padding-right: 20px;
  8. display: flex;
  9. flex-direction: column-reverse;
  10. word-break: break-word;
  11. overflow-wrap: anywhere;
  12. }
  13. .message {
  14. display: grid;
  15. grid-template-columns: 60px minmax(0, 1fr);
  16. padding-bottom: 25px;
  17. font-size: 15px;
  18. font-family: Helvetica, Arial, sans-serif;
  19. line-height: 1.428571429;
  20. }
  21. .circle-you {
  22. width: 50px;
  23. height: 50px;
  24. background-color: rgb(238, 78, 59);
  25. border-radius: 50%;
  26. }
  27. .circle-bot {
  28. width: 50px;
  29. height: 50px;
  30. background-color: rgb(59, 78, 244);
  31. border-radius: 50%;
  32. }
  33. .circle-bot img,
  34. .circle-you img {
  35. border-radius: 50%;
  36. width: 100%;
  37. height: 100%;
  38. object-fit: cover;
  39. }
  40. .text {}
  41. .text p {
  42. margin-top: 5px;
  43. }
  44. .username {
  45. font-weight: bold;
  46. }
  47. .message-body {}
  48. .message-body img {
  49. max-width: 300px;
  50. max-height: 300px;
  51. border-radius: 20px;
  52. }
  53. .message-body p {
  54. margin-bottom: 0 !important;
  55. font-size: 15px !important;
  56. line-height: 1.428571429 !important;
  57. }
  58. .message-body li {
  59. margin-top: 0.5em !important;
  60. margin-bottom: 0.5em !important;
  61. }
  62. .message-body li > p {
  63. display: inline !important;
  64. }
  65. .message-body code {
  66. overflow-x: auto;
  67. }
  68. .message-body :not(pre) > code {
  69. white-space: normal !important;
  70. }
  71. .dark .message-body p em {
  72. color: rgb(138, 138, 138) !important;
  73. }
  74. .message-body p em {
  75. color: rgb(110, 110, 110) !important;
  76. }