mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-13 13:23:32 -06:00
Added logo variable to _config.yml which can be set to a path/url
Automatically replaces the title with a logo
This commit is contained in:
@@ -153,6 +153,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
@if variable-exists(logo) {
|
||||
.site-logo {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url($logo);
|
||||
background-position: left center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-button {
|
||||
appearance: none;
|
||||
display: flex;
|
||||
|
Reference in New Issue
Block a user