Skip to content

Commit 425b8f3

Browse files
author
Matthieu Oger
committed
Add icons and behavior to footer
1 parent b097f5c commit 425b8f3

File tree

5 files changed

+51
-3
lines changed

5 files changed

+51
-3
lines changed

_includes/footer.html

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,23 @@
55
</div>
66

77
<div class="page-footer__item social">
8-
<img src="/static/images/icons/facebook.png" alt="Facebook" title="Facebook" />
9-
<img src="/static/images/icons/twitter.png" alt="Twitter" title="Twitter" />
10-
<img src="/static/images/icons/pxn.png" alt="Pixelnest Studio" title="Pixelnest Studio" />
8+
<a href="https://www.facebook.com/pixelneststudio/">
9+
<img class="facebook"
10+
src="/static/images/icons/footer_facebook.png"
11+
alt="Facebook"
12+
title="Facebook" />
13+
</a>
14+
<a href="https://twitter.com/pixelnest/">
15+
<img class="twitter"
16+
src="/static/images/icons/footer_twitter.png"
17+
alt="Twitter"
18+
title="Twitter" />
19+
</a>
20+
<a href="/">
21+
<img class="pxn"
22+
src="/static/images/icons/footer-pxn.png"
23+
alt="Pixelnest Studio"
24+
title="Pixelnest Studio" />
25+
</a>
1126
</div>
1227
</footer>

_sass/pages/_footer.scss

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,37 @@
4040

4141
.page-footer__item.social {
4242
text-align: right;
43+
44+
img {
45+
vertical-align: middle;
46+
}
47+
48+
.facebook,
49+
.twitter {
50+
width: auto;
51+
height: 20px;
52+
}
53+
54+
.facebook {
55+
margin-right: 16px;
56+
}
57+
58+
.twitter {
59+
margin-right: 32px;
60+
}
61+
62+
.pxn {
63+
width: auto;
64+
height: 32px;
65+
}
66+
67+
a {
68+
img {
69+
transition: all 150ms ease-out;
70+
}
71+
72+
&:hover img {
73+
transform: scale(1.1, 1.1);
74+
}
75+
}
4376
}

static/images/icons/footer-pxn.png

2.64 KB
Loading
294 Bytes
Loading
615 Bytes
Loading

0 commit comments

Comments
 (0)