Advertisement
Guest User

something dark

a guest
Sep 13th, 2024
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.06 KB | None | 0 0
  1. :root {
  2. --background-color: #1A1A2E;
  3. --text-color: #C0C0D0;
  4. --accent-color-1: #E94560;
  5. --accent-color-2: #F0803C;
  6. --secondary-bg: #16213E;
  7. --tertiary-bg: #0F3460;
  8. --quote-color-primary: #F0803C;
  9. --quote-color-secondary: #E94560;
  10. --glow-color: #E9456044;
  11. --code-background: #2A2A4A;
  12. --code-text: #F8F8F2;
  13. --message-font: 'Georgia', serif;
  14. --italic-style: italic;
  15. --main-text-style: normal;
  16. --main-text-weight: 400;
  17. --user-text: #E94560;
  18. --assistant-text: #F0803C;
  19. --user-name-bg: #E94560;
  20. --assistant-name-bg: #F0803C;
  21. --name-text-color: #E0E0E0;
  22. }
  23.  
  24. body {
  25. background-color: var(--background-color);
  26. color: var(--text-color);
  27. font-family: var(--message-font);
  28. line-height: 1.6;
  29. }
  30.  
  31. #chat {
  32. padding: 20px;
  33. }
  34.  
  35. .mes {
  36. padding: 0 !important;
  37. margin-bottom: 15px !important;
  38. }
  39.  
  40. .mes_block {
  41. padding: 20px;
  42. margin-left: 0;
  43. border-radius: 10px;
  44. background-color: var(--secondary-bg);
  45. }
  46.  
  47. .mes .mesAvatarWrapper {
  48. min-height: 100%;
  49. border-radius: 0px 10px 10px 10px !important;
  50. padding: 4px;
  51. width: 8rem;
  52. max-width: 100px;
  53. }
  54.  
  55. .mes .mesAvatarWrapper .avatar {
  56. width: 98% !important;
  57. height: auto !important;
  58. align-content: center;
  59. }
  60.  
  61. .mes .mesAvatarWrapper img {
  62. width: 100% !important;
  63. height: auto !important;
  64. aspect-ratio: 4/6 auto;
  65. max-height: 144px;
  66. max-width: 96px;
  67. border-radius: 0px 8px 8px 8px !important;
  68. }
  69.  
  70. .mes[is_user="true"] {
  71. color: #EEE !important;
  72. background: linear-gradient(121deg, rgba(31,31,40,1) 0%, rgba(31,31,40,0) 50%) !important;
  73. border-radius: 0px 10px 10px 10px !important;
  74. border: var(--user-name-bg) 2px solid !important;
  75. padding: 5px;
  76. }
  77.  
  78. .mes .name_text {
  79. background: none;
  80. font-weight: 700;
  81. padding: 0;
  82. margin-right: 10px;
  83. font-size: 1.1em;
  84. }
  85.  
  86. .mes .ch_name {
  87. border-bottom: 1px solid var(--accent-color-2);
  88. padding-bottom: 8px;
  89. margin-bottom: 8px;
  90. }
  91.  
  92. .mes .ch_name .flex-container {
  93. display: flex;
  94. align-items: center;
  95. justify-content: space-between;
  96. }
  97.  
  98. .mes[is_user="true"] .name_text {
  99. color: var(--user-name-bg);
  100. }
  101.  
  102. .mes[is_user="false"] .name_text {
  103. color: var(--assistant-name-bg);
  104. }
  105.  
  106. .mes .mes_text {
  107. margin-top: 10px;
  108. }
  109.  
  110. .mes[is_user="true"] p q {
  111. color: var(--user-text);
  112. }
  113.  
  114. .mes[is_user="true"] p em {
  115. color: var(--accent-color-2);
  116. }
  117.  
  118. .mes[is_user="false"] {
  119. color: #EEE !important;
  120. background: linear-gradient(121deg, rgba(31,31,40,1) 0%, rgba(31,31,40,0) 32%) !important;
  121. border: var(--assistant-name-bg) 2px solid !important;
  122. border-radius: 0px 10px 10px 10px !important;
  123. padding: 5px;
  124. }
  125.  
  126. .mes[is_user="false"] p q {
  127. color: var(--assistant-text);
  128. }
  129.  
  130. .mes[is_user="false"] p em {
  131. color: var(--accent-color-1);
  132. }
  133.  
  134. .mes_text p, .mes_text ul, .mes_text ol {
  135. font-size: 1.1rem;
  136. font-family: var(--message-font);
  137. font-style: var(--main-text-style);
  138. font-weight: var(--main-text-weight);
  139. color: var(--text-color);
  140. margin-bottom: 0.75em;
  141. }
  142.  
  143. .mes_text ul, .mes_text ol {
  144. padding-left: 1.5em;
  145. }
  146.  
  147. .mes_text li {
  148. margin-bottom: 0.5em;
  149. }
  150.  
  151. .mes_text em {
  152. font-style: var(--italic-style) !important;
  153. font-weight: inherit;
  154. color: var(--accent-color-1);
  155. }
  156.  
  157. .mes_text strong {
  158. font-weight: bold;
  159. color: var(--accent-color-2);
  160. }
  161.  
  162. .mes_text q {
  163. color: var(--accent-color-2);
  164. }
  165.  
  166. .mes_text code {
  167. background-color: var(--code-background);
  168. color: var(--code-text);
  169. font-family: "Consolas", monospace;
  170. padding: 2px 4px;
  171. border-radius: 4px;
  172. }
  173.  
  174. .mes_text blockquote {
  175. border-left: 3px solid var(--accent-color-1);
  176. padding-left: 1em;
  177. margin-left: 0;
  178. font-style: italic;
  179. color: var(--quote-color-primary);
  180. }
  181.  
  182. .mes_text a {
  183. color: var(--accent-color-2);
  184. text-decoration: underline;
  185. }
  186.  
  187. .mes_text a:hover {
  188. color: var(--accent-color-1);
  189. }
  190.  
  191.  
  192. /* Timestamp styles */
  193. .timestamp {
  194. margin-left: -10px;
  195. display: inline-flex;
  196. align-items: center;
  197. font-size: calc(var(--mainFontSize));
  198. }
  199.  
  200. body.no-timestamps .timestamp::before {
  201. content: attr(title);
  202. font-size: 12px;
  203. position: relative;
  204. top: -2px;
  205. margin-left: 5px;
  206. }
  207.  
  208. .timestamp::after {
  209. display: inline-block;
  210. width: 0px;
  211. overflow: visible;
  212. white-space: pre;
  213. transform: translate(calc(5px * 2 + 14px));
  214. color: var(--text-color);
  215. content: attr(title);
  216. font-size: 0.9rem;
  217. opacity: 0.7;
  218. }
  219.  
  220. .timestamp[title*="undefined - undefined"]::after { content: "Unknown model"; }
  221.  
  222. body.no-modelIcons .timestamp::after {
  223. transform: translate(calc(10px));
  224. }
  225.  
  226. body.no-timestamps .timestamp {
  227. position: relative;
  228. white-space: pre;
  229. overflow: visible;
  230. display: block !important;
  231. color: transparent;
  232. width: 0;
  233. height: 0;
  234. font-size: 0;
  235. }
  236.  
  237. body.no-timestamps .timestamp::after {
  238. position: absolute;
  239. left: 0;
  240. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement