Hi Obsidian community!
I am a daily and happy user of Obsidian!
I managed to tweak the CSS parts for my theme to look fine to me.
One thing that I cannot yet figure it out is how to control the margins of some headings, especially in the editing mode which I mainly use.
For example, in my .obsidian/themes/Behave\ dark.css
file I have, for example for H3 heading this rule:
/*********************************/
/* Headings - EDITOR and PREVIEW */
/*********************************/
/* headings for editor and preview */
.cm-header-3, .markdown-preview-view h3
{
font-family: var(--font-family-editor);
font-weight: 500;
font-size: var(--font-size-h3);
color: var(--text-title-h3);
margin: 200px 0 100px 0;
}
In editing mode it doesn’t look as being applied:
but in reading mode it looks like being applied:
Am I missing something? I’d really want to control the spacing of these headings in reading mode, whether expanded (by default) or collapsed. I’ll keep looking for an answer meanwhile …
Thanks!