JunchuanYu commited on
Commit
a1fbe28
1 Parent(s): 5de48b5

Update css_new.css

Browse files
Files changed (1) hide show
  1. css_new.css +54 -2
css_new.css CHANGED
@@ -1,3 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  [data-testid = "bot"] {
2
  max-width: 85%;
3
  border-bottom-left-radius: 0 !important;
@@ -23,7 +75,7 @@ thead {
23
  thead th {
24
  padding: .5em .2em;
25
  }
26
-
27
  code {
28
  display: inline;
29
  white-space: break-spaces;
@@ -32,7 +84,7 @@ code {
32
  padding: .2em .4em .1em .4em;
33
  background-color: rgba(175,184,193,0.2);
34
  }
35
-
36
  pre code {
37
  display: block;
38
  overflow: auto;
 
1
+ :root {
2
+ --chatbot-color-light: #F3F3F3;
3
+ --chatbot-color-dark: #121111;
4
+ }
5
+
6
+ #submit {
7
+ background-color: #708090 !important;
8
+ border: 2px solid #708090;
9
+ color: #000000;
10
+ }
11
+ /* status_display */
12
+
13
+ #status_display {
14
+ display: flex;
15
+ min-height: 2.5em;
16
+ align-items: flex-end;
17
+ justify-content: flex-end;
18
+ }
19
+ #status_display p {
20
+ font-size: .85em;
21
+ font-family: monospace;
22
+ color: var(--body-text-color-subdued);
23
+ }
24
+
25
+ #chuanhu_chatbot, #status_display {
26
+ transition: all 0.6s;
27
+ }
28
+ /* list */
29
+ ol:not(.options), ul:not(.options) {
30
+ padding-inline-start: 2em !important;
31
+ }
32
+
33
+ /* 亮色 */
34
+ #chuanhu_chatbot {
35
+ background-color: var(--chatbot-color-light) !important;
36
+ }
37
+ [data-testid = "bot"] {
38
+ background-color: #FFFFFF !important;
39
+ }
40
+ [data-testid = "user"] {
41
+ background-color: #95EC69 !important;
42
+ }
43
+ /* 对话气泡 */
44
+ [class *= "message"] {
45
+ border-radius: var(--radius-xl) !important;
46
+ border: none;
47
+ padding: var(--spacing-xl) !important;
48
+ font-size: var(--text-md) !important;
49
+ line-height: var(--line-md) !important;
50
+ min-height: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl));
51
+ min-width: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl));
52
+ }
53
  [data-testid = "bot"] {
54
  max-width: 85%;
55
  border-bottom-left-radius: 0 !important;
 
75
  thead th {
76
  padding: .5em .2em;
77
  }
78
+ /* 行内代码 */
79
  code {
80
  display: inline;
81
  white-space: break-spaces;
 
84
  padding: .2em .4em .1em .4em;
85
  background-color: rgba(175,184,193,0.2);
86
  }
87
+ /* 代码块 */
88
  pre code {
89
  display: block;
90
  overflow: auto;