@font-face { font-family: 'mastodon'; src: font-url('mastodon.eot'); src: local('☺'), font-url('mastodon.otf') format('opentype'), font-url('mastodon.woff') format('woff'), font-url('mastodon.ttf') format('truetype'), font-url('mastodon.svg') format('svg'); font-weight: normal; font-style: normal; } [class^="icon-"]:before, [class*=" icon-"]:before { font-family: "mastodon"; font-style: normal; font-weight: normal; speak: none; display: inline-block; text-decoration: inherit; width: 1em; margin-right: .2em; text-align: center; /* opacity: .8; */ /* For safety - reset parent styles, that can break glyph codes*/ font-variant: normal; text-transform: none; /* fix buttons height, for twitter bootstrap */ line-height: 1em; /* you can be more comfortable with increased icons size */ /* font-size: 120%; */ /* Font smoothing. That was taken from TWBS */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; /* Uncomment for 3D effect */ /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ } .icon-mastodon:before { content: '\e800'; } /* '' */ .icon-mastodon_alt:before { content: '\e801'; } /* '' */