decrease icon jumping and optimize icon lib switching
This commit is contained in:
parent
775df1256d
commit
a8d8188003
3 changed files with 5 additions and 9 deletions
|
@ -368,8 +368,8 @@ ul.social {
|
|||
|
||||
a:hover {
|
||||
z-index: 2;
|
||||
-webkit-transform: translateY(-5px);
|
||||
transform: translateY(-5px);
|
||||
-webkit-transform: translateY(-2px);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
a {
|
||||
|
|
2
static/stylesheet/style.min.css
vendored
2
static/stylesheet/style.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -124,12 +124,8 @@
|
|||
<ul class="social">
|
||||
{% for name, link in SOCIAL %}
|
||||
<li><a class="sc-{{ name }}" href="{{ link }}" target="_blank">
|
||||
{% if name in ['envelope-open', 'rss'] %}
|
||||
<i class="fas fa-{{ name }}">
|
||||
{% else %}
|
||||
<i class="fab fa-{{ name }}">
|
||||
{% endif %}
|
||||
</i></a></li>
|
||||
<i class="fa{% if name in ['envelope-open', 'rss'] %}s{% else %}b{% endif %} fa-{{ name }}"></i>
|
||||
</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue