fontello.css
50 lines
| 1 | @font-face { |
| 2 | font-family: 'fontello'; |
| 3 | src: url('../fonts/fontello.eot?57329479'); |
| 4 | src: url('../fonts/fontello.eot?57329479#iefix') format('embedded-opentype'), |
| 5 | url('../fonts/fontello.woff2?57329479') format('woff2'), |
| 6 | url('../fonts/fontello.woff?57329479') format('woff'), |
| 7 | url('../fonts/fontello.ttf?57329479') format('truetype'), |
| 8 | url('../fonts/fontello.svg?57329479#fontello') format('svg'); |
| 9 | font-weight: normal; |
| 10 | font-style: normal; |
| 11 | } |
| 12 | [class^="wpp-icon-"]:before, [class*=" icon-"]:before { |
| 13 | font-family: "fontello"; |
| 14 | font-style: normal; |
| 15 | font-weight: normal; |
| 16 | speak: none; |
| 17 | |
| 18 | display: inline-block; |
| 19 | text-decoration: inherit; |
| 20 | width: 1em; |
| 21 | margin-right: .2em; |
| 22 | text-align: center; |
| 23 | /* opacity: .8; */ |
| 24 | |
| 25 | /* For safety - reset parent styles, that can break glyph codes*/ |
| 26 | font-variant: normal; |
| 27 | text-transform: none; |
| 28 | |
| 29 | /* fix buttons height, for twitter bootstrap */ |
| 30 | line-height: 1em; |
| 31 | |
| 32 | /* Animation center compensation - margins should be symmetric */ |
| 33 | /* remove if not needed */ |
| 34 | margin-left: .2em; |
| 35 | |
| 36 | /* you can be more comfortable with increased icons size */ |
| 37 | /* font-size: 120%; */ |
| 38 | |
| 39 | /* Font smoothing. That was taken from TWBS */ |
| 40 | -webkit-font-smoothing: antialiased; |
| 41 | -moz-osx-font-smoothing: grayscale; |
| 42 | |
| 43 | /* Uncomment for 3D effect */ |
| 44 | /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ |
| 45 | } |
| 46 | |
| 47 | .wpp-icon-eye:before { content: '\e800'; } |
| 48 | .wpp-icon-award:before { content: '\e801'; } |
| 49 | .wpp-icon-comment:before { content: '\f0e5'; } |
| 50 | .wpp-icon-rocket:before { content: '\f135'; } |