html_instruct_style.css 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. .text p {
  20. margin-top: 5px;
  21. }
  22. .username {
  23. display: none;
  24. }
  25. .message-body {}
  26. .message-body p {
  27. margin-bottom: 0 !important;
  28. font-size: 15px !important;
  29. line-height: 1.428571429 !important;
  30. }
  31. .message-body li {
  32. margin-top: 0.5em !important;
  33. margin-bottom: 0.5em !important;
  34. }
  35. .message-body li > p {
  36. display: inline !important;
  37. }
  38. .dark .message-body p em {
  39. color: rgb(138, 138, 138) !important;
  40. }
  41. .message-body p em {
  42. color: rgb(110, 110, 110) !important;
  43. }
  44. .gradio-container .chat .assistant-message {
  45. padding: 15px;
  46. border-radius: 20px;
  47. background-color: #0000000f;
  48. margin-bottom: 17.5px;
  49. }
  50. .gradio-container .chat .user-message {
  51. padding: 15px;
  52. border-radius: 20px;
  53. margin-bottom: 17.5px !important;
  54. }
  55. .dark .chat .assistant-message {
  56. background-color: #ffffff21;
  57. }