My public website https://www.chameth.com/
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.

1234567891011121314151617181920212223242526272829303132
  1. // Defines font families
  2. $font-dir: '/res/fonts/'
  3. // Provides src properties for woff2 and woff font files.
  4. @mixin woff-font-src($file-name)
  5. $font: $font-dir + $file-name
  6. src: url($font + '.woff2') format('woff2'), url($font + '.woff') format('woff')
  7. // Provides src properties for all types of font with some hacks to support IE.
  8. @mixin full-font-src($file-name, $svg-name)
  9. $font: $font-dir + $file-name
  10. src: url($font + '.eot')
  11. src: url($font + '.eot?#iefix') format('embedded-opentype'), url($font + '.woff2') format('woff2'), url($font + '.woff') format('woff'), url($font + '.ttf') format('truetype'), url($font + '.svg#' + $svg-name) format('svg')
  12. @font-face
  13. font-family: 'Aileron Regular'
  14. font-weight: normal
  15. font-style: normal
  16. @include woff-font-src('aileron-regular-webfont')
  17. @font-face
  18. font-family: 'League Spartan'
  19. font-weight: bold
  20. font-style: normal
  21. @include full-font-src('leaguespartan-bold', 'league_spartanbold')
  22. @font-face
  23. font-family: 'FontAwesome'
  24. font-weight: normal
  25. font-style: normal
  26. @include full-font-src('fontawesome-chameth-1', 'fontawesome-chameth')