summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-04-04 11:03:10 +0200
committerSkyArrow <tommy351@gmail.com>2012-04-04 11:03:10 +0200
commitfe61af913d62b9c5f6457a540c2d11dff0bb4bc4 (patch)
treeccd17b1dc2f66e6b9ee0275755422ddf92d0f8c1
parent1d98a784894658ff3292a7f8de8dbde05e83cbab (diff)
parent4be6a50c690acb3bc8657ddb4bbc0a4d0f64302a (diff)
downloadoctopress-theme-jeyzu-fe61af913d62b9c5f6457a540c2d11dff0bb4bc4.zip
octopress-theme-jeyzu-fe61af913d62b9c5f6457a540c2d11dff0bb4bc4.tar.gz
Merge pull request #6 from bryogenic/master
Added Pinterest Button
-rw-r--r--sass/parts/_header.scss9
-rw-r--r--source/_includes/header.html5
-rw-r--r--source/images/pinterest.pngbin0 -> 1128 bytes
-rw-r--r--source/images/pintrest.pngbin0 -> 1128 bytes
4 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/pinterest.png b/source/images/pinterest.png
new file mode 100644
index 0000000..34a64d6
--- /dev/null
+++ b/source/images/pinterest.png
Binary files differ
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