Created
February 3, 2022 18:31
-
-
Save mschrader15/933914eaea41be29069e60d15d3bdccd to your computer and use it in GitHub Desktop.
Add Custom Logo to Obsidian Vault
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
.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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is taken almost verbatim from https://github.com/Thiews/Obsidian-Harmonic