2013-05-17 19:52:54 +00:00
|
|
|
| <style type="text/css">
|
2013-05-05 20:06:25 +00:00
|
|
|
|
2013-11-27 23:16:02 +00:00
|
|
|
| @charset 'UTF-8';
|
|
|
|
|
2013-05-17 19:52:54 +00:00
|
|
|
/* @FONT-FACE loads font into browser */
|
|
|
|
| @font-face {
|
|
|
|
| font-family: '#{font.fontname}';
|
|
|
|
| src: url('#{font.fontname}.eot');
|
|
|
|
| src: url('#{font.fontname}.eot?#iefix') format('embedded-opentype'),
|
|
|
|
| url('#{font.fontname}.woff') format('woff'),
|
|
|
|
| url('#{font.fontname}.ttf') format('truetype'),
|
|
|
|
| url('#{font.fontname}.svg##{font.fontname}') format('svg');
|
|
|
|
| font-weight: normal;
|
|
|
|
| font-style: normal;
|
|
|
|
| }
|
2013-05-05 20:06:25 +00:00
|
|
|
|
2013-11-27 23:16:02 +00:00
|
|
|
/* :before psuedo-selector inserts and styles icon */
|
|
|
|
| .#{meta.css_prefix}:before {
|
2013-05-17 19:52:54 +00:00
|
|
|
| font-family: '#{font.fontname}';
|
|
|
|
| font-style: normal;
|
|
|
|
| font-weight: normal;
|
|
|
|
| speak: none;
|
|
|
|
| display: inline-block;
|
|
|
|
| text-decoration: inherit;
|
|
|
|
| width: 1em;
|
|
|
|
| height: 1em;
|
2013-05-18 00:00:00 +00:00
|
|
|
| font-size: 1em;
|
2013-05-17 19:52:54 +00:00
|
|
|
| text-align: center;
|
|
|
|
| -webkit-font-smoothing: antialiased;
|
|
|
|
| font-smoothing: antialiased;
|
|
|
|
| text-rendering: optimizeLegibility;
|
|
|
|
| }
|
2013-05-05 20:06:25 +00:00
|
|
|
|
2013-05-17 19:52:54 +00:00
|
|
|
| </style>
|
2013-05-05 20:06:25 +00:00
|
|
|
| <style type="text/css">
|
|
|
|
|
2013-05-17 19:52:54 +00:00
|
|
|
/* Code for individual icons */
|
2013-05-05 20:06:25 +00:00
|
|
|
- var i, g, css, hex, chr
|
|
|
|
- for (i in glyphs)
|
|
|
|
- g = glyphs[i]
|
2013-05-17 19:52:54 +00:00
|
|
|
- css = meta.css_prefix + '-' + g.css
|
|
|
|
- hex = g.code.replace('0x','\\')
|
2013-05-05 20:06:25 +00:00
|
|
|
- chr = unichr(g.code)
|
|
|
|
!= '\n'
|
2013-11-27 23:16:02 +00:00
|
|
|
| .#{css}:before { content: '#{hex}'; } /* '#{chr}' */
|
2013-05-05 20:06:25 +00:00
|
|
|
|
|
|
|
| </style>
|
|
|
|
|