Custom Style Settings For Obsidian

Font

The primary font used for all body text and headings in this theme is Vollkorn. It's an elegant and highly readable serif font designed for digital and print use.

Download Link: You can download the Vollkorn font family from Google Fonts here: Vollkorn on Google Fonts

Style Settings Plugin Configuration

To achieve the desired look, we made several specific adjustments within the Style Settings plugin. The main goal was to override some of the plugin's default styling to allow our custom CSS to take priority and to fine-tune the typography.

/* --- PREVIEW MODE --- */

/* Center H1, H2, and H3 headings in Preview */
.markdown-preview-view h1,
.markdown-preview-view h2,
.markdown-preview-view h3 {
    text-align: center;
}

/* Add an underline to H1 headings in Preview */
.markdown-preview-view h1::after {
    content: '';
    display: block;
    width: 100px;
    border-bottom: 1px solid var(--text-normal);
    margin: 0.5em auto 0;
}


/* --- EDIT MODE (Live Preview / Source) --- */

/* Center H1, H2, and H3 headings in the Editor */
.HyperMD-header-1, .cm-line .cm-heading-1,
.HyperMD-header-2, .cm-line .cm-heading-2,
.HyperMD-header-3, .cm-line .cm-heading-3 {
    text-align: center;
}

/* Add an underline to H1 headings in Editor */
.HyperMD-header-1::after, .cm-line .cm-heading-1::after {
    content: '';
    display: block;
    width: 100px;
    border-bottom: 1px solid var(--text-normal);
    margin: 0.5em auto 0;
}

Preview

dLa4zhaX9B.png