html_instruct_style.css 1.2 KB

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