Skip to content

Commit f9b5706

Browse files
committed
Add logo
1 parent f42fbd8 commit f9b5706

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

_includes/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div class="wrapper">
44

5-
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
5+
<h1><a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a></h1>
66

77
<nav class="site-nav">
88
<a href="#" class="menu-icon">

_sass/_layout.scss

+14-3
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,27 @@
44
.site-header {
55
border-top: 5px solid $grey-color-dark;
66
border-bottom: 1px solid $grey-color-light;
7-
min-height: 56px;
7+
min-height: 55px;
88

99
// Positioning context for the mobile navigation icon
1010
position: relative;
1111
}
1212

13+
.site-header h1 {
14+
background: url("/img/logo-small.png") left no-repeat;
15+
background-size: 40px;
16+
display: block;
17+
float: left;
18+
font-weight: 300;
19+
height: 100%;
20+
margin: 0;
21+
padding: 0 0 0 50px;
22+
}
23+
1324
.site-title {
1425
font-size: 26px;
1526
font-weight: 300;
16-
line-height: 56px;
27+
line-height: 55px;
1728
letter-spacing: -1px;
1829
margin-bottom: 0;
1930
float: left;
@@ -26,7 +37,7 @@
2637

2738
.site-nav {
2839
float: right;
29-
line-height: 56px;
40+
line-height: 55px;
3041

3142
.menu-icon {
3243
display: none;

img/logo-small.png

547 Bytes
Loading

0 commit comments

Comments
 (0)