Last active
April 18, 2024 13:59
-
-
Save kevboh/3a3e52ed115497befbbad5084cc5424c to your computer and use it in GitHub Desktop.
CSS snippet for Obsidian to make my Longform projects look like a place I'd write in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.longform { | |
--background-primary: white; | |
--background-primary-alt: white; | |
--background-secondary: transparent; | |
--background-secondary-alt: white; | |
--text-selection: #aaa; | |
--text-normal: black; | |
--default-font: Baskerville; | |
} | |
.longform .CodeMirror { | |
max-width: 600px !important; | |
} | |
.longform .markdown-source-view { | |
font-size: 1.2rem; | |
text-indent: 2rem; | |
} | |
.longform .suggestion-item.is-selected { | |
background-color: var(--text-accent); | |
} | |
.longform-leaf { | |
--background-primary: white; | |
--background-primary-alt: white; | |
--background-secondary: white; | |
--background-secondary-alt: white; | |
--text-selection: #aaa; | |
--text-normal: black; | |
--default-font: Baskerville; | |
font-family: Baskerville; | |
color: black; | |
} | |
.longform-leaf .CodeMirror { | |
max-width: 600px !important; | |
} | |
.longform-leaf .markdown-source-view { | |
font-size: 1.2rem; | |
text-indent: 2rem; | |
} | |
.longform-leaf .suggestion-item.is-selected { | |
background-color: var(--text-accent); | |
} | |
.longform-leaf .view-header { | |
background-color: white; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What do you mean by export—as a pdf? That's a purely Obsidian question that I do not know the answer for off the top of my head.