aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sources/css/tyrian/less/font-awesome/mixins.less')
-rw-r--r--sources/css/tyrian/less/font-awesome/mixins.less4
1 files changed, 3 insertions, 1 deletions
diff --git a/sources/css/tyrian/less/font-awesome/mixins.less b/sources/css/tyrian/less/font-awesome/mixins.less
index b7bfadc..c97f460 100644
--- a/sources/css/tyrian/less/font-awesome/mixins.less
+++ b/sources/css/tyrian/less/font-awesome/mixins.less
@@ -3,11 +3,13 @@
.fa-icon() {
display: inline-block;
- font: normal normal normal 14px/1 FontAwesome; // shortening font declaration
+ 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
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
+ transform: translate(0, 0); // ensures no half-pixel rendering in firefox
+
}
.fa-icon-rotate(@degrees, @rotation) {