shortening font declaration, adding font-variant and text-rendering defaults

This commit is contained in:
Dave Gandy 2014-08-21 15:25:45 -04:00
parent 8f2cb781e6
commit 791f220839
6 changed files with 16 additions and 21 deletions

View File

@ -12,10 +12,9 @@
} }
.fa { .fa {
display: inline-block; display: inline-block;
font-family: FontAwesome; font: normal normal normal 14px/1 FontAwesome;
font-style: normal; font-size: inherit;
font-weight: normal; text-rendering: auto;
line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }

File diff suppressed because one or more lines are too long

View File

@ -3,10 +3,9 @@
.@{fa-css-prefix} { .@{fa-css-prefix} {
display: inline-block; display: inline-block;
font-family: FontAwesome; font: normal normal normal 14px/1 FontAwesome; // shortening font declaration
font-style: normal; font-size: inherit; // can't have font-size inherit on line above, so need to override
font-weight: normal; text-rendering: auto; // optimizelegibility throws things off #1094
line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }

View File

@ -3,10 +3,9 @@
.#{$fa-css-prefix} { .#{$fa-css-prefix} {
display: inline-block; display: inline-block;
font-family: FontAwesome; font: normal normal normal 14px/1 FontAwesome; // shortening font declaration
font-style: normal; font-size: inherit; // can't have font-size inherit on line above, so need to override
font-weight: normal; text-rendering: auto; // optimizelegibility throws things off #1094
line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }

View File

@ -6,10 +6,9 @@
.@{fa-css-prefix} { .@{fa-css-prefix} {
display: inline-block; display: inline-block;
font-family: FontAwesome; font: normal normal normal 14px/1 FontAwesome; // shortening font declaration
font-style: normal; font-size: inherit; // can't have font-size inherit on line above, so need to override
font-weight: normal; text-rendering: auto; // optimizelegibility throws things off #1094
line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }

View File

@ -6,10 +6,9 @@
.#{$fa-css-prefix} { .#{$fa-css-prefix} {
display: inline-block; display: inline-block;
font-family: FontAwesome; font: normal normal normal 14px/1 FontAwesome; // shortening font declaration
font-style: normal; font-size: inherit; // can't have font-size inherit on line above, so need to override
font-weight: normal; text-rendering: auto; // optimizelegibility throws things off #1094
line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }