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 {
|
a:hover {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
-webkit-transform: translateY(-5px);
|
-webkit-transform: translateY(-2px);
|
||||||
transform: translateY(-5px);
|
transform: translateY(-2px);
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
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">
|
<ul class="social">
|
||||||
{% for name, link in SOCIAL %}
|
{% for name, link in SOCIAL %}
|
||||||
<li><a class="sc-{{ name }}" href="{{ link }}" target="_blank">
|
<li><a class="sc-{{ name }}" href="{{ link }}" target="_blank">
|
||||||
{% if name in ['envelope-open', 'rss'] %}
|
<i class="fa{% if name in ['envelope-open', 'rss'] %}s{% else %}b{% endif %} fa-{{ name }}"></i>
|
||||||
<i class="fas fa-{{ name }}">
|
</a></li>
|
||||||
{% else %}
|
|
||||||
<i class="fab fa-{{ name }}">
|
|
||||||
{% endif %}
|
|
||||||
</i></a></li>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue