Skip to content

Instantly share code, notes, and snippets.

@mschrader15
Created February 3, 2022 18:31
Show Gist options
  • Save mschrader15/933914eaea41be29069e60d15d3bdccd to your computer and use it in GitHub Desktop.
Save mschrader15/933914eaea41be29069e60d15d3bdccd to your computer and use it in GitHub Desktop.
Add Custom Logo to Obsidian Vault
.theme-light .nav-header:before,
.theme-dark .nav-header:before {
font-weight: 700;
font-size: 1.3em;
color: black;
margin-left: auto;
margin-right: auto;
text-align: center;
display: none;
background: url("https://maxschrader.io/logo.svg");
margin-top: 10px;
margin-bottom: 40px;
background-repeat: no-repeat;
background-size: contain;
background-position: center center;
display: block;
height: 60px !important;
width: 100% !important;
content: "";
}
/* .bold-italic-accent.site-title-accent.theme-light .nav-header::before,
.bold-italic-accent.site-title-accent.theme-dark .nav-header::before {
filter: hue-rotate(var(--hue-bold-italic)) !important;
} */
.invert-logo.theme-dark .nav-header:before {
filter: invert(100%);
}
.invert-logo.black-background-sidebar .nav-header:before {
filter: invert(100%);
}
.workspace-split.mod-right-split .nav-header::before,
.view-content .nav-header::before {
display: none !important;
}
@mschrader15
Copy link
Author

This is taken almost verbatim from https://github.com/Thiews/Obsidian-Harmonic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment