diff options
Diffstat (limited to 'less/mixins.less')
-rw-r--r-- | less/mixins.less | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/less/mixins.less b/less/mixins.less index f7fdda590..fd023f104 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -7,12 +7,14 @@ } .icon-FontAwesome() { + *margin-right: .3em; // fixes ie7 issues font-family: FontAwesome; - font-weight: normal; + -webkit-font-smoothing: antialiased; font-style: normal; + font-weight: normal; text-decoration: inherit; - -webkit-font-smoothing: antialiased; - *margin-right: .3em; // fixes ie7 issues + text-rendering: auto; + -moz-osx-font-smoothing: grayscale; } .border-radius(@radius) { @@ -31,18 +33,18 @@ vertical-align: -35%; [class^="icon-"], [class*=" icon-"] { - display: block; - text-align: center; position: absolute; + display: block; width: 100%; height: 100%; font-size: @top-font-size; line-height: inherit; *line-height: @height; + text-align: center; } .icon-stack-base { font-size: @base-font-size; - *line-height: @height / @base-font-size; + *line-height: (@height / @base-font-size); } } } |