@@ -12,10 +12,9 @@
}
.fa {
display: inline-block;
- font-family: FontAwesome;
- font-style: normal;
- font-weight: normal;
- line-height: 1;
+ font: normal normal normal 14px/1 FontAwesome;
+ font-size: inherit;
+ text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@@ -3,10 +3,9 @@
.@{fa-css-prefix} {
+ font: normal normal normal 14px/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
.#{$fa-css-prefix} {
@@ -6,10 +6,9 @@