10 changed files with 46 additions and 15 deletions
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
@ -0,0 +1,36 @@ |
|||
$fa-font-path: '../fonts/font-awesome/'; |
|||
$fa-font-name: 'fontawesome-webfont'; |
|||
$fa-font-size-base: 14px !default; |
|||
$fa-css-prefix: fa !default; |
|||
$fa-version: '4.3.0' !default; |
|||
$fa-border-color: #eee !default; |
|||
$fa-inverse: #fff !default; |
|||
$fa-li-width: (30em / 14) !default; |
|||
|
|||
$fa-var-slideshare: '\f1e7'; |
|||
$fa-var-video-camera: '\f03d'; |
|||
|
|||
@font-face { |
|||
font-family: 'FontAwesome'; |
|||
src: url('#{$fa-font-path}#{$fa-font-name}.eot'); |
|||
src: url('#{$fa-font-path}#{$fa-font-name}.eot?#iefix') format('embedded-opentype'), |
|||
url('#{$fa-font-path}#{$fa-font-name}.woff2') format('woff2'), |
|||
url('#{$fa-font-path}#{$fa-font-name}.woff') format('woff'), |
|||
url('#{$fa-font-path}#{$fa-font-name}.ttf') format('truetype'), |
|||
url('#{$fa-font-path}#{$fa-font-name}.svg#fontawesomeregular') format('svg'); |
|||
font-weight: normal; |
|||
font-style: normal; |
|||
} |
|||
|
|||
.#{$fa-css-prefix} { |
|||
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; |
|||
transform: translate(0, 0); // ensures no half-pixel rendering in firefox |
|||
} |
|||
|
|||
.#{$fa-css-prefix}-slideshare:before { content: $fa-var-slideshare; } |
|||
.#{$fa-css-prefix}-video-camera:before { content: $fa-var-video-camera; } |
Loading…
Reference in new issue