mirror of
https://github.com/ZSCNetSupportDept/website.git
synced 2025-10-29 01:15:04 +08:00
使用Mermaid图表功能,不过好像和黑暗模式不太兼容
This commit is contained in:
@@ -47,3 +47,9 @@ html[data-theme='dark'] .markdown h2 {
|
||||
background: linear-gradient(to right, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0));
|
||||
border-left-color: var(--ifm-color-primary-light);
|
||||
}
|
||||
|
||||
/* 强制 Mermaid 图表在黑暗模式下使用白色背景 */
|
||||
html[data-theme='dark'] .mermaid {
|
||||
background-color: #ffffff !important;
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user