Skip to content

Instantly share code, notes, and snippets.

@toasty-sunbeam
Created March 4, 2026 17:44
Show Gist options
  • Select an option

  • Save toasty-sunbeam/3384cf405b1416c661967a31648727cd to your computer and use it in GitHub Desktop.

Select an option

Save toasty-sunbeam/3384cf405b1416c661967a31648727cd to your computer and use it in GitHub Desktop.
Obsidian CSS
.daily-note .inline-title {
font-size: 14px !important; /* Small text */
color: var(--text-muted); /* Gray/Muted color */
font-weight: normal; /* Remove bold */
margin-bottom: 0px !important; /* Pull H1 closer */
opacity: 0.6; /* Extra subtle */
}
/* Optional: Make the actual H1 pop a bit more to compensate */
.daily-note h1 {
margin-top: 0px !important;
}
/* Prevent jank on hover */
.daily-note-wrapper .daily-note:hover .collapse-button {
display: none !important;
}
/* Align with H1 */
.daily-note-wrapper .daily-note-container .daily-note .daily-note-title.inline-title {
max-width: var(--file-line-width);
margin-left: auto;
margin-right: auto;
}
/* Remove spaces under "Properties" */
.daily-note .metadata-container {
margin-bottom: 0;
}
.cm-s-obsidian {
.cm-line.HyperMD-header-1, .cm-line.HyperMD-header-2, .cm-line.HyperMD-header-3, .cm-line.HyperMD-header-4, .cm-line.HyperMD-header-5 {
padding-bottom: .5em;
}
}
.cm-gutters {
margin-left: -50px;
}
@media (max-width: 880px) {
.cm-gutters {
visibility: hidden;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment