You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fonts.scss 728B

12345678910111213141516171819202122232425
  1. @mixin fonts {
  2. @include fonticons;
  3. }
  4. @mixin fonticons {
  5. @include font(FontAwesome, fontawesome-webfont);
  6. }
  7. @mixin font($font-family, $file-name) {
  8. @font-face {
  9. font-family: '#{$font-family}';
  10. src: url('#{$file-name}.eot');
  11. src: url('#{$file-name}.eot?#iefix') format('embedded-opentype'), url('#{$file-name}.woff') format('woff'), url('#{$file-name}.ttf') format('truetype'), url('#{$file-name}.svg') format('svg');
  12. font-weight: normal;
  13. font-style: normal;
  14. }
  15. .#{$font-family} {
  16. font-family: '#{$font-family}';
  17. font-style: normal;
  18. font-weight: normal;
  19. -webkit-font-smoothing: antialiased;
  20. -moz-osx-font-smoothing: grayscale;
  21. display: inline-block;
  22. }
  23. }