summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sass/parts/_header.scss7
-rw-r--r--source/_includes/header.html3
-rw-r--r--source/images/github.pngbin0 -> 1205 bytes
3 files changed, 10 insertions, 0 deletions
diff --git a/sass/parts/_header.scss b/sass/parts/_header.scss
index 67ebf84..d740f9f 100644
--- a/sass/parts/_header.scss
+++ b/sass/parts/_header.scss
@@ -199,6 +199,13 @@ header{
border: 1px solid darken(#55CFF8, 10%);
}
}
+ &.github{
+ background: image-url('github.png') center no-repeat rgb(175,182,202);
+ border: 1px solid rgb(175,182,202);
+ &:hover{
+ border: 1px solid darken(rgb(175,182,202), 10%);
+ }
+ }
&.rss{
background: image-url('rss.png') center no-repeat #EF7522;
border: 1px solid #EF7522;
diff --git a/source/_includes/header.html b/source/_includes/header.html
index d8cd357..dbb5510 100644
--- a/source/_includes/header.html
+++ b/source/_includes/header.html
@@ -15,6 +15,9 @@
{% if site.twitter_user %}
<a class="twitter" href="http://twitter.com/{{ site.twitter_user }}" title="Twitter">Twitter</a>
{% endif %}
+ {% if site.github_user %}
+ <a class="github" href="https://github.com/{{ site.github_user }}" title="GitHub">GitHub</a>
+ {% endif %}
{% if site.subscribe_rss %}
<a class="rss" href="{{ site.subscribe_rss }}" title="RSS">RSS</a>
{% endif %}
diff --git a/source/images/github.png b/source/images/github.png
new file mode 100644
index 0000000..6962c9d
--- /dev/null
+++ b/source/images/github.png
Binary files differ