Created
April 21, 2015 16:03
-
-
Save erin-dot-io/4db5688f5b6c9a477697 to your computer and use it in GitHub Desktop.
Custom IcoMoon base styles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Move base font icon styles onto :before in order to | |
avoid affecting text styles on the parent element */ | |
[class^="icon-"], [class*=" icon-"] { | |
&:before { | |
font-family: 'su-icons'; | |
speak: none; | |
font-style: normal; | |
font-weight: normal; | |
font-variant: normal; | |
text-transform: none; | |
line-height: 1; | |
/* Normalize font size adjust incase its been changed for | |
custom web fonts. This fixes incorrect icon sizes in Firefox ~37 */ | |
font-size-adjust: none; | |
/* Better Font Rendering =========== */ | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment