Neu256 commited on
Commit
4c94dba
β€’
1 Parent(s): 0b4a3d7

Upload 46 files

Browse files
Files changed (46) hide show
  1. css/NotoSans/NotoSans-Black.woff +0 -0
  2. css/NotoSans/NotoSans-Black.woff2 +0 -0
  3. css/NotoSans/NotoSans-BlackItalic.woff +0 -0
  4. css/NotoSans/NotoSans-BlackItalic.woff2 +0 -0
  5. css/NotoSans/NotoSans-Bold.woff +0 -0
  6. css/NotoSans/NotoSans-Bold.woff2 +0 -0
  7. css/NotoSans/NotoSans-BoldItalic.woff +0 -0
  8. css/NotoSans/NotoSans-BoldItalic.woff2 +0 -0
  9. css/NotoSans/NotoSans-ExtraBold.woff +0 -0
  10. css/NotoSans/NotoSans-ExtraBold.woff2 +0 -0
  11. css/NotoSans/NotoSans-ExtraBoldItalic.woff +0 -0
  12. css/NotoSans/NotoSans-ExtraBoldItalic.woff2 +0 -0
  13. css/NotoSans/NotoSans-ExtraLight.woff +0 -0
  14. css/NotoSans/NotoSans-ExtraLight.woff2 +0 -0
  15. css/NotoSans/NotoSans-ExtraLightItalic.woff +0 -0
  16. css/NotoSans/NotoSans-ExtraLightItalic.woff2 +0 -0
  17. css/NotoSans/NotoSans-Italic.woff +0 -0
  18. css/NotoSans/NotoSans-Italic.woff2 +0 -0
  19. css/NotoSans/NotoSans-Light.woff +0 -0
  20. css/NotoSans/NotoSans-Light.woff2 +0 -0
  21. css/NotoSans/NotoSans-LightItalic.woff +0 -0
  22. css/NotoSans/NotoSans-LightItalic.woff2 +0 -0
  23. css/NotoSans/NotoSans-Medium.woff +0 -0
  24. css/NotoSans/NotoSans-Medium.woff2 +0 -0
  25. css/NotoSans/NotoSans-MediumItalic.woff +0 -0
  26. css/NotoSans/NotoSans-MediumItalic.woff2 +0 -0
  27. css/NotoSans/NotoSans-Regular.woff +0 -0
  28. css/NotoSans/NotoSans-Regular.woff2 +0 -0
  29. css/NotoSans/NotoSans-SemiBold.woff +0 -0
  30. css/NotoSans/NotoSans-SemiBold.woff2 +0 -0
  31. css/NotoSans/NotoSans-SemiBoldItalic.woff +0 -0
  32. css/NotoSans/NotoSans-SemiBoldItalic.woff2 +0 -0
  33. css/NotoSans/NotoSans-Thin.woff +0 -0
  34. css/NotoSans/NotoSans-Thin.woff2 +0 -0
  35. css/NotoSans/NotoSans-ThinItalic.woff +0 -0
  36. css/NotoSans/NotoSans-ThinItalic.woff2 +0 -0
  37. css/NotoSans/stylesheet.css +166 -0
  38. css/chat_style-TheEncrypted777.css +133 -0
  39. css/chat_style-cai-chat-square.css +21 -0
  40. css/chat_style-cai-chat.css +62 -0
  41. css/chat_style-messenger.css +99 -0
  42. css/chat_style-wpp.css +55 -0
  43. css/html_4chan_style.css +73 -0
  44. css/html_instruct_style.css +82 -0
  45. css/html_readable_style.css +33 -0
  46. css/main.css +699 -0
css/NotoSans/NotoSans-Black.woff ADDED
Binary file (283 kB). View file
 
css/NotoSans/NotoSans-Black.woff2 ADDED
Binary file (189 kB). View file
 
css/NotoSans/NotoSans-BlackItalic.woff ADDED
Binary file (218 kB). View file
 
css/NotoSans/NotoSans-BlackItalic.woff2 ADDED
Binary file (144 kB). View file
 
css/NotoSans/NotoSans-Bold.woff ADDED
Binary file (277 kB). View file
 
css/NotoSans/NotoSans-Bold.woff2 ADDED
Binary file (183 kB). View file
 
css/NotoSans/NotoSans-BoldItalic.woff ADDED
Binary file (216 kB). View file
 
css/NotoSans/NotoSans-BoldItalic.woff2 ADDED
Binary file (142 kB). View file
 
css/NotoSans/NotoSans-ExtraBold.woff ADDED
Binary file (286 kB). View file
 
css/NotoSans/NotoSans-ExtraBold.woff2 ADDED
Binary file (194 kB). View file
 
css/NotoSans/NotoSans-ExtraBoldItalic.woff ADDED
Binary file (222 kB). View file
 
css/NotoSans/NotoSans-ExtraBoldItalic.woff2 ADDED
Binary file (149 kB). View file
 
css/NotoSans/NotoSans-ExtraLight.woff ADDED
Binary file (284 kB). View file
 
css/NotoSans/NotoSans-ExtraLight.woff2 ADDED
Binary file (190 kB). View file
 
css/NotoSans/NotoSans-ExtraLightItalic.woff ADDED
Binary file (226 kB). View file
 
css/NotoSans/NotoSans-ExtraLightItalic.woff2 ADDED
Binary file (151 kB). View file
 
css/NotoSans/NotoSans-Italic.woff ADDED
Binary file (218 kB). View file
 
css/NotoSans/NotoSans-Italic.woff2 ADDED
Binary file (144 kB). View file
 
css/NotoSans/NotoSans-Light.woff ADDED
Binary file (282 kB). View file
 
css/NotoSans/NotoSans-Light.woff2 ADDED
Binary file (190 kB). View file
 
css/NotoSans/NotoSans-LightItalic.woff ADDED
Binary file (224 kB). View file
 
css/NotoSans/NotoSans-LightItalic.woff2 ADDED
Binary file (149 kB). View file
 
css/NotoSans/NotoSans-Medium.woff ADDED
Binary file (283 kB). View file
 
css/NotoSans/NotoSans-Medium.woff2 ADDED
Binary file (191 kB). View file
 
css/NotoSans/NotoSans-MediumItalic.woff ADDED
Binary file (222 kB). View file
 
css/NotoSans/NotoSans-MediumItalic.woff2 ADDED
Binary file (147 kB). View file
 
css/NotoSans/NotoSans-Regular.woff ADDED
Binary file (278 kB). View file
 
css/NotoSans/NotoSans-Regular.woff2 ADDED
Binary file (186 kB). View file
 
css/NotoSans/NotoSans-SemiBold.woff ADDED
Binary file (283 kB). View file
 
css/NotoSans/NotoSans-SemiBold.woff2 ADDED
Binary file (192 kB). View file
 
css/NotoSans/NotoSans-SemiBoldItalic.woff ADDED
Binary file (221 kB). View file
 
css/NotoSans/NotoSans-SemiBoldItalic.woff2 ADDED
Binary file (147 kB). View file
 
css/NotoSans/NotoSans-Thin.woff ADDED
Binary file (276 kB). View file
 
css/NotoSans/NotoSans-Thin.woff2 ADDED
Binary file (181 kB). View file
 
css/NotoSans/NotoSans-ThinItalic.woff ADDED
Binary file (221 kB). View file
 
css/NotoSans/NotoSans-ThinItalic.woff2 ADDED
Binary file (145 kB). View file
 
css/NotoSans/stylesheet.css ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Copied from https://github.com/SillyTavern/SillyTavern/tree/6c8bd06308c69d51e2eb174541792a870a83d2d6/public/webfonts/NotoSans
3
+ */
4
+
5
+ @font-face {
6
+ font-family: 'Noto Sans';
7
+ src: url('file/css/NotoSans/NotoSans-Black.woff2') format('woff2'),
8
+ url('file/css/NotoSans/NotoSans-Black.woff') format('woff');
9
+ font-weight: 900;
10
+ font-style: normal;
11
+ font-display: swap;
12
+ }
13
+
14
+ @font-face {
15
+ font-family: 'Noto Sans';
16
+ src: url('file/css/NotoSans/NotoSans-ExtraBoldItalic.woff2') format('woff2'),
17
+ url('file/css/NotoSans/NotoSans-ExtraBoldItalic.woff') format('woff');
18
+ font-weight: bold;
19
+ font-style: italic;
20
+ font-display: swap;
21
+ }
22
+
23
+ @font-face {
24
+ font-family: 'Noto Sans';
25
+ src: url('file/css/NotoSans/NotoSans-BlackItalic.woff2') format('woff2'),
26
+ url('file/css/NotoSans/NotoSans-BlackItalic.woff') format('woff');
27
+ font-weight: 900;
28
+ font-style: italic;
29
+ font-display: swap;
30
+ }
31
+
32
+ @font-face {
33
+ font-family: 'Noto Sans';
34
+ src: url('file/css/NotoSans/NotoSans-ExtraBold.woff2') format('woff2'),
35
+ url('file/css/NotoSans/NotoSans-ExtraBold.woff') format('woff');
36
+ font-weight: bold;
37
+ font-style: normal;
38
+ font-display: swap;
39
+ }
40
+
41
+ @font-face {
42
+ font-family: 'Noto Sans';
43
+ src: url('file/css/NotoSans/NotoSans-ThinItalic.woff2') format('woff2'),
44
+ url('file/css/NotoSans/NotoSans-ThinItalic.woff') format('woff');
45
+ font-weight: 100;
46
+ font-style: italic;
47
+ font-display: swap;
48
+ }
49
+
50
+ @font-face {
51
+ font-family: 'Noto Sans';
52
+ src: url('file/css/NotoSans/NotoSans-BoldItalic.woff2') format('woff2'),
53
+ url('file/css/NotoSans/NotoSans-BoldItalic.woff') format('woff');
54
+ font-weight: bold;
55
+ font-style: italic;
56
+ font-display: swap;
57
+ }
58
+
59
+ @font-face {
60
+ font-family: 'Noto Sans';
61
+ src: url('file/css/NotoSans/NotoSans-Bold.woff2') format('woff2'),
62
+ url('file/css/NotoSans/NotoSans-Bold.woff') format('woff');
63
+ font-weight: bold;
64
+ font-style: normal;
65
+ font-display: swap;
66
+ }
67
+
68
+ @font-face {
69
+ font-family: 'Noto Sans';
70
+ src: url('file/css/NotoSans/NotoSans-LightItalic.woff2') format('woff2'),
71
+ url('file/css/NotoSans/NotoSans-LightItalic.woff') format('woff');
72
+ font-weight: 300;
73
+ font-style: italic;
74
+ font-display: swap;
75
+ }
76
+
77
+ @font-face {
78
+ font-family: 'Noto Sans';
79
+ src: url('file/css/NotoSans/NotoSans-Italic.woff2') format('woff2'),
80
+ url('file/css/NotoSans/NotoSans-Italic.woff') format('woff');
81
+ font-weight: normal;
82
+ font-style: italic;
83
+ font-display: swap;
84
+ }
85
+
86
+ @font-face {
87
+ font-family: 'Noto Sans';
88
+ src: url('file/css/NotoSans/NotoSans-ExtraLightItalic.woff2') format('woff2'),
89
+ url('file/css/NotoSans/NotoSans-ExtraLightItalic.woff') format('woff');
90
+ font-weight: 200;
91
+ font-style: italic;
92
+ font-display: swap;
93
+ }
94
+
95
+ @font-face {
96
+ font-family: 'Noto Sans';
97
+ src: url('file/css/NotoSans/NotoSans-Light.woff2') format('woff2'),
98
+ url('file/css/NotoSans/NotoSans-Light.woff') format('woff');
99
+ font-weight: 300;
100
+ font-style: normal;
101
+ font-display: swap;
102
+ }
103
+
104
+ @font-face {
105
+ font-family: 'Noto Sans';
106
+ src: url('file/css/NotoSans/NotoSans-ExtraLight.woff2') format('woff2'),
107
+ url('file/css/NotoSans/NotoSans-ExtraLight.woff') format('woff');
108
+ font-weight: 200;
109
+ font-style: normal;
110
+ font-display: swap;
111
+ }
112
+
113
+ @font-face {
114
+ font-family: 'Noto Sans';
115
+ src: url('file/css/NotoSans/NotoSans-Medium.woff2') format('woff2'),
116
+ url('file/css/NotoSans/NotoSans-Medium.woff') format('woff');
117
+ font-weight: 500;
118
+ font-style: normal;
119
+ font-display: swap;
120
+ }
121
+
122
+ @font-face {
123
+ font-family: 'Noto Sans';
124
+ src: url('file/css/NotoSans/NotoSans-Regular.woff2') format('woff2'),
125
+ url('file/css/NotoSans/NotoSans-Regular.woff') format('woff');
126
+ font-weight: normal;
127
+ font-style: normal;
128
+ font-display: swap;
129
+ }
130
+
131
+ @font-face {
132
+ font-family: 'Noto Sans';
133
+ src: url('file/css/NotoSans/NotoSans-MediumItalic.woff2') format('woff2'),
134
+ url('file/css/NotoSans/NotoSans-MediumItalic.woff') format('woff');
135
+ font-weight: 500;
136
+ font-style: italic;
137
+ font-display: swap;
138
+ }
139
+
140
+ @font-face {
141
+ font-family: 'Noto Sans';
142
+ src: url('file/css/NotoSans/NotoSans-SemiBoldItalic.woff2') format('woff2'),
143
+ url('file/css/NotoSans/NotoSans-SemiBoldItalic.woff') format('woff');
144
+ font-weight: 600;
145
+ font-style: italic;
146
+ font-display: swap;
147
+ }
148
+
149
+ @font-face {
150
+ font-family: 'Noto Sans';
151
+ src: url('file/css/NotoSans/NotoSans-SemiBold.woff2') format('woff2'),
152
+ url('file/css/NotoSans/NotoSans-SemiBold.woff') format('woff');
153
+ font-weight: 600;
154
+ font-style: normal;
155
+ font-display: swap;
156
+ }
157
+
158
+ @font-face {
159
+ font-family: 'Noto Sans';
160
+ src: url('file/css/NotoSans/NotoSans-Thin.woff2') format('woff2'),
161
+ url('file/css/NotoSans/NotoSans-Thin.woff') format('woff');
162
+ font-weight: 100;
163
+ font-style: normal;
164
+ font-display: swap;
165
+ }
166
+
css/chat_style-TheEncrypted777.css ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* All credits to TheEncrypted777: https://www.reddit.com/r/Oobabooga/comments/12xe6vq/updated_css_styling_with_color_customization_for/ */
2
+
3
+ .message {
4
+ display: grid;
5
+ grid-template-columns: 60px minmax(0, 1fr);
6
+ padding-bottom: 28px;
7
+ font-size: 18px;
8
+ font-family: 'Noto Sans', Arial, sans-serif;
9
+ line-height: 1.428571429;
10
+ }
11
+
12
+ .circle-you,
13
+ .circle-bot {
14
+ background-color: gray;
15
+ border-radius: 1rem;
16
+ border: 2px solid white;
17
+ }
18
+
19
+ .circle-bot img,
20
+ .circle-you img {
21
+ border-radius: 10%;
22
+ width: 100%;
23
+ height: 100%;
24
+ object-fit: cover;
25
+ }
26
+
27
+ .circle-you, .circle-bot {
28
+ /* You can set the size of the profile images here, but if you do, you have to also adjust the .text{padding-left: 90px} to a different number according to the width of the image which is right below here */
29
+ width: 135px;
30
+ height: 175px;
31
+ }
32
+
33
+ .text {
34
+ /* Change this to move the message box further left or right depending on the size of your profile pic */
35
+ padding-left: 90px;
36
+ text-shadow: 2px 2px 2px rgb(0 0 0 / 40%);
37
+ }
38
+
39
+ .text p {
40
+ margin-top: 2px;
41
+ }
42
+
43
+ .username {
44
+ padding-left: 10px;
45
+ font-size: 22px;
46
+ font-weight: bold;
47
+ border-top: 1px solid rgb(51 64 90);
48
+ padding: 3px;
49
+ }
50
+
51
+ .message-body {
52
+ position: relative;
53
+ border: 1px solid rgb(255 255 255 / 45.9%);
54
+ border-radius: 10px;
55
+ padding: 10px;
56
+ padding-top: 5px;
57
+
58
+ /* Message gradient background color - remove the line bellow if you don't want a background color or gradient */
59
+ background: linear-gradient(to bottom, #171730, #1b263f);
60
+ }
61
+
62
+ /* Adds 2 extra lines at the top and bottom of the message */
63
+ .message-body::before,
64
+ .message-body::after {
65
+ content: "";
66
+ position: absolute;
67
+ left: 10px;
68
+ right: 10px;
69
+ height: 1px;
70
+ background-color: rgb(255 255 255 / 13%);
71
+ }
72
+
73
+ .message-body::before {
74
+ top: 6px;
75
+ }
76
+
77
+ .message-body::after {
78
+ bottom: 6px;
79
+ }
80
+
81
+ .message-body img {
82
+ max-width: 300px;
83
+ max-height: 300px;
84
+ border-radius: 20px;
85
+ }
86
+
87
+ .message-body p {
88
+ margin-bottom: 0 !important;
89
+ font-size: 18px !important;
90
+ line-height: 1.428571429 !important;
91
+ color: rgb(243 244 246) !important;
92
+ text-shadow: 2px 2px 2px rgb(0 0 0);
93
+ }
94
+
95
+ .message-body p em {
96
+ color: rgb(138 138 138) !important;
97
+ }
98
+
99
+ @media screen and (width <= 688px) {
100
+ .message {
101
+ display: grid;
102
+ grid-template-columns: 60px minmax(0, 1fr);
103
+ padding-bottom: 25px;
104
+ font-size: 15px;
105
+ font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
106
+ line-height: 1.428571429;
107
+ }
108
+
109
+ .circle-you, .circle-bot {
110
+ width: 50px;
111
+ height: 73px;
112
+ border-radius: 0.5rem;
113
+ }
114
+
115
+ .circle-bot img,
116
+ .circle-you img {
117
+ width: 100%;
118
+ height: 100%;
119
+ object-fit: cover;
120
+ }
121
+
122
+ .text {
123
+ padding-left: 0;
124
+ }
125
+
126
+ .message-body p {
127
+ font-size: 16px !important;
128
+ }
129
+
130
+ .username {
131
+ font-size: 20px;
132
+ }
133
+ }
css/chat_style-cai-chat-square.css ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url("file/css/chat_style-cai-chat.css");
2
+
3
+ .circle-bot, .circle-you {
4
+ height: 90px;
5
+ width: 60px;
6
+ border-radius: 10px;
7
+ background-color: #656565;
8
+ }
9
+
10
+ .circle-bot img, .circle-you img {
11
+ border-radius: 8.333px;
12
+ }
13
+
14
+ .circle-you {
15
+ background-color: #656565;
16
+ }
17
+
18
+ .message {
19
+ padding-bottom: 30px;
20
+ grid-template-columns: 70px minmax(0, 1fr);
21
+ }
css/chat_style-cai-chat.css ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .message {
2
+ display: grid;
3
+ grid-template-columns: 60px minmax(0, 1fr);
4
+ padding-bottom: 15px;
5
+ font-size: 15px;
6
+ font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
7
+ line-height: 22.5px !important;
8
+ }
9
+
10
+ .message-body {
11
+ margin-top: 3px;
12
+ }
13
+
14
+ .circle-you {
15
+ width: 50px;
16
+ height: 50px;
17
+ background-color: rgb(238 78 59);
18
+ border-radius: 50%;
19
+ }
20
+
21
+ .circle-bot {
22
+ width: 50px;
23
+ height: 50px;
24
+ background-color: rgb(59 78 244);
25
+ border-radius: 50%;
26
+ }
27
+
28
+ .circle-bot img,
29
+ .circle-you img {
30
+ border-radius: 50%;
31
+ width: 100%;
32
+ height: 100%;
33
+ object-fit: cover;
34
+ }
35
+
36
+ .username {
37
+ font-weight: bold;
38
+ }
39
+
40
+ .message-body img {
41
+ max-width: 300px;
42
+ max-height: 300px;
43
+ border-radius: 20px;
44
+ }
45
+
46
+ .message-body p {
47
+ font-size: 15px !important;
48
+ line-height: 22.5px !important;
49
+ }
50
+
51
+ .message-body p, .chat .message-body ul, .chat .message-body ol {
52
+ margin-bottom: 10px !important;
53
+ }
54
+
55
+ .dark .message-body p em {
56
+ color: rgb(138 138 138) !important;
57
+ }
58
+
59
+ .message-body p em {
60
+ color: rgb(110 110 110) !important;
61
+ font-weight: 500;
62
+ }
css/chat_style-messenger.css ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .message {
2
+ padding-bottom: 25px;
3
+ font-size: 15px;
4
+ font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
5
+ line-height: 1.428571429;
6
+ }
7
+
8
+ .circle-you {
9
+ width: 50px;
10
+ height: 50px;
11
+ background-color: rgb(238 78 59);
12
+ border-radius: 50%;
13
+ }
14
+
15
+ .circle-bot {
16
+ width: 50px;
17
+ height: 50px;
18
+ background-color: rgb(59 78 244);
19
+ border-radius: 50%;
20
+ float: left;
21
+ margin-right: 10px;
22
+ margin-top: 5px;
23
+ }
24
+
25
+ .circle-bot img,
26
+ .circle-you img {
27
+ border-radius: 50%;
28
+ width: 100%;
29
+ height: 100%;
30
+ object-fit: cover;
31
+ }
32
+
33
+ .circle-you {
34
+ margin-top: 5px;
35
+ float: right;
36
+ }
37
+
38
+ .circle-bot + .text, .circle-you + .text {
39
+ border-radius: 18px;
40
+ padding: 8px 12px;
41
+ }
42
+
43
+ .circle-bot + .text {
44
+ background-color: #E4E6EB;
45
+ float: left;
46
+ }
47
+
48
+ .circle-you + .text {
49
+ float: right;
50
+ background-color: rgb(0 132 255);
51
+ margin-right: 10px;
52
+ }
53
+
54
+ .circle-you + .text div, .circle-you + .text *, .dark .circle-you + .text div, .dark .circle-you + .text * {
55
+ color: #FFF !important;
56
+ }
57
+
58
+ .circle-you + .text .username {
59
+ text-align: right;
60
+ }
61
+
62
+ .dark .circle-bot + .text div, .dark .circle-bot + .text * {
63
+ color: #000;
64
+ }
65
+
66
+ .text {
67
+ max-width: 80%;
68
+ }
69
+
70
+ .text p {
71
+ margin-top: 5px;
72
+ }
73
+
74
+ .username {
75
+ font-weight: bold;
76
+ }
77
+
78
+ .message-body {
79
+ }
80
+
81
+ .message-body img {
82
+ max-width: 300px;
83
+ max-height: 300px;
84
+ border-radius: 20px;
85
+ }
86
+
87
+ .message-body p {
88
+ margin-bottom: 0 !important;
89
+ font-size: 15px !important;
90
+ line-height: 1.428571429 !important;
91
+ }
92
+
93
+ .dark .message-body p em {
94
+ color: rgb(138 138 138) !important;
95
+ }
96
+
97
+ .message-body p em {
98
+ color: rgb(110 110 110) !important;
99
+ }
css/chat_style-wpp.css ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .message {
2
+ padding-bottom: 25px;
3
+ font-size: 15px;
4
+ font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
5
+ line-height: 1.428571429;
6
+ }
7
+
8
+ .text-you {
9
+ background-color: #d9fdd3;
10
+ border-radius: 15px;
11
+ padding: 10px;
12
+ padding-top: 5px;
13
+ float: right;
14
+ }
15
+
16
+ .text-bot {
17
+ background-color: #f2f2f2;
18
+ border-radius: 15px;
19
+ padding: 10px;
20
+ padding-top: 5px;
21
+ }
22
+
23
+ .dark .text-you {
24
+ background-color: #005c4b;
25
+ color: #111b21;
26
+ }
27
+
28
+ .dark .text-bot {
29
+ background-color: #1f2937;
30
+ color: #111b21;
31
+ }
32
+
33
+ .text-bot p, .text-you p {
34
+ margin-top: 5px;
35
+ }
36
+
37
+ .message-body img {
38
+ max-width: 300px;
39
+ max-height: 300px;
40
+ border-radius: 20px;
41
+ }
42
+
43
+ .message-body p {
44
+ margin-bottom: 0 !important;
45
+ font-size: 15px !important;
46
+ line-height: 1.428571429 !important;
47
+ }
48
+
49
+ .dark .message-body p em {
50
+ color: rgb(138 138 138) !important;
51
+ }
52
+
53
+ .message-body p em {
54
+ color: rgb(110 110 110) !important;
55
+ }
css/html_4chan_style.css ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #parent #container {
2
+ background-color: #eef2ff;
3
+ padding: 17px;
4
+ }
5
+
6
+ #parent #container .reply {
7
+ background-color: rgb(214 218 240);
8
+ border-bottom: 1px solid rgb(183 197 217);
9
+ border-image: none 100% 1 0 stretch;
10
+ border-left: 0 none rgb(0 0 0);
11
+ border-right: 1px solid rgb(183 197 217);
12
+ color: rgb(0 0 0);
13
+ display: table;
14
+ font-family: arial, helvetica, sans-serif;
15
+ font-size: 13.3333px;
16
+ margin: 4px 0;
17
+ overflow: hidden hidden;
18
+ padding: 4px 2px;
19
+ }
20
+
21
+ #parent #container .number {
22
+ color: rgb(0 0 0);
23
+ font-family: arial, helvetica, sans-serif;
24
+ font-size: 13.3333px;
25
+ width: 342.65px;
26
+ margin-right: 7px;
27
+ }
28
+
29
+ #parent #container .op {
30
+ color: rgb(0 0 0);
31
+ font-family: arial, helvetica, sans-serif;
32
+ font-size: 13.3333px;
33
+ margin: 4px 0 8px;
34
+ overflow: hidden hidden;
35
+ }
36
+
37
+ #parent #container .op blockquote {
38
+ margin-left: 0 !important;
39
+ }
40
+
41
+ #parent #container .name {
42
+ color: rgb(17 119 67);
43
+ font-family: arial, helvetica, sans-serif;
44
+ font-size: 13.3333px;
45
+ font-weight: 700;
46
+ margin-left: 7px;
47
+ }
48
+
49
+ #parent #container .quote {
50
+ color: rgb(221 0 0);
51
+ font-family: arial, helvetica, sans-serif;
52
+ font-size: 13.3333px;
53
+ text-decoration: underline solid rgb(221 0 0);
54
+ text-decoration-thickness: auto;
55
+ }
56
+
57
+ #parent #container .greentext {
58
+ color: rgb(120 153 34);
59
+ font-family: arial, helvetica, sans-serif;
60
+ font-size: 13.3333px;
61
+ }
62
+
63
+ #parent #container blockquote {
64
+ margin: 0 !important;
65
+ margin-block: 1em 1em;
66
+ margin-inline: 40px 40px;
67
+ margin: 13.33px 40px !important;
68
+ }
69
+
70
+ #parent #container .message_4chan {
71
+ color: black;
72
+ border: none;
73
+ }
css/html_instruct_style.css ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .chat {
2
+ background: var(--block-background-fill);
3
+ padding: 24px 19px;
4
+ padding-right: 19px !important;
5
+ padding-top: 0;
6
+ border: 1px solid var(--block-border-color);
7
+ }
8
+
9
+ .chat > .messages {
10
+ padding-top: 28px !important;
11
+ }
12
+
13
+ .message {
14
+ display: grid;
15
+ grid-template-columns: 60px 1fr;
16
+ padding-bottom: 25px;
17
+ font-size: 15px;
18
+ font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
19
+ line-height: 24px;
20
+ }
21
+
22
+ .message:first-child {
23
+ padding-top: 0;
24
+ }
25
+
26
+ .username {
27
+ display: none;
28
+ }
29
+
30
+ .message-body p, .message-body li {
31
+ font-size: 15px !important;
32
+ line-height: 24px !important;
33
+ }
34
+
35
+ .message-body p, .chat .message-body ul, .chat .message-body ol {
36
+ margin-bottom: 16px !important;
37
+ }
38
+
39
+ .message-body p:last-child, .chat .message-body ul:last-child, .chat .message-body ol:last-child {
40
+ margin-bottom: 0 !important;
41
+ }
42
+
43
+ .dark .message-body p em {
44
+ color: rgb(198 202 214) !important;
45
+ }
46
+
47
+ .message-body p em {
48
+ color: rgb(110 110 110) !important;
49
+ }
50
+
51
+ .gradio-container .chat .assistant-message {
52
+ padding: 20px;
53
+ background: var(--background-fill-secondary);
54
+ margin-top: 12px !important;
55
+ margin-bottom: 24px !important;
56
+ margin-right: 16px;
57
+ border-radius: 22px;
58
+ border-bottom-left-radius: 0;
59
+ border: 1px solid var(--border-color-primary);
60
+ }
61
+
62
+ .gradio-container .chat .user-message {
63
+ padding: 20px;
64
+ background-color: var(--color-accent-soft);
65
+ margin-bottom: 12px !important;
66
+ margin-left: 16px;
67
+ border-radius: 22px;
68
+ border-bottom-right-radius: 0;
69
+ border: 1px solid var(--border-color-accent-subdued);
70
+ }
71
+
72
+ .gradio-container .chat .assistant-message:last-child, .gradio-container .chat .user-message:last-child {
73
+ margin-bottom: 0 !important;
74
+ }
75
+
76
+ code {
77
+ background-color: #f3f4f6 !important;
78
+ }
79
+
80
+ .dark code {
81
+ background-color: #1f2937 !important;
82
+ }
css/html_readable_style.css ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .readable-container {
2
+ max-width: 600px;
3
+ margin-left: auto;
4
+ margin-right: auto;
5
+ background-color: rgb(31 41 55);
6
+ padding: 3em;
7
+ word-break: break-word;
8
+ overflow-wrap: anywhere;
9
+ color: #efefef !important;
10
+ }
11
+
12
+ .readable-container p, .readable-container li {
13
+ font-size: 16px !important;
14
+ color: #efefef !important;
15
+ margin-bottom: 22px;
16
+ line-height: 1.4 !important;
17
+ }
18
+
19
+ .readable-container li > p {
20
+ display: inline !important;
21
+ }
22
+
23
+ .readable-container code {
24
+ overflow-x: auto;
25
+ }
26
+
27
+ .readable-container :not(pre) > code {
28
+ white-space: normal !important;
29
+ }
30
+
31
+ .readable-container .hoverable {
32
+ font-size: 14px;
33
+ }
css/main.css ADDED
@@ -0,0 +1,699 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .tabs.svelte-710i53 {
2
+ margin-top: 0
3
+ }
4
+
5
+ .py-6 {
6
+ padding-top: 2.5rem
7
+ }
8
+
9
+ .small-button {
10
+ min-width: 0 !important;
11
+ max-width: 171px;
12
+ height: 39.594px;
13
+ align-self: end;
14
+ }
15
+
16
+ .refresh-button {
17
+ max-width: 4.4em;
18
+ min-width: 2.2em !important;
19
+ height: 39.594px;
20
+ align-self: end;
21
+ line-height: 1em;
22
+ border-radius: 0.5em;
23
+ flex: none;
24
+ }
25
+
26
+ .refresh-button-small {
27
+ max-width: 2.2em;
28
+ }
29
+
30
+ .button_nowrap {
31
+ white-space: nowrap;
32
+ }
33
+
34
+ #slim-column {
35
+ flex: none !important;
36
+ min-width: 0 !important;
37
+ }
38
+
39
+ .slim-dropdown {
40
+ background-color: transparent !important;
41
+ border: none !important;
42
+ padding: 0 !important;
43
+ }
44
+
45
+ #download-label, #upload-label {
46
+ min-height: 0
47
+ }
48
+
49
+ .dark svg {
50
+ fill: white;
51
+ }
52
+
53
+ .dark a {
54
+ color: white !important;
55
+ }
56
+
57
+ ol li p, ul li p {
58
+ display: inline-block;
59
+ }
60
+
61
+ #chat-tab, #default-tab, #notebook-tab, #parameters, #chat-settings, #lora, #training-tab, #model-tab, #session-tab {
62
+ border: 0;
63
+ }
64
+
65
+ .gradio-container-3-18-0 .prose * h1, h2, h3, h4 {
66
+ color: white;
67
+ }
68
+
69
+ .gradio-container {
70
+ max-width: 100% !important;
71
+ padding-top: 0 !important;
72
+ }
73
+
74
+ #extensions {
75
+ margin-top: 5px;
76
+ margin-bottom: 35px;
77
+ }
78
+
79
+ .extension-tab {
80
+ border: 0 !important;
81
+ }
82
+
83
+ span.math.inline {
84
+ font-size: 27px;
85
+ vertical-align: baseline !important;
86
+ }
87
+
88
+ div.svelte-15lo0d8 > *, div.svelte-15lo0d8 > .form > * {
89
+ flex-wrap: nowrap;
90
+ }
91
+
92
+ .header_bar {
93
+ background-color: #f7f7f7;
94
+ box-shadow: 0 2px 3px rgba(22 22 22 / 35%);
95
+ margin-bottom: 0;
96
+ overflow-x: scroll;
97
+ margin-left: calc(-1 * var(--size-4));
98
+ margin-right: calc(-1 * var(--size-4));
99
+ display: block !important;
100
+ text-wrap: nowrap;
101
+ z-index: 90;
102
+ }
103
+
104
+ .dark .header_bar {
105
+ border: none !important;
106
+ box-shadow: 0 3px 4px rgba(20 20 20 / 60%);
107
+ background-color: #8080802b;
108
+ }
109
+
110
+ .header_bar button.selected {
111
+ border-radius: 0;
112
+ }
113
+
114
+ .textbox_default textarea {
115
+ height: calc(100dvh - 271px);
116
+ }
117
+
118
+ .textbox_default_output textarea {
119
+ height: calc(100dvh - 185px);
120
+ }
121
+
122
+ .textbox textarea {
123
+ height: calc(100dvh - 241px);
124
+ }
125
+
126
+ .textbox_logits textarea {
127
+ height: calc(100dvh - 236px);
128
+ }
129
+
130
+ .textbox_logits_notebook textarea {
131
+ height: calc(100dvh - 292px);
132
+ }
133
+
134
+ .monospace textarea {
135
+ font-family: monospace;
136
+ }
137
+
138
+ .textbox_default textarea,
139
+ .textbox_default_output textarea,
140
+ .textbox_logits textarea,
141
+ .textbox_logits_notebook textarea,
142
+ .textbox textarea {
143
+ font-size: 16px !important;
144
+ color: #46464A !important;
145
+ }
146
+
147
+ .dark textarea {
148
+ color: #efefef !important;
149
+ }
150
+
151
+ @media screen and (width <= 711px) {
152
+ .textbox_default textarea {
153
+ height: calc(100dvh - 259px);
154
+ }
155
+
156
+ div .default-token-counter {
157
+ top: calc( 0.5 * (100dvh - 236px) ) !important;
158
+ }
159
+
160
+ .transparent-substring {
161
+ display: none;
162
+ }
163
+
164
+ .hover-menu {
165
+ min-width: 250px !important;
166
+ }
167
+ }
168
+
169
+ /* Hide the gradio footer */
170
+ footer {
171
+ display: none !important;
172
+ }
173
+
174
+ button {
175
+ font-size: 14px !important;
176
+ }
177
+
178
+ .file-saver {
179
+ position: fixed !important;
180
+ height: 100%;
181
+ z-index: 1000;
182
+ background-color: rgb(0 0 0 / 50%) !important;
183
+ margin-left: -20px;
184
+ margin-right: -20px;
185
+ }
186
+
187
+ .file-saver > :first-child {
188
+ position: fixed !important;
189
+ top: 50%;
190
+ left: 50%;
191
+ transform: translate(-50%, -50%); /* center horizontally */
192
+ width: 100%;
193
+ max-width: 500px;
194
+ background-color: var(--input-background-fill);
195
+ border: var(--input-border-width) solid var(--input-border-color) !important;
196
+ }
197
+
198
+ .file-saver > :first-child > :last-child {
199
+ background: var(--block-background-fill);
200
+ justify-content: flex-end;
201
+ }
202
+
203
+ .checkboxgroup-table label {
204
+ background: none !important;
205
+ padding: 0 !important;
206
+ border: 0 !important;
207
+ }
208
+
209
+ .checkboxgroup-table div {
210
+ display: grid !important;
211
+ }
212
+
213
+ .markdown ul ol {
214
+ font-size: 100% !important;
215
+ }
216
+
217
+ .pretty_scrollbar::-webkit-scrollbar {
218
+ width: 5px;
219
+ }
220
+
221
+ .pretty_scrollbar::-webkit-scrollbar-track {
222
+ background: transparent;
223
+ }
224
+
225
+ .pretty_scrollbar::-webkit-scrollbar-thumb,
226
+ .pretty_scrollbar::-webkit-scrollbar-thumb:hover {
227
+ background: #c5c5d2;
228
+ }
229
+
230
+ .dark .pretty_scrollbar::-webkit-scrollbar-thumb,
231
+ .dark .pretty_scrollbar::-webkit-scrollbar-thumb:hover {
232
+ background: #374151;
233
+ }
234
+
235
+ .pretty_scrollbar::-webkit-resizer {
236
+ background: #c5c5d2;
237
+ }
238
+
239
+ .dark .pretty_scrollbar::-webkit-resizer {
240
+ background: #374151;
241
+ }
242
+
243
+ audio {
244
+ max-width: 100%;
245
+ }
246
+
247
+ /* Copied from https://github.com/AUTOMATIC1111/stable-diffusion-webui */
248
+ .token-counter {
249
+ position: absolute !important;
250
+ top: calc( 0.5 * (100dvh - 218px) ) !important;
251
+ right: 2px;
252
+ z-index: 100;
253
+ background: var(--input-background-fill) !important;
254
+ min-height: 0 !important;
255
+ }
256
+
257
+ .default-token-counter {
258
+ top: calc( 0.5 * (100dvh - 248px) ) !important;
259
+ }
260
+
261
+ .token-counter span {
262
+ padding: 1px;
263
+ box-shadow: 0 0 0 0.3em rgb(192 192 192 / 15%), inset 0 0 0.6em rgb(192 192 192 / 7.5%);
264
+ border: 2px solid rgb(192 192 192 / 40%) !important;
265
+ border-radius: 0.4em;
266
+ }
267
+
268
+ .no-background {
269
+ background: var(--background-fill-primary) !important;
270
+ padding: 0 !important;
271
+ }
272
+
273
+ /* ----------------------------------------------
274
+ Chat tab
275
+ ---------------------------------------------- */
276
+ .h-\[40vh\], .wrap.svelte-byatnx.svelte-byatnx.svelte-byatnx {
277
+ height: 66.67vh
278
+ }
279
+
280
+ .gradio-container {
281
+ margin-left: auto !important;
282
+ margin-right: auto !important;
283
+ }
284
+
285
+ .w-screen {
286
+ width: unset
287
+ }
288
+
289
+ div.svelte-362y77>*, div.svelte-362y77>.form>* {
290
+ flex-wrap: nowrap
291
+ }
292
+
293
+ .pending.svelte-1ed2p3z {
294
+ opacity: 1;
295
+ }
296
+
297
+ .wrap.svelte-6roggh.svelte-6roggh {
298
+ max-height: 92.5%;
299
+ }
300
+
301
+ /* This is for the microphone button in the whisper extension */
302
+ .sm.svelte-1ipelgc {
303
+ width: 100%;
304
+ }
305
+
306
+ #chat-tab {
307
+ padding-top: 0;
308
+ }
309
+
310
+ #chat-tab button#Generate, #chat-tab button#stop {
311
+ width: 89.3438px !important;
312
+ }
313
+
314
+ #chat-tab button, #notebook-tab button, #default-tab button {
315
+ min-width: 0 !important;
316
+ }
317
+
318
+ #chat-tab > :first-child, #extensions {
319
+ max-width: 880px;
320
+ margin-left: auto;
321
+ margin-right: auto;
322
+ }
323
+
324
+ @media screen and (width <= 688px) {
325
+ #chat-tab {
326
+ padding-left: 0;
327
+ padding-right: 0;
328
+ }
329
+ }
330
+
331
+ .chat {
332
+ margin-left: auto;
333
+ margin-right: auto;
334
+ max-width: 880px;
335
+ min-height: var(--chat-height);
336
+ overflow-y: auto;
337
+ padding-right: 15px;
338
+ display: flex;
339
+ flex-direction: column;
340
+ word-break: break-word;
341
+ overflow-wrap: anywhere;
342
+ border-top: none;
343
+ border-radius: 0 0 0 8px;
344
+ }
345
+
346
+ .chat-parent {
347
+ height: calc(100dvh - 98px - var(--header-height) - var(--input-delta));
348
+ overflow: auto !important;
349
+ border-radius: 0 !important;
350
+ margin-bottom: var(--input-delta) !important;
351
+ }
352
+
353
+ .old-ui .chat-parent {
354
+ height: calc(100dvh - 192px - var(--header-height) - var(--input-delta));
355
+ margin-bottom: var(--input-delta) !important;
356
+ }
357
+
358
+ .chat-parent.bigchat {
359
+ height: calc(100dvh - 98px - var(--header-height) - var(--input-delta)) !important;
360
+ margin-bottom: var(--input-delta) !important;
361
+ }
362
+
363
+ .chat > .messages {
364
+ display: flex;
365
+ flex-direction: column;
366
+ padding-top: 25px;
367
+ }
368
+
369
+ .chat .message:last-child {
370
+ margin-bottom: 0 !important;
371
+ padding-bottom: 0 !important;
372
+ }
373
+
374
+ .message-body li {
375
+ list-style-position: outside;
376
+ }
377
+
378
+ .chat .message-body ul, .chat .message-body ol {
379
+ padding-inline-start: 2em;
380
+ }
381
+
382
+ .message-body li:not(:last-child) {
383
+ margin-top: 0 !important;
384
+ margin-bottom: 2px !important;
385
+ }
386
+
387
+ .message-body li:last-child {
388
+ margin-bottom: 0 !important;
389
+ }
390
+
391
+ .message-body li > p {
392
+ display: inline !important;
393
+ }
394
+
395
+ .message-body ul, .message-body ol {
396
+ font-size: 15px !important;
397
+ }
398
+
399
+ .message-body ul {
400
+ list-style-type: disc !important;
401
+ }
402
+
403
+ .message-body pre:not(:last-child) {
404
+ margin-bottom: 35.625px !important;
405
+ }
406
+
407
+ .message-body pre:last-child {
408
+ margin-bottom: 0 !important;
409
+ }
410
+
411
+ .message-body code {
412
+ white-space: pre-wrap !important;
413
+ word-wrap: break-word !important;
414
+ border: 1px solid var(--border-color-primary);
415
+ border-radius: var(--radius-sm);
416
+ background: var(--background-fill-secondary);
417
+ font-size: 90%;
418
+ padding: 1px 3px;
419
+ }
420
+
421
+ .message-body pre > code {
422
+ display: block;
423
+ padding: 15px;
424
+ }
425
+
426
+ .message-body :not(pre) > code {
427
+ white-space: normal !important;
428
+ }
429
+
430
+ #chat-input {
431
+ padding: 0;
432
+ padding-top: 18px;
433
+ background: transparent;
434
+ border: none;
435
+ }
436
+
437
+ #chat-input textarea:focus {
438
+ box-shadow: none !important;
439
+ }
440
+
441
+ #chat-input > :first-child {
442
+ background-color: transparent;
443
+ }
444
+
445
+ #chat-input .progress-text {
446
+ display: none;
447
+ }
448
+
449
+ @media print {
450
+ body {
451
+ visibility: hidden;
452
+ }
453
+
454
+ .chat {
455
+ visibility: visible;
456
+ position: absolute;
457
+ left: 0;
458
+ top: 0;
459
+ max-width: unset;
460
+ max-height: unset;
461
+ width: 100%;
462
+ overflow-y: visible;
463
+ }
464
+
465
+ .message {
466
+ break-inside: avoid;
467
+ }
468
+
469
+ .gradio-container {
470
+ overflow: visible;
471
+ }
472
+
473
+ .tab-nav {
474
+ display: none !important;
475
+ }
476
+
477
+ #chat-tab > :first-child {
478
+ max-width: unset;
479
+ }
480
+ }
481
+
482
+ #show-controls {
483
+ position: absolute;
484
+ height: 100%;
485
+ background-color: var(--background-fill-primary);
486
+ border: 0 !important;
487
+ border-radius: 0;
488
+ }
489
+
490
+ #show-controls label {
491
+ z-index: 1000;
492
+ position: absolute;
493
+ left: calc(100% - 168px);
494
+ }
495
+
496
+ #show-controls span {
497
+ opacity: 0.6;
498
+ }
499
+
500
+ #typing-container {
501
+ display: none;
502
+ position: absolute;
503
+ background-color: transparent;
504
+ left: -2px;
505
+ padding: var(--block-padding);
506
+ }
507
+
508
+ .typing {
509
+ position: relative;
510
+ }
511
+
512
+ .visible-dots #typing-container {
513
+ display: block;
514
+ }
515
+
516
+ .typing span {
517
+ content: '';
518
+ animation: blink 1.5s infinite;
519
+ animation-fill-mode: both;
520
+ height: 10px;
521
+ width: 10px;
522
+ background: #3b5998;;
523
+ position: absolute;
524
+ left:0;
525
+ top:0;
526
+ border-radius: 50%;
527
+ }
528
+
529
+ .typing .dot1 {
530
+ animation-delay: .2s;
531
+ margin-left: calc(10px * 1.5);
532
+ }
533
+
534
+ .typing .dot2 {
535
+ animation-delay: .4s;
536
+ margin-left: calc(10px * 3);
537
+ }
538
+
539
+ @keyframes blink {
540
+ 0% {
541
+ opacity: .1;
542
+ }
543
+
544
+ 20% {
545
+ opacity: 1;
546
+ }
547
+
548
+ 100% {
549
+ opacity: .1;
550
+ }
551
+ }
552
+
553
+ #chat-tab .generating {
554
+ display: none !important;
555
+ }
556
+
557
+ .hover-element {
558
+ position: relative;
559
+ font-size: 24px;
560
+ }
561
+
562
+ .hover-menu {
563
+ display: none;
564
+ position: absolute;
565
+ bottom: 80%;
566
+ left: 0;
567
+ background-color: var(--background-fill-secondary);
568
+ box-shadow: 0 0 10px rgb(0 0 0 / 50%);
569
+ z-index: 10000;
570
+ min-width: 330px;
571
+ flex-direction: column;
572
+ }
573
+
574
+ .hover-menu button {
575
+ width: 100%;
576
+ background: transparent !important;
577
+ border-radius: 0 !important;
578
+ justify-content: space-between;
579
+ margin: 0 !important;
580
+ height: 36px;
581
+ }
582
+
583
+ .hover-menu button:not(#clear-history-confirm) {
584
+ border-bottom: 0 !important;
585
+ }
586
+
587
+ .hover-menu button:not(#clear-history-confirm):last-child {
588
+ border-bottom: var(--button-border-width) solid var(--button-secondary-border-color) !important;
589
+ }
590
+
591
+ .hover-menu button:hover {
592
+ background: var(--button-secondary-background-fill-hover) !important;
593
+ }
594
+
595
+ .transparent-substring {
596
+ opacity: 0.333;
597
+ }
598
+
599
+ #chat-tab:not(.old-ui) #chat-buttons {
600
+ display: none !important;
601
+ }
602
+
603
+ #gr-hover-container {
604
+ min-width: 0 !important;
605
+ display: flex;
606
+ flex-direction: column-reverse;
607
+ padding-right: 20px;
608
+ padding-bottom: 3px;
609
+ flex-grow: 0 !important;
610
+ }
611
+
612
+ #generate-stop-container {
613
+ min-width: 0 !important;
614
+ display: flex;
615
+ flex-direction: column-reverse;
616
+ padding-bottom: 3px;
617
+ flex: 0 auto !important;
618
+ }
619
+
620
+ #chat-input-container {
621
+ min-width: 0 !important;
622
+ }
623
+
624
+ #chat-input-container > .form {
625
+ background: transparent;
626
+ border: none;
627
+ }
628
+
629
+ #chat-input-row {
630
+ padding-bottom: 20px;
631
+ }
632
+
633
+ .old-ui #chat-input-row, #chat-input-row.bigchat {
634
+ padding-bottom: 0 !important;
635
+ }
636
+
637
+ #chat-col {
638
+ padding-bottom: 100px;
639
+ }
640
+
641
+ .old-ui #chat-col, #chat-col.bigchat {
642
+ padding-bottom: 80px !important;
643
+ }
644
+
645
+ .old-ui #chat-buttons #clear-history-confirm {
646
+ order: -1;
647
+ }
648
+
649
+ .chat ol, .chat ul {
650
+ margin-top: 6px !important;
651
+ }
652
+
653
+ /* ----------------------------------------------
654
+ Past chats menus
655
+ ---------------------------------------------- */
656
+ #rename-row label {
657
+ margin-top: var(--layout-gap);
658
+ }
659
+
660
+ /* ----------------------------------------------
661
+ Past chat histories in a side bar on desktop
662
+ ---------------------------------------------- */
663
+ @media screen and (width >= 1327px) {
664
+ #past-chats-row {
665
+ position: absolute;
666
+ top: 16px;
667
+ left: 0;
668
+ width: calc(0.5*(var(--document-width) - 880px - 120px - 16px*2));
669
+ max-width: 300px;
670
+ margin-left: calc(-0.5*(var(--document-width) - 880px - 14px - 16px * 2));
671
+ }
672
+ }
673
+
674
+ /* ----------------------------------------------
675
+ Keep dropdown menus above errored components
676
+ ---------------------------------------------- */
677
+ .options {
678
+ z-index: 100 !important;
679
+ }
680
+
681
+ /* ----------------------------------------------
682
+ Big profile picture for characters
683
+ ---------------------------------------------- */
684
+ .bigProfilePicture {
685
+ position: fixed;
686
+ bottom: 0;
687
+ left: 0;
688
+ width: calc((100vw - 880px - 120px) /2);
689
+ }
690
+
691
+ .pfp_character:hover {
692
+ cursor: pointer;
693
+ }
694
+
695
+ @media screen and (width <= 1300px) {
696
+ .bigProfilePicture {
697
+ display: none;
698
+ }
699
+ }