Skip to content

Instantly share code, notes, and snippets.

@vrtmrz
Created September 21, 2023 08:52
Show Gist options
  • Save vrtmrz/c58c11397eb62ed4ad1624d02539ba5a to your computer and use it in GitHub Desktop.
Save vrtmrz/c58c11397eb62ed4ad1624d02539ba5a to your computer and use it in GitHub Desktop.
Obsidianの日本語の微調整CSS
:root {
--default-font: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
--editor-font: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
/* --override-font: "BIZ UDゴシック"; */
/* --override-font: "HackGen35"; */
/* --override-font: "BIZ UDPゴシック"; */
/* --override-font: "Yu Gothic"; */
}
.cm-content {
font-family: var(--override-font), -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
}
.cm-content,
.markdown-preview-view {
font-feature-settings: "palt";
text-rendering: geometricPrecision;
letter-spacing: 0.06em;
-webkit-font-smoothing: antialiased;
font-variant-east-asian: jis04;
font-variant-numeric: tabular-nums;
font-optical-sizing: auto;
font-variation-settings: 'wdth' 94;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment