1234567891011121314151617181920212223242526272829 |
- // Defines font families
-
- $font-dir: '/res/fonts/'
- $text-font: 'Source Sans Pro'
- $header-font: 'League Spartan'
- $fa-font: 'FontAwesome'
-
- // Provides src properties for woff2 and woff font files.
- @mixin woff-font-src($file-name)
- $font: $font-dir + $file-name
- src: url($font + '.woff2') format('woff2'), url($font + '.woff') format('woff')
-
- @font-face
- font-family: 'Source Sans Pro'
- font-weight: normal
- font-style: normal
- @include woff-font-src('SourceScansPro-Regular')
-
- @font-face
- font-family: 'League Spartan'
- font-weight: bold
- font-style: normal
- @include woff-font-src('leaguespartan-bold')
-
- @font-face
- font-family: 'FontAwesome'
- font-weight: normal
- font-style: normal
- @include woff-font-src('fontawesome-chameth-1')
|