update
This commit is contained in:
@@ -240,4 +240,25 @@ hide content only for mobile devices
|
||||
|
||||
.card-wide hr {
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
针对暗黑模式 (slate) 的自定义样式
|
||||
目标:将顶部 Header 标题和菜单栏文字强制设为白色
|
||||
*/
|
||||
[data-md-color-scheme="slate"] .md-header__title,
|
||||
[data-md-color-scheme="slate"] .md-header__topic,
|
||||
[data-md-color-scheme="slate"] .md-header__option,
|
||||
[data-md-color-scheme="slate"] .md-header__option,
|
||||
/* [data-md-color-scheme="slate"] .md-header__nav .md-header__nav__title, 如果有辅助导航标题 */
|
||||
[data-md-color-scheme="slate"] .md-tabs__link /* 顶部 Tab 导航文字 */
|
||||
/* [data-md-color-scheme="slate"] .md-nav__link 侧边或顶部普通导航链接 */
|
||||
{
|
||||
color: #CCCCCC !important;
|
||||
}
|
||||
|
||||
/* 确保当前选中的 Tab 也是白色(或者保持高亮色,视需求而定,这里统一设为白色以确保可见) */
|
||||
[data-md-color-scheme="slate"] .md-tabs__link--active {
|
||||
color: #CCCCCC !important;
|
||||
font-weight: bold;
|
||||
}
|
||||
Reference in New Issue
Block a user