summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sass/parts/_header.scss8
-rw-r--r--source/_includes/header.html8
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 @@
</form>
<div class="social right">
{% if site.facebook_user %}
- <a href="http://www.facebook.com/{{ site.facebook_user }}" title="Facebook">Facebook</a>
+ <a class="facebook" href="http://www.facebook.com/{{ site.facebook_user }}" title="Facebook">Facebook</a>
{% endif %}
{% if site.googleplus_user %}
- <a href="https://plus.google.com/{{ site.googleplus_user }}" title="Google+">Google+</a>
+ <a class="google" href="https://plus.google.com/{{ site.googleplus_user }}" title="Google+">Google+</a>
{% endif %}
{% if site.twitter_user %}
- <a href="http://twitter.com/{{ site.twitter_user }}" title="Twitter">Twitter</a>
+ <a class="twitter" href="http://twitter.com/{{ site.twitter_user }}" title="Twitter">Twitter</a>
{% endif %}
{% if site.subscribe_rss %}
- <a href="{{ site.subscribe_rss }}" title="RSS">RSS</a>
+ <a class="rss" href="{{ site.subscribe_rss }}" title="RSS">RSS</a>
{% endif %}
</div>
</div>