diff options
author | SkyArrow <tommy351@gmail.com> | 2012-03-17 03:44:22 +0100 |
---|---|---|
committer | SkyArrow <tommy351@gmail.com> | 2012-03-17 03:44:22 +0100 |
commit | 1d98a784894658ff3292a7f8de8dbde05e83cbab (patch) | |
tree | 21254daec4dd7db49b7b1b50898b65aa74e79c58 | |
parent | 77881bdaef1f0397e89d7b5ba3b7bbcc1eb868b1 (diff) | |
download | octopress-theme-jeyzu-1d98a784894658ff3292a7f8de8dbde05e83cbab.zip octopress-theme-jeyzu-1d98a784894658ff3292a7f8de8dbde05e83cbab.tar.gz |
add github button
-rw-r--r-- | sass/parts/_header.scss | 7 | ||||
-rw-r--r-- | source/_includes/header.html | 3 | ||||
-rw-r--r-- | source/images/github.png | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000..6962c9d --- /dev/null +++ b/source/images/github.png |