]>
Commit | Line | Data |
---|---|---|
947f0963 TL |
1 | @if $enable-font-open-sans { |
2 | $triton-font-path: get-resource-path('fonts', 'shared'); | |
3 | @font-face { | |
4 | font-family: 'Open Sans'; | |
5 | src: url('#{$triton-font-path}/OpenSans-Light.ttf'); | |
6 | src: local("OpenSans-Light"); | |
7 | font-weight: 300; | |
8 | font-style: normal; | |
9 | } | |
10 | ||
11 | @font-face { | |
12 | font-family: 'Open Sans'; | |
13 | src: url('#{$triton-font-path}/OpenSans-LightItalic.ttf'); | |
14 | src: local("OpenSans-LightItalic"); | |
15 | font-weight: 300; | |
16 | font-style: italic; | |
17 | } | |
18 | ||
19 | @font-face { | |
20 | font-family: 'Open Sans'; | |
21 | src: url('#{$triton-font-path}/OpenSans-Regular.ttf'); | |
22 | src: local("OpenSans-Regular"); | |
23 | font-weight: 400; | |
24 | font-style: normal; | |
25 | } | |
26 | ||
27 | @font-face { | |
28 | font-family: 'Open Sans'; | |
29 | src: url('#{$triton-font-path}/OpenSans-Italic.ttf'); | |
30 | src: local("OpenSans-Italic"); | |
31 | font-weight: 400; | |
32 | font-style: italic; | |
33 | } | |
34 | ||
35 | @font-face { | |
36 | font-family: 'Open Sans'; | |
37 | src: url('#{$triton-font-path}/OpenSans-Semibold.ttf'); | |
38 | src: local("OpenSans-Semibold"); | |
39 | font-weight: 600; | |
40 | font-style: normal; | |
41 | } | |
42 | ||
43 | @font-face { | |
44 | font-family: 'Open Sans'; | |
45 | src: url('#{$triton-font-path}/OpenSans-SemiboldItalic.ttf'); | |
46 | src: local("OpenSans-SemiboldItalic"); | |
47 | font-weight: 600; | |
48 | font-style: italic; | |
49 | } | |
50 | ||
51 | @font-face { | |
52 | font-family: 'Open Sans'; | |
53 | src: url('#{$triton-font-path}/OpenSans-Bold.ttf'); | |
54 | src: local("OpenSans-Bold"); | |
55 | font-weight: 700; | |
56 | font-style: normal; | |
57 | } | |
58 | ||
59 | @font-face { | |
60 | font-family: 'Open Sans'; | |
61 | src: url('#{$triton-font-path}/OpenSans-BoldItalic.ttf'); | |
62 | src: local("OpenSans-BoldItalic"); | |
63 | font-weight: 700; | |
64 | font-style: italic; | |
65 | } | |
66 | ||
67 | @font-face { | |
68 | font-family: 'Open Sans'; | |
69 | src: url('#{$triton-font-path}/OpenSans-ExtraBold.ttf'); | |
70 | src: local("OpenSans-ExtraBold"); | |
71 | font-weight: 800; | |
72 | font-style: normal; | |
73 | } | |
74 | ||
75 | @font-face { | |
76 | font-family: 'Open Sans'; | |
77 | src: url('#{$triton-font-path}/OpenSans-ExtraBoldItalic.ttf'); | |
78 | src: local("OpenSans-ExtraBoldItalic"); | |
79 | font-weight: 800; | |
80 | font-style: italic; | |
81 | } | |
82 | } |