html_cai_style.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. }
  11. .message {
  12. display: grid;
  13. grid-template-columns: 60px 1fr;
  14. padding-bottom: 25px;
  15. font-size: 15px;
  16. font-family: Helvetica, Arial, sans-serif;
  17. line-height: 1.428571429;
  18. }
  19. .circle-you {
  20. width: 50px;
  21. height: 50px;
  22. background-color: rgb(238, 78, 59);
  23. border-radius: 50%;
  24. }
  25. .circle-bot {
  26. width: 50px;
  27. height: 50px;
  28. background-color: rgb(59, 78, 244);
  29. border-radius: 50%;
  30. }
  31. .circle-bot img,
  32. .circle-you img {
  33. border-radius: 50%;
  34. width: 100%;
  35. height: 100%;
  36. object-fit: cover;
  37. }
  38. .text {}
  39. .text p {
  40. margin-top: 5px;
  41. }
  42. .username {
  43. font-weight: bold;
  44. }
  45. .message-body {}
  46. .message-body img {
  47. max-width: 300px;
  48. max-height: 300px;
  49. border-radius: 20px;
  50. }
  51. .message-body p {
  52. margin-bottom: 0 !important;
  53. font-size: 15px !important;
  54. line-height: 1.428571429 !important;
  55. }
  56. .message-body li {
  57. margin-top: 0.5em !important;
  58. margin-bottom: 0.5em !important;
  59. }
  60. .message-body li > p {
  61. display: inline !important;
  62. }
  63. .dark .message-body p em {
  64. color: rgb(138, 138, 138) !important;
  65. }
  66. .message-body p em {
  67. color: rgb(110, 110, 110) !important;
  68. }