scss/_core.scss
raw| 1 | // Base Class Definition |
| 2 | // ------------------------- |
| 3 | |
| 4 | .#{$fa-css-prefix} { |
| 5 | display: inline-block; |
| 6 | font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} #{$fa-font-family}; // shortening font declaration |
| 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override |
| 8 | text-rendering: auto; // optimizelegibility throws things off #1094 |
| 9 | -webkit-font-smoothing: antialiased; |
| 10 | -moz-osx-font-smoothing: grayscale; |
| 11 | |
| 12 | } |