-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.css
More file actions
34 lines (31 loc) · 902 Bytes
/
demo.css
File metadata and controls
34 lines (31 loc) · 902 Bytes
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
33
34
@font-face {
font-family: "${name}";
src: url("${publishPath}${name}.eot?#iefix") format("embedded-opentype"),
url("${publishPath}${name}.woff") format("woff"),
url("${publishPath}${name}.ttf") format("truetype"),
url("${publishPath}${name}.svg#iconFont") format("svg");
font-weight: normal;
font-style: normal;
}
.${name} {
display: inline-block;
font-family: "${name}";
font-style: normal;
font-weight: normal;
font-variant: normal;
line-height: 1;
text-decoration: inherit;
text-rendering: optimizeLegibility;
text-transform: none;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-smoothing: antialiased;
vertical-align: middle;
margin-bottom: 2px;
}
.${name}:before {
font-family: ${name} !important;
font-style: normal;
font-weight: normal !important;
}
${fontContent}