Files
NapCatQQ/.pnpm-store/v3/files/c8/0e68d7d3f2a4d6c1808273735e3c91d01178e9cbbcc0c5d2ffc0dbd915c6786b71b705e7bc0c5f6402016ae5f324a314fc76240c889d7d392ba1a503e63cf4
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

34 lines
1.3 KiB
Plaintext

@font-face {
font-family: "<%=fontFamily%>";
src: url("<%=fontPath%><%=fontFile%>.eot"); /* IE9 */
src: <%if (local) {%>local("<%=local%>"), <%}%>url("<%=fontPath%><%=fontFile%>.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */<% if (base64) { %>
url(<%=base64%>) format("truetype"), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */<% } else { %>
url("<%=fontPath%><%=fontFile%>.woff2") format("woff2"), /* chrome 36+, firefox 39+,iOS 10+, Android 67+ */
url("<%=fontPath%><%=fontFile%>.woff") format("woff"), /* chrome, firefox */
url("<%=fontPath%><%=fontFile%>.ttf") format("truetype"), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */<% } %>
url("<%=fontPath%><%=fontFile%>.svg#<%=fontFamily%>") format("svg"); /* iOS 4.1- */
font-style: normal;
font-weight: normal;
}
<% if (glyph) { %>
[class^="<%=iconPrefix%>-"],
[class*=" <%=iconPrefix%>-"]:after {
font-family: "<%=fontFamily%>";
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
<% _.each(glyfList, function(glyf) { %>
.<%=iconPrefix%>-<%=glyf.name%>:before {
content: "<%=glyf.codeName%>";
}
<% }); %>
<% }; %>