Skip to content

Instantly share code, notes, and snippets.

@wenlzhang
Created November 12, 2021 16:20
Show Gist options
  • Save wenlzhang/e80b53869c01a96659cee67b736e423d to your computer and use it in GitHub Desktop.
Save wenlzhang/e80b53869c01a96659cee67b736e423d to your computer and use it in GitHub Desktop.
obsidian-minimal-header-font-variant
/* Normal font variant */
/* More font variant options: https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant */
.view-header-title,
.file-embed-title,
.markdown-embed-title {
font-variant:normal;
}
.empty-state-title,
.markdown-preview-view h1,
.HyperMD-header-1,
.cm-header-1 {
font-variant:normal;
}
.markdown-preview-view h2,
.HyperMD-header-2,
.cm-header-2 {
font-variant:normal;
}
.markdown-preview-view h3,
.HyperMD-header-3,
.cm-header-3 {
font-variant:normal;
}
.markdown-preview-view h4,
.HyperMD-header-4,
.cm-s-obsidian .cm-header-4 {
font-variant:normal;
}
.markdown-preview-view h5,
.HyperMD-header-5,
.cm-s-obsidian .cm-header-5 {
font-variant:normal;
}
.markdown-preview-view h6,
.HyperMD-header-6,
.cm-s-obsidian .cm-header-6 {
font-variant:normal;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment