From cac376b7da79ae468bf83595b2149b3ef858506d Mon Sep 17 00:00:00 2001 From: Bryon Fryer Date: Tue, 3 Apr 2012 23:17:12 -0400 Subject: Added Pinterest social button, to use add pinterest_user: to _config.yml --- sass/parts/_header.scss | 9 ++++++++- source/_includes/header.html | 5 ++++- source/images/pintrest.png | Bin 0 -> 1128 bytes 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 source/images/pintrest.png 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 %} GitHub {% endif %} + {% if site.pinterest_user %} + Pinterest + {% endif %} {% if site.subscribe_rss %} RSS {% endif %} -{% 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 Binary files /dev/null and b/source/images/pintrest.png differ -- cgit v1.1-2-g2b99 From 4be6a50c690acb3bc8657ddb4bbc0a4d0f64302a Mon Sep 17 00:00:00 2001 From: Bryon Fryer Date: Tue, 3 Apr 2012 23:32:03 -0400 Subject: spelling error pintrest.png->pinterest.png --- source/images/pinterest.png | Bin 0 -> 1128 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 source/images/pinterest.png diff --git a/source/images/pinterest.png b/source/images/pinterest.png new file mode 100644 index 0000000..34a64d6 Binary files /dev/null and b/source/images/pinterest.png differ -- cgit v1.1-2-g2b99