mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-26 21:41:31 +08:00
parent
b590472694
commit
c27c1a59b9
@ -3,9 +3,10 @@
|
|||||||
|
|
||||||
.@{fa-css-prefix} {
|
.@{fa-css-prefix} {
|
||||||
display: inline-block;
|
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
|
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||||
text-rendering: auto; // optimizelegibility throws things off #1094
|
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -3,11 +3,12 @@
|
|||||||
|
|
||||||
.fa-icon() {
|
.fa-icon() {
|
||||||
display: inline-block;
|
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
|
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||||
text-rendering: auto; // optimizelegibility throws things off #1094
|
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.fa-icon-rotate(@degrees, @rotation) {
|
.fa-icon-rotate(@degrees, @rotation) {
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
@fa-font-path: "../fonts";
|
@fa-font-path: "../fonts";
|
||||||
|
@fa-font-size-base: 14px;
|
||||||
//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.3.0/fonts"; // for referencing Bootstrap CDN font files directly
|
//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.3.0/fonts"; // for referencing Bootstrap CDN font files directly
|
||||||
@fa-css-prefix: fa;
|
@fa-css-prefix: fa;
|
||||||
@fa-version: "4.3.0";
|
@fa-version: "4.3.0";
|
||||||
|
@ -3,9 +3,10 @@
|
|||||||
|
|
||||||
.#{$fa-css-prefix} {
|
.#{$fa-css-prefix} {
|
||||||
display: inline-block;
|
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
|
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||||
text-rendering: auto; // optimizelegibility throws things off #1094
|
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -3,11 +3,12 @@
|
|||||||
|
|
||||||
@mixin fa-icon() {
|
@mixin fa-icon() {
|
||||||
display: inline-block;
|
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
|
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||||
text-rendering: auto; // optimizelegibility throws things off #1094
|
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin fa-icon-rotate($degrees, $rotation) {
|
@mixin fa-icon-rotate($degrees, $rotation) {
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
$fa-font-path: "../fonts" !default;
|
$fa-font-path: "../fonts" !default;
|
||||||
|
$fa-font-size-base: 14px !default;
|
||||||
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.3.0/fonts" !default; // for referencing Bootstrap CDN font files directly
|
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.3.0/fonts" !default; // for referencing Bootstrap CDN font files directly
|
||||||
$fa-css-prefix: fa !default;
|
$fa-css-prefix: fa !default;
|
||||||
$fa-version: "4.3.0" !default;
|
$fa-version: "4.3.0" !default;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
display: inline-block;
|
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
|
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||||
text-rendering: auto; // optimizelegibility throws things off #1094
|
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
6
src/_includes/code/core.scss
Normal file
6
src/_includes/code/core.scss
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
display: inline-block;
|
||||||
|
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;
|
2
src/assets/font-awesome/less/core.less
vendored
2
src/assets/font-awesome/less/core.less
vendored
@ -5,5 +5,5 @@
|
|||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
.@{fa-css-prefix} {
|
.@{fa-css-prefix} {
|
||||||
{% include code/core.css %}
|
{% include code/core.less %}
|
||||||
}
|
}
|
||||||
|
2
src/assets/font-awesome/less/mixins.less
vendored
2
src/assets/font-awesome/less/mixins.less
vendored
@ -4,7 +4,7 @@
|
|||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
.fa-icon() {
|
.fa-icon() {
|
||||||
{% include code/core.css %}
|
{% include code/core.less %}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fa-icon-rotate(@degrees, @rotation) {
|
.fa-icon-rotate(@degrees, @rotation) {
|
||||||
|
1
src/assets/font-awesome/less/variables.less
vendored
1
src/assets/font-awesome/less/variables.less
vendored
@ -4,6 +4,7 @@
|
|||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
@fa-font-path: "../fonts";
|
@fa-font-path: "../fonts";
|
||||||
|
@fa-font-size-base: 14px;
|
||||||
//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/{{site.fontawesome.version}}/fonts"; // for referencing Bootstrap CDN font files directly
|
//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/{{site.fontawesome.version}}/fonts"; // for referencing Bootstrap CDN font files directly
|
||||||
@fa-css-prefix: {{ site.fontawesome.css_prefix }};
|
@fa-css-prefix: {{ site.fontawesome.css_prefix }};
|
||||||
@fa-version: "{{ site.fontawesome.version }}";
|
@fa-version: "{{ site.fontawesome.version }}";
|
||||||
|
2
src/assets/font-awesome/scss/_core.scss
vendored
2
src/assets/font-awesome/scss/_core.scss
vendored
@ -5,5 +5,5 @@
|
|||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
.#{$fa-css-prefix} {
|
.#{$fa-css-prefix} {
|
||||||
{% include code/core.css %}
|
{% include code/core.scss %}
|
||||||
}
|
}
|
||||||
|
2
src/assets/font-awesome/scss/_mixins.scss
vendored
2
src/assets/font-awesome/scss/_mixins.scss
vendored
@ -4,7 +4,7 @@
|
|||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
@mixin fa-icon() {
|
@mixin fa-icon() {
|
||||||
{% include code/core.css %}
|
{% include code/core.scss %}
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin fa-icon-rotate($degrees, $rotation) {
|
@mixin fa-icon-rotate($degrees, $rotation) {
|
||||||
|
1
src/assets/font-awesome/scss/_variables.scss
vendored
1
src/assets/font-awesome/scss/_variables.scss
vendored
@ -4,6 +4,7 @@
|
|||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
$fa-font-path: "../fonts" !default;
|
$fa-font-path: "../fonts" !default;
|
||||||
|
$fa-font-size-base: 14px !default;
|
||||||
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/{{site.fontawesome.version}}/fonts" !default; // for referencing Bootstrap CDN font files directly
|
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/{{site.fontawesome.version}}/fonts" !default; // for referencing Bootstrap CDN font files directly
|
||||||
$fa-css-prefix: {{ site.fontawesome.css_prefix }} !default;
|
$fa-css-prefix: {{ site.fontawesome.css_prefix }} !default;
|
||||||
$fa-version: "{{ site.fontawesome.version }}" !default;
|
$fa-version: "{{ site.fontawesome.version }}" !default;
|
||||||
|
Loading…
Reference in New Issue
Block a user