alexkueck commited on
Commit
8dc3213
1 Parent(s): 6dfec9d

Delete custom.css

Browse files
Files changed (1) hide show
  1. custom.css +0 -208
custom.css DELETED
@@ -1,208 +0,0 @@
1
-
2
- :root {
3
- --chatbot-color-light: #F3F3F3;
4
- --chatbot-color-dark: #121111;
5
- }
6
-
7
- .gradio_container {
8
- background-color: black;
9
- color: white;
10
- }
11
-
12
- .gr-textbox label {
13
- display: none; /* Versteckt das Label vollständig */
14
- }
15
- ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
16
- color: red; /* Platzhalterfarbe, anpassen nach Bedarf */
17
- opacity: 1; /* Stellt sicher, dass der Platzhalter gut sichtbar ist */
18
- }
19
-
20
- /* status_display */
21
- #status_display {
22
- display: flex;
23
- min-height: 2.5em;
24
- align-items: flex-end;
25
- justify-content: flex-end;
26
- }
27
- #status_display p {
28
- font-size: .85em;
29
- font-family: monospace;
30
- color: var(--body-text-color-subdued);
31
- }
32
-
33
-
34
-
35
- /* usage_display */
36
- #usage_display {
37
- height: 1em;
38
- }
39
- #usage_display p{
40
- padding: 0 1em;
41
- font-size: .85em;
42
- font-family: monospace;
43
- color: var(--body-text-color-subdued);
44
- }
45
- /* list */
46
- ol:not(.options), ul:not(.options) {
47
- padding-inline-start: 2em !important;
48
- }
49
-
50
- /* Thank @Keldos-Li for fixing it */
51
- /* Light mode (default) : 000000 ersetzen für anderen light-mode...*/
52
- #chuanhu_chatbot {
53
- background-color: var(--chatbot-color-light) !important;
54
- color: #FFFFFF !important;
55
- }
56
-
57
-
58
- [data-testid = "bot"] {
59
- //background-color: #FFFFFF !important;
60
- }
61
- [data-testid = "user"] {
62
- //background-color: #95EC69 !important;
63
- }
64
-
65
- /* Dark mode */
66
- .dark #chuanhu_chatbot {
67
- background-color: var(--chatbot-color-dark) !important;
68
- color: #FFFFFF !important;
69
- }
70
-
71
- .dark [data-testid = "bot"] {
72
- //background-color: #2C2C2C !important;
73
- }
74
- .dark [data-testid = "user"] {
75
- //background-color: #26B561 !important;
76
- }
77
-
78
- #chuanhu_chatbot {
79
- height: 100%;
80
- min-height: 400px;
81
- }
82
-
83
- [class *= "message"] {
84
- border-radius: var(--radius-xl) !important;
85
- border: none;
86
- padding: var(--spacing-xl) !important;
87
- font-size: var(--text-md) !important;
88
- line-height: var(--line-md) !important;
89
- min-height: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl));
90
- min-width: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl));
91
- }
92
- [data-testid = "bot"] {
93
- max-width: 85%;
94
- border-bottom-left-radius: 0 !important;
95
- }
96
- [data-testid = "user"] {
97
- max-width: 85%;
98
- width: auto !important;
99
- border-bottom-right-radius: 0 !important;
100
- }
101
- /* Table */
102
- table {
103
- margin: 1em 0;
104
- border-collapse: collapse;
105
- empty-cells: show;
106
- }
107
- td,th {
108
- border: 1.2px solid var(--border-color-primary) !important;
109
- padding: 0.2em;
110
- }
111
- thead {
112
- background-color: rgba(175,184,193,0.2);
113
- }
114
- thead th {
115
- padding: .5em .2em;
116
- }
117
- /* Inline code */
118
- #chuanhu_chatbot code {
119
- display: inline;
120
- white-space: break-spaces;
121
- border-radius: 6px;
122
- margin: 0 2px 0 2px;
123
- padding: .2em .4em .1em .4em;
124
- background-color: rgba(175,184,193,0.2);
125
- }
126
- /* Code block */
127
- #chuanhu_chatbot pre code {
128
- display: block;
129
- overflow: auto;
130
- white-space: pre;
131
- background-color: hsla(0, 0%, 0%, 80%)!important;
132
- border-radius: 10px;
133
- padding: 1.4em 1.2em 0em 1.4em;
134
- margin: 1.2em 2em 1.2em 0.5em;
135
- color: #FFF;
136
- box-shadow: 6px 6px 16px hsla(0, 0%, 0%, 0.2);
137
- }
138
- /* Hightlight */
139
- #chuanhu_chatbot .highlight { background-color: transparent }
140
- #chuanhu_chatbot .highlight .hll { background-color: #49483e }
141
- #chuanhu_chatbot .highlight .c { color: #75715e } /* Comment */
142
- #chuanhu_chatbot .highlight .err { color: #960050; background-color: #1e0010 } /* Error */
143
- #chuanhu_chatbot .highlight .k { color: #66d9ef } /* Keyword */
144
- #chuanhu_chatbot .highlight .l { color: #ae81ff } /* Literal */
145
- #chuanhu_chatbot .highlight .n { color: #f8f8f2 } /* Name */
146
- #chuanhu_chatbot .highlight .o { color: #f92672 } /* Operator */
147
- #chuanhu_chatbot .highlight .p { color: #f8f8f2 } /* Punctuation */
148
- #chuanhu_chatbot .highlight .ch { color: #75715e } /* Comment.Hashbang */
149
- #chuanhu_chatbot .highlight .cm { color: #75715e } /* Comment.Multiline */
150
- #chuanhu_chatbot .highlight .cp { color: #75715e } /* Comment.Preproc */
151
- #chuanhu_chatbot .highlight .cpf { color: #75715e } /* Comment.PreprocFile */
152
- #chuanhu_chatbot .highlight .c1 { color: #75715e } /* Comment.Single */
153
- #chuanhu_chatbot .highlight .cs { color: #75715e } /* Comment.Special */
154
- #chuanhu_chatbot .highlight .gd { color: #f92672 } /* Generic.Deleted */
155
- #chuanhu_chatbot .highlight .ge { font-style: italic } /* Generic.Emph */
156
- #chuanhu_chatbot .highlight .gi { color: #a6e22e } /* Generic.Inserted */
157
- #chuanhu_chatbot .highlight .gs { font-weight: bold } /* Generic.Strong */
158
- #chuanhu_chatbot .highlight .gu { color: #75715e } /* Generic.Subheading */
159
- #chuanhu_chatbot .highlight .kc { color: #66d9ef } /* Keyword.Constant */
160
- #chuanhu_chatbot .highlight .kd { color: #66d9ef } /* Keyword.Declaration */
161
- #chuanhu_chatbot .highlight .kn { color: #f92672 } /* Keyword.Namespace */
162
- #chuanhu_chatbot .highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
163
- #chuanhu_chatbot .highlight .kr { color: #66d9ef } /* Keyword.Reserved */
164
- #chuanhu_chatbot .highlight .kt { color: #66d9ef } /* Keyword.Type */
165
- #chuanhu_chatbot .highlight .ld { color: #e6db74 } /* Literal.Date */
166
- #chuanhu_chatbot .highlight .m { color: #ae81ff } /* Literal.Number */
167
- #chuanhu_chatbot .highlight .s { color: #e6db74 } /* Literal.String */
168
- #chuanhu_chatbot .highlight .na { color: #a6e22e } /* Name.Attribute */
169
- #chuanhu_chatbot .highlight .nb { color: #f8f8f2 } /* Name.Builtin */
170
- #chuanhu_chatbot .highlight .nc { color: #a6e22e } /* Name.Class */
171
- #chuanhu_chatbot .highlight .no { color: #66d9ef } /* Name.Constant */
172
- #chuanhu_chatbot .highlight .nd { color: #a6e22e } /* Name.Decorator */
173
- #chuanhu_chatbot .highlight .ni { color: #f8f8f2 } /* Name.Entity */
174
- #chuanhu_chatbot .highlight .ne { color: #a6e22e } /* Name.Exception */
175
- #chuanhu_chatbot .highlight .nf { color: #a6e22e } /* Name.Function */
176
- #chuanhu_chatbot .highlight .nl { color: #f8f8f2 } /* Name.Label */
177
- #chuanhu_chatbot .highlight .nn { color: #f8f8f2 } /* Name.Namespace */
178
- #chuanhu_chatbot .highlight .nx { color: #a6e22e } /* Name.Other */
179
- #chuanhu_chatbot .highlight .py { color: #f8f8f2 } /* Name.Property */
180
- #chuanhu_chatbot .highlight .nt { color: #f92672 } /* Name.Tag */
181
- #chuanhu_chatbot .highlight .nv { color: #f8f8f2 } /* Name.Variable */
182
- #chuanhu_chatbot .highlight .ow { color: #f92672 } /* Operator.Word */
183
- #chuanhu_chatbot .highlight .w { color: #f8f8f2 } /* Text.Whitespace */
184
- #chuanhu_chatbot .highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
185
- #chuanhu_chatbot .highlight .mf { color: #ae81ff } /* Literal.Number.Float */
186
- #chuanhu_chatbot .highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
187
- #chuanhu_chatbot .highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
188
- #chuanhu_chatbot .highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
189
- #chuanhu_chatbot .highlight .sa { color: #e6db74 } /* Literal.String.Affix */
190
- #chuanhu_chatbot .highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
191
- #chuanhu_chatbot .highlight .sc { color: #e6db74 } /* Literal.String.Char */
192
- #chuanhu_chatbot .highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */
193
- #chuanhu_chatbot .highlight .sd { color: #e6db74 } /* Literal.String.Doc */
194
- #chuanhu_chatbot .highlight .s2 { color: #e6db74 } /* Literal.String.Double */
195
- #chuanhu_chatbot .highlight .se { color: #ae81ff } /* Literal.String.Escape */
196
- #chuanhu_chatbot .highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
197
- #chuanhu_chatbot .highlight .si { color: #e6db74 } /* Literal.String.Interpol */
198
- #chuanhu_chatbot .highlight .sx { color: #e6db74 } /* Literal.String.Other */
199
- #chuanhu_chatbot .highlight .sr { color: #e6db74 } /* Literal.String.Regex */
200
- #chuanhu_chatbot .highlight .s1 { color: #e6db74 } /* Literal.String.Single */
201
- #chuanhu_chatbot .highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
202
- #chuanhu_chatbot .highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
203
- #chuanhu_chatbot .highlight .fm { color: #a6e22e } /* Name.Function.Magic */
204
- #chuanhu_chatbot .highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
205
- #chuanhu_chatbot .highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
206
- #chuanhu_chatbot .highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
207
- #chuanhu_chatbot .highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */
208
- #chuanhu_chatbot .highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */