PKM-er / Blue-topaz-example

Blue topaz themes example vault for Obsidian

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

obsidian blue topaz 标题下划线阅读模式下如何修改?

hipedo opened this issue · comments

commented

Cu佬好:

从其他主题里扣出了一段改变标题下划线的代码

.HyperMD-header .cm-header-2 {

border-bottom: 2px solid;

border-image: linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722) 5;

}
放入片段中之后只能在编辑模式下显示,无法显示在阅读模式下。。。
试着扣出Bluetopaz的css调整但多次试后还是无法在阅读模式下改变下划线颜色。。。
编辑模式:
image
阅读模式:
image

我的Bluetopaz 主题已经更新到了最新版,也试着在style setting里设置但好像都没法改变阅读模式下的下划线式样。。
求解

commented

.HyperMD-header .cm-header-2 .markdown-preview-view,.markdown-rendered h2 {
改这样之后预览模式倒是可以显示了,但不是像编辑模式一样随着文字多少显示下划线,而是统统一大条长长的线

image