From b563f8747f9655e789878e9da67376be4aa04e30 Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Wed, 25 Jan 2012 01:26:08 +0800 Subject: social icon class --- sass/parts/_header.scss | 8 ++++---- source/_includes/header.html | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sass/parts/_header.scss b/sass/parts/_header.scss index 3f73710..7f76330 100644 --- a/sass/parts/_header.scss +++ b/sass/parts/_header.scss @@ -114,28 +114,28 @@ header{ &:hover{ opacity: 1; } - &:first-of-type{ + &.facebook{ background: image-url('facebook.png') center no-repeat #3B5998; border: 1px solid #3B5998; &:hover{ border: 1px solid darken(#3B5998, 10%); } } - &:nth-of-type(2){ + &.google{ background: image-url('google.png') center no-repeat #C83D20; border: 1px solid #C83D20; &:hover{ border: 1px solid darken(#C83D20, 10%); } } - &:nth-of-type(3){ + &.twitter{ background: image-url('twitter.png') center no-repeat #55CFF8; border: 1px solid #55CFF8; &:hover{ border: 1px solid darken(#55CFF8, 10%); } } - &:last-of-type{ + &.rss{ background: image-url('rss.png') center no-repeat #EF7522; border: 1px solid #EF7522; &:hover{ diff --git a/source/_includes/header.html b/source/_includes/header.html index 234ffae..d8cd357 100644 --- a/source/_includes/header.html +++ b/source/_includes/header.html @@ -7,16 +7,16 @@
{% if site.facebook_user %} - Facebook + {% endif %} {% if site.googleplus_user %} - Google+ + Google+ {% endif %} {% if site.twitter_user %} - Twitter + {% endif %} {% if site.subscribe_rss %} - RSS + RSS {% endif %}
-- cgit v1.1-2-g2b99