summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryon Fryer <bryon.fryer@gmail.com>2012-04-04 05:17:12 +0200
committerBryon Fryer <bryon.fryer@gmail.com>2012-04-04 05:17:12 +0200
commitcac376b7da79ae468bf83595b2149b3ef858506d (patch)
tree28d16ca344c2447d18601e03ca710f1fd2141557
parent1d98a784894658ff3292a7f8de8dbde05e83cbab (diff)
downloadoctopress-theme-jeyzu-cac376b7da79ae468bf83595b2149b3ef858506d.zip
octopress-theme-jeyzu-cac376b7da79ae468bf83595b2149b3ef858506d.tar.gz
Added Pinterest social button, to use add pinterest_user: to _config.yml
-rw-r--r--sass/parts/_header.scss9
-rw-r--r--source/_includes/header.html5
-rw-r--r--source/images/pintrest.pngbin0 -> 1128 bytes
3 files changed, 12 insertions, 2 deletions
diff --git a/sass/parts/_header.scss b/sass/parts/_header.scss
index d740f9f..12417c0 100644
--- a/sass/parts/_header.scss
+++ b/sass/parts/_header.scss
@@ -206,6 +206,13 @@ header{
border: 1px solid darken(rgb(175,182,202), 10%);
}
}
+ &.pinterest{
+ background: image-url('pinterest.png') center no-repeat rgb(190,64,55);
+ border: 1px solid rgb(190,64,55);
+ &:hover{
+ border: 1px solid darken(rgb(190,64,55), 10%);
+ }
+ }
&.rss{
background: image-url('rss.png') center no-repeat #EF7522;
border: 1px solid #EF7522;
@@ -215,4 +222,4 @@ header{
}
}
}
-} \ No newline at end of file
+}
diff --git a/source/_includes/header.html b/source/_includes/header.html
index dbb5510..b0854ca 100644
--- a/source/_includes/header.html
+++ b/source/_includes/header.html
@@ -18,9 +18,12 @@
{% if site.github_user %}
<a class="github" href="https://github.com/{{ site.github_user }}" title="GitHub">GitHub</a>
{% endif %}
+ {% if site.pinterest_user %}
+ <a class="pinterest" href="https://pinterest.com/{{ site.pinterest_user }}" title="Pinterest">Pinterest</a>
+ {% endif %}
{% if site.subscribe_rss %}
<a class="rss" href="{{ site.subscribe_rss }}" title="RSS">RSS</a>
{% endif %}
</div>
</div>
-{% include custom/header.html %} \ No newline at end of file
+{% include custom/header.html %}
diff --git a/source/images/pintrest.png b/source/images/pintrest.png
new file mode 100644
index 0000000..34a64d6
--- /dev/null
+++ b/source/images/pintrest.png
Binary files differ