diff options
author | 2014-04-30 18:16:38 -0400 | |
---|---|---|
committer | 2014-04-30 18:16:38 -0400 | |
commit | 6162c15762d7391356f9c635f57409c482d60f06 (patch) | |
tree | 1991774a893ff61e7d89d19c82ad4bcc0e1d9f2e | |
parent | 649b28276e31ec7b5074ead112fa358063debb62 (diff) | |
download | kompetenzbolzen.github.io-6162c15762d7391356f9c635f57409c482d60f06.tar.gz |
social icons for github and twitter as pngs
-rw-r--r-- | _layouts/default.html | 6 | ||||
-rw-r--r-- | images/icon-github.png | bin | 0 -> 2553 bytes | |||
-rw-r--r-- | images/icon-twitter.png | bin | 0 -> 2529 bytes | |||
-rwxr-xr-x | scss/style.scss | 5 | ||||
-rw-r--r-- | style.css | 5 |
5 files changed, 11 insertions, 5 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 77e9cd9..f424fff 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -37,10 +37,8 @@ <div id="main" role="main">{{ content }}</div> <footer class="footer"> - <ul> - <li><a href="http://github.com/{{ site.links.github }}">{{ site.links.github }} on GitHub</a></li> - <li><a href="http://twitter.com/{{ site.links.twitter }}">{{ site.links.twitter }} on Twitter</a></li> - </ul> + {% if site.links.github %}<a href="http://github.com/{{ site.links.github }}"><img class="footer-icon" src="/images/icon-github.png" /></a>{% endif %} + {% if site.links.twitter %}<a href="http://twitter.com/{{ site.links.github }}"><img class="footer-icon" src="/images/icon-twitter.png" /></a>{% endif %} </footer> {% include analytics.html %} diff --git a/images/icon-github.png b/images/icon-github.png Binary files differnew file mode 100644 index 0000000..23dd233 --- /dev/null +++ b/images/icon-github.png diff --git a/images/icon-twitter.png b/images/icon-twitter.png Binary files differnew file mode 100644 index 0000000..f40c5a4 --- /dev/null +++ b/images/icon-twitter.png diff --git a/scss/style.scss b/scss/style.scss index 533f04b..55e559c 100755 --- a/scss/style.scss +++ b/scss/style.scss @@ -238,4 +238,9 @@ nav { footer { // border-top: 1px $lightGray solid; padding: 20px 0; + text-align: center; + + .footer-icon { + width: 40px; + } } @@ -479,4 +479,7 @@ nav { color: #666666; } footer { - padding: 20px 0; } + padding: 20px 0; + text-align: center; } + footer .footer-icon { + width: 40px; } |