Created
September 15, 2025 17:19
-
-
Save dan-hart/0b59b241e263d3e8bcca319e0a1a17fa to your computer and use it in GitHub Desktop.
my custom template for logseq
This file contains hidden or 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
| @import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Mono:ital,wght@0,200..800;1,200..800&display=swap'); | |
| :root { | |
| --ls-font-family: "Atkinson Hyperlegible Mono", monospace; | |
| --ls-page-code-font-family: "Atkinson Hyperlegible Mono", monospace; | |
| --ls-font-size: 18px; /* Increase base font size */ | |
| } | |
| body { | |
| font-family: "Atkinson Hyperlegible Mono", monospace; | |
| font-size: 18px; /* Base font size */ | |
| } | |
| /* Main content areas */ | |
| .cp__sidebar-main-content, | |
| .page, | |
| .block-content { | |
| font-size: 18px; | |
| } | |
| /* Block content */ | |
| .block-content-wrapper { | |
| font-size: 18px; | |
| } | |
| /* Headers with proportionally larger sizes */ | |
| h1 { font-size: 1.8em; } | |
| h2 { font-size: 1.6em; } | |
| h3 { font-size: 1.4em; } | |
| h4 { font-size: 1.2em; } | |
| h5 { font-size: 1.1em; } | |
| h6 { font-size: 1em; } | |
| /* Ensure code blocks and inline code also use the font and larger size */ | |
| .CodeMirror, | |
| .cm-editor, | |
| code, | |
| pre, | |
| .block-content-wrapper code { | |
| font-family: "Atkinson Hyperlegible Mono", monospace !important; | |
| font-size: 18px !important; /* Slightly smaller than body text for code */ | |
| } | |
| /* Inline code */ | |
| code { | |
| font-size: 18px !important; | |
| } | |
| /* Editor font size */ | |
| .block-editor { | |
| font-size: 18px; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment