refactoring base css fa declaration into an jekyll include to reduce code duplication

This commit is contained in:
Dave Gandy 2014-08-24 11:08:03 -05:00
parent e22614dc84
commit 71d241adce
6 changed files with 10 additions and 14 deletions

View File

@ -0,0 +1,6 @@
display: inline-block;
font: normal normal normal 14px/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;

View File

@ -5,10 +5,5 @@
// ------------------------- // -------------------------
.@{fa-css-prefix} { .@{fa-css-prefix} {
display: inline-block; {% include code/core.css %}
font: normal normal normal 14px/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;
} }

View File

@ -1,6 +1,6 @@
--- ---
--- ---
{% include code/license.txt %} {% include code/license.css %}
@import "variables.less"; @import "variables.less";
@import "mixins.less"; @import "mixins.less";

View File

@ -5,10 +5,5 @@
// ------------------------- // -------------------------
.#{$fa-css-prefix} { .#{$fa-css-prefix} {
display: inline-block; {% include code/core.css %}
font: normal normal normal 14px/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;
} }

View File

@ -1,6 +1,6 @@
--- ---
--- ---
{% include code/license.txt %} {% include code/license.css %}
@import "variables"; @import "variables";
@import "mixins"; @import "mixins";