方法1:主题文件
方法2:在默认主题上进行更改
step 1:增加css
使状态栏平铺显示、调整markdown显示使其文字两端对齐、增加预览窗口大小、markdown图片默认居中显示、增加全屏状态下的文字宽度即调整页边距。
/* Full status bar */
.status-bar {
--status-bar-position: static; /* Full it. */
--status-bar-radius: 0 0 0 0; /* Make the upper left corner rounded corner disappear. */
}
/* Adjusting markdown text so that it is aligned at both ends */
.cm-s-obsidian,
.markdown-preview-view {
text-align: justify;
hyphens: auto;
}
/* Increase the size of the link preview window */
.popover.hover-popover {
transform: scale(0.8); /* makes the content smaller */
max-height: 800px; /* was 300 */
min-height: 100px;
width: 500px; /* was 400 */
}
.popover.hover-popover .markdown-embed {
height: 800px;
}
/* Rendering a centered image */
img {
display: block !important;
margin-left: auto !important;
margin-right: auto !important;
}
.markdown-source-view.mod-cm6 .cm-content > * {
margin: auto !important;
}
/* Bigger the text with in every mode */
body{
--file-line-width: 65rem; /* default is 45rem */
}
/* .markdown-preview-view.is-readable-line-width .markdown-preview-sizer {
max-width: 95%;
}
.markdown-source-view.mod-cm6.is-readable-line-width .cm-sizer {
max-width: 95%;
} */
step 2:调整字体
在设置-->外观-->字体
中更改界面字体
和正文字体
为微软雅黑
。
step 3:调整字体颜色
下载插件Style Settings
和对应的Obsidian默认主题的所有可修改文件的css,这个css可以在插件的GitHub上找到。
随后更改字体颜色为#333333
即可。