[FIX] base_fontawesome: brands
In website, brands logos from footer aren't shown, so: - Load font for brands in general CSS - Add fallback for `fa` class (to avoid change all of them for `fab`)pull/2740/head
parent
a08988bc1c
commit
84a3927031
|
@ -4612,5 +4612,5 @@ readers do not read off random characters that represent icons */
|
||||||
|
|
||||||
.fa,
|
.fa,
|
||||||
.fas {
|
.fas {
|
||||||
font-family: 'Font Awesome 5 Free';
|
font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands' !important;
|
||||||
font-weight: 900; }
|
font-weight: 900; }
|
||||||
|
|
|
@ -15,6 +15,23 @@
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: block;
|
font-display: block;
|
||||||
}
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: "FontAwesomeBrands";
|
||||||
|
src: url("../../lib/fontawesome-5.15.4/webfonts/fa-brands-400.eot");
|
||||||
|
src: url("../../lib/fontawesome-5.15.4/webfonts/fa-brands-400.eot?#iefix&v=5.15.4")
|
||||||
|
format("embedded-opentype"),
|
||||||
|
url("../../lib/fontawesome-5.15.4/webfonts/fa-brands-400.woff2?v=5.15.4")
|
||||||
|
format("woff2"),
|
||||||
|
url("../../lib/fontawesome-5.15.4/webfonts/fa-brands-400.woff?v=5.15.4")
|
||||||
|
format("woff"),
|
||||||
|
url("../../lib/fontawesome-5.15.4/webfonts/fa-brands-400.ttf?v=5.15.4")
|
||||||
|
format("truetype"),
|
||||||
|
url("../../lib/fontawesome-5.15.4/webfonts/fa-brands-400.svg#fontawesome?v=5.15.4&fontawesomeregular")
|
||||||
|
format("svg");
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.btn.fa,
|
.btn.fa,
|
||||||
.btn.fas,
|
.btn.fas,
|
||||||
|
|
Loading…
Reference in New Issue