Skip to content

Commit 12ffb80

Browse files
authored
switch to home icon from octicons (PR #57)
1 parent 2abc828 commit 12ffb80

File tree

5 files changed

+21
-253
lines changed

5 files changed

+21
-253
lines changed

src/css/toolbar.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,17 @@
4141

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

5052
.home-link:hover,
5153
.home-link.is-current {
52-
background-image: url(../img/home.svg);
54+
background-image: url(../img/octicons-24.svg#view-home-fill);
5355
}
5456

5557
.edit-this-page {

src/img/home-o.svg

Lines changed: 0 additions & 124 deletions
This file was deleted.

src/img/home.svg

Lines changed: 0 additions & 124 deletions
This file was deleted.

src/img/octicons-24.svg

Lines changed: 16 additions & 2 deletions
Loading

src/partials/toolbar.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="toolbar" role="navigation">
22
{{> nav-toggle}}
33
{{#with site.homeUrl}}
4-
<a href="{{{relativize this}}}" class="home-link{{#if @root.page.home}} is-current{{/if}}"></a>
4+
<a href="{{{relativize this}}}" class="home-link{{#if @root.page.home}} is-current{{/if}}" title="Home"></a>
55
{{/with}}
66
{{> breadcrumbs}}
77
{{> page-versions}}

0 commit comments

Comments
 (0)