Update assets/custom.css
This commit is contained in:
parent
050931db5b
commit
4cdc067de6
|
@ -33,32 +33,29 @@ ol:not(.options), ul:not(.options) {
|
||||||
padding-inline-start: 2em !important;
|
padding-inline-start: 2em !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Light Mode */
|
/* Thank @Keldos-Li for fixing it */
|
||||||
@media (prefers-color-scheme: light) {
|
/* Light mode (default) */
|
||||||
#chuanhu_chatbot {
|
#chuanhu_chatbot {
|
||||||
background-color: var(--chatbot-color-light) !important;
|
background-color: var(--chatbot-color-light) !important;
|
||||||
}
|
color: #000000 !important;
|
||||||
[data-testid = "bot"] {
|
|
||||||
background-color: #FFFFFF !important;
|
|
||||||
}
|
|
||||||
[data-testid = "user"] {
|
|
||||||
background-color: #95EC69 !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
/* Dark Mode */
|
[data-testid = "bot"] {
|
||||||
@media (prefers-color-scheme: dark) {
|
background-color: #FFFFFF !important;
|
||||||
.dark #chuanhu_chatbot {
|
}
|
||||||
|
[data-testid = "user"] {
|
||||||
|
background-color: #95EC69 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dark mode */
|
||||||
|
.dark #chuanhu_chatbot {
|
||||||
background-color: var(--chatbot-color-dark) !important;
|
background-color: var(--chatbot-color-dark) !important;
|
||||||
}
|
color: #FFFFFF !important;
|
||||||
.dark [data-testid = "bot"] {
|
}
|
||||||
|
.dark [data-testid = "bot"] {
|
||||||
background-color: #2C2C2C !important;
|
background-color: #2C2C2C !important;
|
||||||
}
|
}
|
||||||
.dark [data-testid = "user"] {
|
.dark [data-testid = "user"] {
|
||||||
background-color: #26B561 !important;
|
background-color: #26B561 !important;
|
||||||
}
|
|
||||||
body {
|
|
||||||
background-color: var(--neutral-950) !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#chuanhu_chatbot {
|
#chuanhu_chatbot {
|
||||||
|
|
Loading…
Reference in New Issue