Font-Awesome/scss/_core.scss

15 lines
539 B
SCSS
Raw Normal View History

// Base Class Definition
// -------------------------
.#{$fa-css-prefix} {
2013-06-12 10:47:27 -04:00
display: inline-block;
font: normal normal normal #{$fa-font-size-base}/1 FontAwesome; // shortening font declaration
font-size: inherit; // can't have font-size inherit on line above, so need to override
text-rendering: auto; // optimizelegibility throws things off #1094
2013-10-16 13:46:28 -04:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2015-07-04 13:59:40 +02:00
/* autoprefixer: off */
transform: translate(0, 0); // ensures no half-pixel rendering in firefox
}