Add .mg-icon-link class to social icons

This commit is contained in:
Luca Chiricozzi 2015-01-15 20:41:16 +01:00
parent ed78d5c0ba
commit 6293f47f05
3 changed files with 8 additions and 1 deletions

View File

@ -189,6 +189,10 @@ a {
margin-top: 1em; margin-top: 1em;
} }
.mg-icon-link:hover {
text-decoration: none;
}
.mg-icons-small { .mg-icons-small {
margin-bottom: 1em; margin-bottom: 1em;
} }

View File

@ -116,6 +116,9 @@ a {
.mg-author { .mg-author {
margin-top: 1em; } margin-top: 1em; }
.mg-icon-link:hover {
text-decoration: none; }
.mg-icons-small { .mg-icons-small {
margin-bottom: 1em; } margin-bottom: 1em; }

View File

@ -124,7 +124,7 @@
<div class="uk-panel uk-panel-box"> <div class="uk-panel uk-panel-box">
<h3 class="uk-panel-title">Contacts</h3> <h3 class="uk-panel-title">Contacts</h3>
{% for icon, link in SOCIAL %} {% for icon, link in SOCIAL %}
<a href="{{ link }}"> <a class="mg-icon-link" href="{{ link }}">
<i class="uk-icon-{{ icon }} uk-icon-medium"></i> <i class="uk-icon-{{ icon }} uk-icon-medium"></i>
</a> </a>
{% endfor %} {% endfor %}