1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-08-02 20:45:52 +08:00

iconfont资源本地化

This commit is contained in:
xiaochong0302 2024-05-28 17:19:52 +08:00
parent 272a3255d2
commit 45125453e0
5 changed files with 84 additions and 2 deletions

View File

@ -14,8 +14,7 @@
{% else %} {% else %}
{{ icon_link('favicon.ico') }} {{ icon_link('favicon.ico') }}
{% endif %} {% endif %}
<link rel="preload" href="//at.alicdn.com/t/font_2760791_mj6x0o9n15s.woff2" as="font" type="font/woff2" crossorigin="anonymous"> {{ css_link('lib/iconfont/iconfont.css') }}
<link rel="stylesheet" href="//at.alicdn.com/t/font_2760791_mj6x0o9n15s.css">
{{ css_link('lib/layui/css/layui.css') }} {{ css_link('lib/layui/css/layui.css') }}
{{ css_link('home/css/common.css') }} {{ css_link('home/css/common.css') }}
{% block link_css %}{% endblock %} {% block link_css %}{% endblock %}

View File

@ -0,0 +1,83 @@
@font-face {
font-family: "iconfont"; /* Project id 2760791 */
src: url('iconfont.woff2?t=1716885700001') format('woff2'),
url('iconfont.woff?t=1716885700001') format('woff'),
url('iconfont.ttf?t=1716885700001') format('truetype');
}
.iconfont {
font-family: "iconfont", serif !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-pdf:before {
content: "\e7b8";
}
.icon-doc:before {
content: "\e632";
}
.icon-playback:before {
content: "\e6b3";
}
.icon-live:before {
content: "\e64e";
}
.icon-article:before {
content: "\e7fd";
}
.icon-video:before {
content: "\e630";
}
.icon-douban:before {
content: "\e613";
}
.icon-qzone:before {
content: "\e61b";
}
.icon-lock:before {
content: "\e7c9";
}
.icon-phone:before {
content: "\e78e";
}
.icon-toutiao:before {
content: "\e600";
}
.icon-qq:before {
content: "\e63c";
}
.icon-location:before {
content: "\e646";
}
.icon-weibo:before {
content: "\e763";
}
.icon-mail:before {
content: "\e6b2";
}
.icon-wechat:before {
content: "\e623";
}
.icon-zhihu:before {
content: "\ea8b";
}

Binary file not shown.

Binary file not shown.

Binary file not shown.