mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-27 14:01:30 +08:00
shortening font declaration, adding font-variant and text-rendering defaults
This commit is contained in:
parent
8f2cb781e6
commit
791f220839
7
css/font-awesome.css
vendored
7
css/font-awesome.css
vendored
@ -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;
|
||||||
}
|
}
|
||||||
|
2
css/font-awesome.min.css
vendored
2
css/font-awesome.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
7
src/assets/font-awesome/less/core.less
vendored
7
src/assets/font-awesome/less/core.less
vendored
@ -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;
|
||||||
}
|
}
|
||||||
|
7
src/assets/font-awesome/scss/_core.scss
vendored
7
src/assets/font-awesome/scss/_core.scss
vendored
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user