Tuchuanhuhuhu commited on
Commit
a3059ba
·
1 Parent(s): dfaa92c

仅对部分元素应用transition,解决暗色模式下文字慢慢变白的问题。

Browse files
Files changed (1) hide show
  1. custom.css +5 -5
custom.css CHANGED
@@ -15,6 +15,11 @@
15
  font-family: monospace;
16
  color: var(--body-text-color-subdued);
17
  }
 
 
 
 
 
18
  /* 亮色 */
19
  @media (prefers-color-scheme: light) {
20
  #chuanhu_chatbot {
@@ -184,8 +189,3 @@ pre code {
184
  .codehilite .vi { color: #f8f8f2 } /* Name.Variable.Instance */
185
  .codehilite .vm { color: #f8f8f2 } /* Name.Variable.Magic */
186
  .codehilite .il { color: #ae81ff } /* Literal.Number.Integer.Long */
187
-
188
- /* 全局元素 */
189
- * {
190
- transition: all 0.6s;
191
- }
 
15
  font-family: monospace;
16
  color: var(--body-text-color-subdued);
17
  }
18
+
19
+ #chuanhu_chatbot, #status_display {
20
+ transition: all 0.6s;
21
+ }
22
+
23
  /* 亮色 */
24
  @media (prefers-color-scheme: light) {
25
  #chuanhu_chatbot {
 
189
  .codehilite .vi { color: #f8f8f2 } /* Name.Variable.Instance */
190
  .codehilite .vm { color: #f8f8f2 } /* Name.Variable.Magic */
191
  .codehilite .il { color: #ae81ff } /* Literal.Number.Integer.Long */