-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.css
32 lines (30 loc) · 903 Bytes
/
template.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@font-face {
font-family: "<%= fontName %>";
font-style: normal;
font-weight: 400;
src: url(<%= fontPath %><%= fontName %>.eot);
src:
url('<%= fontPath %><%= fontName %>.woff2') format('woff2'),
url('<%= fontPath %><%= fontName %>.woff') format('woff'),
url('<%= fontPath %><%= fontName %>.ttf') format('truetype');
}
.<%= cssClass %>::before {
font-family: "<%= fontName %>";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: normal;
font-style: normal;
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
}
.<%= cssClass %>.inactive { color: rgba(0, 0, 0, 0.26); }
<% _.each(glyphs, function(g) { %>
.<%= cssClass %>.<%= g.fileName %>::before {
content: "\<%= g.codePoint %>";
}
<% }); %>