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} {
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;
{% include code/core.css %}
}

View file

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

View file

@ -5,10 +5,5 @@
// -------------------------
.#{$fa-css-prefix} {
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;
{% include code/core.css %}
}

View file

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