summaryrefslogtreecommitdiff
path: root/stylesheets/font-awesome/less/core.less
diff options
context:
space:
mode:
Diffstat (limited to 'stylesheets/font-awesome/less/core.less')
-rw-r--r--stylesheets/font-awesome/less/core.less8
1 files changed, 4 insertions, 4 deletions
diff --git a/stylesheets/font-awesome/less/core.less b/stylesheets/font-awesome/less/core.less
index 6d223bc2..c577ac84 100644
--- a/stylesheets/font-awesome/less/core.less
+++ b/stylesheets/font-awesome/less/core.less
@@ -3,10 +3,10 @@
.@{fa-css-prefix} {
display: inline-block;
- font-family: FontAwesome;
- font-style: normal;
- font-weight: normal;
- line-height: 1;
+ font: normal normal normal @fa-font-size-base/@fa-line-height-base 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
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
+
}