142 lines
3.6 KiB
Sass
142 lines
3.6 KiB
Sass
|
|
// File: _open-sans.sass
|
||
|
|
|
||
|
|
// Base font path
|
||
|
|
@use '../.config' as config
|
||
|
|
$font-path: '#{config.$base-path}/open-sans/static'
|
||
|
|
|
||
|
|
// Regular weights and styles
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans'
|
||
|
|
src: url('#{$font-path}/OpenSans-Regular.ttf') format('truetype')
|
||
|
|
font-weight: 400
|
||
|
|
font-style: normal
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans'
|
||
|
|
src: url('#{$font-path}/OpenSans-Italic.ttf') format('truetype')
|
||
|
|
font-weight: 400
|
||
|
|
font-style: italic
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans'
|
||
|
|
src: url('#{$font-path}/OpenSans-Bold.ttf') format('truetype')
|
||
|
|
font-weight: 700
|
||
|
|
font-style: normal
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans'
|
||
|
|
src: url('#{$font-path}/OpenSans-BoldItalic.ttf') format('truetype')
|
||
|
|
font-weight: 700
|
||
|
|
font-style: italic
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans'
|
||
|
|
src: url('#{$font-path}/OpenSans-Light.ttf') format('truetype')
|
||
|
|
font-weight: 300
|
||
|
|
font-style: normal
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans'
|
||
|
|
src: url('#{$font-path}/OpenSans-LightItalic.ttf') format('truetype')
|
||
|
|
font-weight: 300
|
||
|
|
font-style: italic
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans'
|
||
|
|
src: url('#{$font-path}/OpenSans-Medium.ttf') format('truetype')
|
||
|
|
font-weight: 500
|
||
|
|
font-style: normal
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans'
|
||
|
|
src: url('#{$font-path}/OpenSans-MediumItalic.ttf') format('truetype')
|
||
|
|
font-weight: 500
|
||
|
|
font-style: italic
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans'
|
||
|
|
src: url('#{$font-path}/OpenSans-ExtraBold.ttf') format('truetype')
|
||
|
|
font-weight: 800
|
||
|
|
font-style: normal
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans'
|
||
|
|
src: url('#{$font-path}/OpenSans-ExtraBoldItalic.ttf') format('truetype')
|
||
|
|
font-weight: 800
|
||
|
|
font-style: italic
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans'
|
||
|
|
src: url('#{$font-path}/OpenSans-SemiBold.ttf') format('truetype')
|
||
|
|
font-weight: 600
|
||
|
|
font-style: normal
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans'
|
||
|
|
src: url('#{$font-path}/OpenSans-SemiBoldItalic.ttf') format('truetype')
|
||
|
|
font-weight: 600
|
||
|
|
font-style: italic
|
||
|
|
|
||
|
|
// Condensed weights and styles
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans Condensed'
|
||
|
|
src: url('#{$font-path}/OpenSans_Condensed-Regular.ttf') format('truetype')
|
||
|
|
font-weight: 400
|
||
|
|
font-style: normal
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans Condensed'
|
||
|
|
src: url('#{$font-path}/OpenSans_Condensed-Bold.ttf') format('truetype')
|
||
|
|
font-weight: 700
|
||
|
|
font-style: normal
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans Condensed'
|
||
|
|
src: url('#{$font-path}/OpenSans_Condensed-BoldItalic.ttf') format('truetype')
|
||
|
|
font-weight: 700
|
||
|
|
font-style: italic
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans Condensed'
|
||
|
|
src: url('#{$font-path}/OpenSans_Condensed-Light.ttf') format('truetype')
|
||
|
|
font-weight: 300
|
||
|
|
font-style: normal
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans Condensed'
|
||
|
|
src: url('#{$font-path}/OpenSans_Condensed-LightItalic.ttf') format('truetype')
|
||
|
|
font-weight: 300
|
||
|
|
font-style: italic
|
||
|
|
|
||
|
|
// SemiCondensed weights and styles
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans SemiCondensed'
|
||
|
|
src: url('#{$font-path}/OpenSans_SemiCondensed-Regular.ttf') format('truetype')
|
||
|
|
font-weight: 400
|
||
|
|
font-style: normal
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans SemiCondensed'
|
||
|
|
src: url('#{$font-path}/OpenSans_SemiCondensed-Bold.ttf') format('truetype')
|
||
|
|
font-weight: 700
|
||
|
|
font-style: normal
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans SemiCondensed'
|
||
|
|
src: url('#{$font-path}/OpenSans_SemiCondensed-BoldItalic.ttf') format('truetype')
|
||
|
|
font-weight: 700
|
||
|
|
font-style: italic
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans SemiCondensed'
|
||
|
|
src: url('#{$font-path}/OpenSans_SemiCondensed-Light.ttf') format('truetype')
|
||
|
|
font-weight: 300
|
||
|
|
font-style: normal
|
||
|
|
|
||
|
|
@font-face
|
||
|
|
font-family: 'Open Sans SemiCondensed'
|
||
|
|
src: url('#{$font-path}/OpenSans_SemiCondensed-LightItalic.ttf') format('truetype')
|
||
|
|
font-weight: 300
|
||
|
|
font-style: italic
|
||
|
|
|