mirror of
https://github.com/ZSCNetSupportDept/website.git
synced 2025-10-29 09:25:04 +08:00
修改mermaid样式,在dark下也使用light
This commit is contained in:
@@ -53,9 +53,8 @@ html[data-theme="dark"] .markdown h2 {
|
||||
}
|
||||
|
||||
/* 强制 Mermaid 图表在黑暗模式下使用白色背景 */
|
||||
html[data-theme="dark"] .mermaid {
|
||||
background-color: #ffffff !important;
|
||||
color: #000000 !important;
|
||||
html[data-theme="dark"] .docusaurus-mermaid-container {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.docs-card h2 {
|
||||
|
||||
Reference in New Issue
Block a user