core.less 509 B

12345678910111213
  1. // Base Class Definition
  2. // -------------------------
  3. .@{fa-css-prefix} {
  4. display: inline-block;
  5. font: normal normal normal @fa-font-size-base/1 FontAwesome; // shortening font declaration
  6. font-size: inherit; // can't have font-size inherit on line above, so need to override
  7. text-rendering: auto; // optimizelegibility throws things off #1094
  8. -webkit-font-smoothing: antialiased;
  9. -moz-osx-font-smoothing: grayscale;
  10. transform: translate(0, 0); // ensures no half-pixel rendering in firefox
  11. }