Update font awesome

This commit is contained in:
Alexandre Vicenzi 2022-07-08 21:10:36 +02:00
parent 98cfee4ce2
commit b7350ed58c
19 changed files with 7453 additions and 12694 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,16 +1,19 @@
/*! /*!
* Font Awesome Free 5.13.0 by @fontawesome - https://fontawesome.com * Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
* Copyright 2022 Fonticons, Inc.
*/ */
:root, :host {
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"; }
@font-face { @font-face {
font-family: 'Font Awesome 5 Free'; font-family: 'Font Awesome 6 Free';
font-style: normal; font-style: normal;
font-weight: 900; font-weight: 900;
font-display: block; font-display: block;
src: url("../webfonts/fa-solid-900.eot"); src: url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.ttf") format("truetype"); }
src: url("../webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.woff") format("woff"), url("../webfonts/fa-solid-900.ttf") format("truetype"), url("../webfonts/fa-solid-900.svg#fontawesome") format("svg"); }
.fa, .fas,
.fas { .fa-solid {
font-family: 'Font Awesome 5 Free'; font-family: 'Font Awesome 6 Free';
font-weight: 900; } font-weight: 900; }

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 699 KiB

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 876 KiB

Binary file not shown.

Binary file not shown.

View file

@ -471,7 +471,7 @@ ul.social {
background-color: @github-bg-color; background-color: @github-bg-color;
} }
a.sc-envelope { a.sc-at, a.sc-mailbox, a.sc-envelope {
background-color: @email-bg-color; background-color: @email-bg-color;
} }
@ -730,3 +730,29 @@ div.figure.align-center {
div.figure.align-right { div.figure.align-right {
text-align: right; text-align: right;
} }
.github-corner:hover .octo-arm {
animation:octocat-wave 560ms ease-in-out;
}
@keyframes octocat-wave {
0%,100% {
transform:rotate(0);
}
20%,60% {
transform:rotate(-25deg);
}
40%,80% {
transform:rotate(10deg);
}
}
@media (max-width:500px) {
.github-corner:hover .octo-arm {
animation:none;
}
.github-corner .octo-arm{
animation:octocat-wave 560ms ease-in-out;
}
}

View file

@ -68,11 +68,16 @@
{% endif %} {% endif %}
{% if SOCIAL %} {% if SOCIAL %}
{% set solid = ['at', 'envelope', 'mailbox', 'rss'] %}
{% set relme = ['at', 'envelope', 'mailbox', 'mastodon'] %}
<ul class="social"> <ul class="social">
{% for name, link in SOCIAL %} {% for name, link in SOCIAL %}
<li> <li>
<a {% if name == 'mastodon' %}rel="me"{% endif %} class="sc-{{ name }}" href="{{ link }}" target="_blank"> <a class="sc-{{ name }}"
<i class="{% if name in ['envelope', 'rss'] %}fas{% else %}fab{% endif %} fa-{{ name }}"></i> {% if name in relme %}rel="me"{% endif %}
href="{{ link }}"
target="_blank">
<i class="{% if name in solid %}fa-solid{% else %}fa-brands{% endif %} fa-{{ name }}"></i>
</a> </a>
</li> </li>
{% endfor %} {% endfor %}