mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-27 05:51:30 +08:00
cac2895612
This allows multiple variations/versions of Font Awesome to be used, similar to the namespacing currently allowed by the $fa-css-prefix variable. (And also allows us to more easily use a third-party library that makes hard-coded non-default assumptions about the font face name.)
13 lines
466 B
SCSS
13 lines
466 B
SCSS
// Base Class Definition
|
|
// -------------------------
|
|
|
|
.#{$fa-css-prefix} {
|
|
display: inline-block;
|
|
font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} #{$fa-font-family}; // 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;
|
|
|
|
}
|