Spaces:
Runtime error
Runtime error
project-baize
commited on
Commit
·
7e2e066
1
Parent(s):
15a738f
Update assets/custom.css
Browse files- assets/custom.css +2 -42
assets/custom.css
CHANGED
@@ -16,9 +16,6 @@
|
|
16 |
color: var(--body-text-color-subdued);
|
17 |
}
|
18 |
|
19 |
-
#chuanhu_chatbot, #status_display {
|
20 |
-
transition: all 0.6s;
|
21 |
-
}
|
22 |
|
23 |
/* usage_display */
|
24 |
#usage_display {
|
@@ -35,45 +32,8 @@ ol:not(.options), ul:not(.options) {
|
|
35 |
padding-inline-start: 2em !important;
|
36 |
}
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
#chuanhu_chatbot {
|
41 |
-
background-color: var(--chatbot-color-light) !important;
|
42 |
-
}
|
43 |
-
[data-testid = "bot"] {
|
44 |
-
background-color: #FFFFFF !important;
|
45 |
-
}
|
46 |
-
[data-testid = "user"] {
|
47 |
-
background-color: #95EC69 !important;
|
48 |
-
}
|
49 |
-
}
|
50 |
-
/* 暗色 */
|
51 |
-
@media (prefers-color-scheme: dark) {
|
52 |
-
#chuanhu_chatbot {
|
53 |
-
background-color: var(--chatbot-color-dark) !important;
|
54 |
-
}
|
55 |
-
[data-testid = "bot"] {
|
56 |
-
background-color: #2C2C2C !important;
|
57 |
-
}
|
58 |
-
[data-testid = "user"] {
|
59 |
-
background-color: #26B561 !important;
|
60 |
-
}
|
61 |
-
body {
|
62 |
-
background-color: var(--neutral-950) !important;
|
63 |
-
}
|
64 |
-
}
|
65 |
-
/* 屏幕宽度大于等于500px的设备 */
|
66 |
-
@media screen and (min-width: 500px) {
|
67 |
-
#chuanhu_chatbot {
|
68 |
-
height: calc(100vh - 280px);
|
69 |
-
}
|
70 |
-
}
|
71 |
-
/* 屏幕宽度小于500px的设备 */
|
72 |
-
@media screen and (max-width: 499px) {
|
73 |
-
#chuanhu_chatbot {
|
74 |
-
height: calc(100vh - 140px);
|
75 |
-
}
|
76 |
-
}
|
77 |
/* 对话气泡 */
|
78 |
[class *= "message"] {
|
79 |
border-radius: var(--radius-xl) !important;
|
|
|
16 |
color: var(--body-text-color-subdued);
|
17 |
}
|
18 |
|
|
|
|
|
|
|
19 |
|
20 |
/* usage_display */
|
21 |
#usage_display {
|
|
|
32 |
padding-inline-start: 2em !important;
|
33 |
}
|
34 |
|
35 |
+
|
36 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
/* 对话气泡 */
|
38 |
[class *= "message"] {
|
39 |
border-radius: var(--radius-xl) !important;
|