Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/css/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,17 @@

.home-link {
display: block;
background: url(../img/home-o.svg) no-repeat center;
background: url(../img/octicons-24.svg#view-home) no-repeat center;
height: calc(var(--toolbar-height) / 2);
width: calc(var(--toolbar-height) / 2);
margin: calc(var(--toolbar-height) / 4);
margin-right: 0.5rem;
filter: invert(10%); /* NOTE should match --navbar-background */
}

.home-link:hover,
.home-link.is-current {
background-image: url(../img/home.svg);
background-image: url(../img/octicons-24.svg#view-home-fill);
}

.edit-this-page {
Expand Down
124 changes: 0 additions & 124 deletions src/img/home-o.svg

This file was deleted.

124 changes: 0 additions & 124 deletions src/img/home.svg

This file was deleted.

18 changes: 16 additions & 2 deletions src/img/octicons-24.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/partials/toolbar.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="toolbar" role="navigation">
{{> nav-toggle}}
{{#with site.homeUrl}}
<a href="{{{relativize this}}}" class="home-link{{#if @root.page.home}} is-current{{/if}}"></a>
<a href="{{{relativize this}}}" class="home-link{{#if @root.page.home}} is-current{{/if}}" title="Home"></a>
{{/with}}
{{> breadcrumbs}}
{{> page-versions}}
Expand Down