Skip to content

Commit e4f9bc4

Browse files
author
Janaka-Steph
committed
Cleanup icon fonts
1 parent 22becc6 commit e4f9bc4

File tree

5 files changed

+29
-26
lines changed

5 files changed

+29
-26
lines changed

ui/src/css/fontawesome.css

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
@font-face {
2+
font-family: 'Font Awesome 5 Brands';
3+
font-style: normal;
4+
font-weight: normal;
5+
font-display: block;
6+
src: url("../font/fa-brands-400.woff2") format("woff2"),
7+
url("../font/fa-brands-400.woff") format("woff"),
8+
url("../font/fa-brands-400.svg#fontawesome") format("svg");
9+
}
10+
11+
@font-face {
12+
font-family: 'Font Awesome 5 Free';
13+
font-style: normal;
14+
font-weight: 900;
15+
font-display: block;
16+
src: url("../font/fa-solid-900.woff2") format("woff2"),
17+
url("../font/fa-solid-900.woff") format("woff"),
18+
url("../font/fa-solid-900.svg#fontawesome") format("svg");
19+
}
20+
121
.fas,
222
.fab {
323
-moz-osx-font-smoothing: grayscale;
@@ -9,6 +29,15 @@
929
line-height: 1;
1030
}
1131

32+
.fab {
33+
font-family: 'Font Awesome 5 Brands', serif;
34+
}
35+
36+
.fas {
37+
font-family: 'Font Awesome 5 Free', serif;
38+
font-weight: 900;
39+
}
40+
1241
.fa-align-left::before {
1342
content: "\f036";
1443
}
@@ -64,32 +93,6 @@
6493
content: "\f099";
6594
}
6695

67-
@font-face {
68-
font-family: 'Font Awesome 5 Brands';
69-
font-style: normal;
70-
font-weight: normal;
71-
font-display: auto;
72-
src: url("../font/fa-brands-400.eot");
73-
src: url("../font/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("../font/fa-brands-400.woff2") format("woff2"), url("../font/fa-brands-400.woff") format("woff"), url("../font/fa-brands-400.ttf") format("truetype"), url("../font/fa-brands-400.svg#fontawesome") format("svg");
74-
}
75-
76-
.fab {
77-
font-family: 'Font Awesome 5 Brands', serif;
78-
}
79-
80-
@font-face {
81-
font-family: 'Font Awesome 5 Free';
82-
font-style: normal;
83-
font-weight: 900;
84-
font-display: auto;
85-
src: url("../font/fa-solid-900.eot");
86-
src: url("../font/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../font/fa-solid-900.woff2") format("woff2"), url("../font/fa-solid-900.woff") format("woff"), url("../font/fa-solid-900.ttf") format("truetype"), url("../font/fa-solid-900.svg#fontawesome") format("svg");
87-
}
88-
89-
.fas {
90-
font-family: 'Font Awesome 5 Free', serif;
91-
font-weight: 900;
92-
}
9396

9497
/* Font Awesome 5 Admonition Support */
9598
/*

ui/src/font/fa-brands-400.eot

-128 KB
Binary file not shown.

ui/src/font/fa-brands-400.ttf

-128 KB
Binary file not shown.

ui/src/font/fa-solid-900.eot

-188 KB
Binary file not shown.

ui/src/font/fa-solid-900.ttf

-188 KB
Binary file not shown.

0 commit comments

Comments
 (0)