Skip to content

Commit

Permalink
移除 font-awesome
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzhihang committed Feb 4, 2023
1 parent e80350e commit 348a4b0
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 12 deletions.
30 changes: 19 additions & 11 deletions templates/assets/libs/iconfont/iconfont.css
Original file line number Diff line number Diff line change
@@ -1,24 +1,32 @@
@font-face {
font-family: "iconfont"; /* Project id 3736806 */
src: url('iconfont.woff2?t=1668835494725') format('woff2'),
url('iconfont.woff?t=1668835494725') format('woff'),
url('iconfont.ttf?t=1668835494725') format('truetype');
font-family: "iconfont"; /* Project id 3736806 */
src: url('iconfont.woff2?t=1675495619599') format('woff2'),
url('iconfont.woff?t=1675495619599') format('woff'),
url('iconfont.ttf?t=1675495619599') format('truetype');
}

.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.icon-arrows-alt-h:before {
content: "\ef28";
}

.icon-plus-circle:before {
content: "\f082";
}

.icon-csdn1:before {
content: "\e608";
content: "\e608";
}

.icon-CN_cnblogs:before {
content: "\e64d";
content: "\e64d";
}

.icon-leetcode:before {
Expand Down
2 changes: 1 addition & 1 deletion templates/assets/libs/iconfont/iconfont.js

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions templates/assets/libs/iconfont/iconfont.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@
"css_prefix_text": "icon-",
"description": "",
"glyphs": [
{
"icon_id": "5633818",
"name": "arrows-alt-h",
"font_class": "arrows-alt-h",
"unicode": "ef28",
"unicode_decimal": 61224
},
{
"icon_id": "5634298",
"name": "plus-circle",
"font_class": "plus-circle",
"unicode": "f082",
"unicode_decimal": 61570
},
{
"icon_id": "3506983",
"name": "csdn",
Expand Down
Binary file modified templates/assets/libs/iconfont/iconfont.ttf
Binary file not shown.
Binary file modified templates/assets/libs/iconfont/iconfont.woff
Binary file not shown.
Binary file modified templates/assets/libs/iconfont/iconfont.woff2
Binary file not shown.

0 comments on commit 348a4b0

Please sign in to comment.