|
11 | 11 | font-family: 'Cormorant Garamond';
|
12 | 12 | font-style: normal;
|
13 | 13 | font-weight: 700;
|
14 |
| - src: url(font_path('cormorant-garamond/Cormorant-Garamond-700.eot')); |
15 |
| - src: url(font_path('cormorant-garamond/Cormorant-Garamond-700.eot?#iefix')) format('embedded-opentype'), |
16 |
| - local('Cormorant Garamond Medium'), |
17 |
| - local('Cormorant-Garamond-600'), |
18 |
| - url(font_path('cormorant-garamond/Cormorant-Garamond-700.woff2')) format('woff2'), |
19 |
| - url(font_path('cormorant-garamond/Cormorant-Garamond-700.woff')) format('woff'), |
20 |
| - url(font_path('cormorant-garamond/Cormorant-Garamond-700.ttf')) format('truetype'), |
| 14 | + src: asset_url('cormorant-garamond/Cormorant-Garamond-700.eot'); |
| 15 | + src: |
| 16 | + asset_url('cormorant-garamond/Cormorant-Garamond-700.eot?#iefix') format('embedded-opentype'), |
| 17 | + local('Cormorant Garamond Medium'), |
| 18 | + local('Cormorant-Garamond-600'), |
| 19 | + asset_url('cormorant-garamond/Cormorant-Garamond-700.woff2') format('woff2'), |
| 20 | + asset_url('cormorant-garamond/Cormorant-Garamond-700.woff') format('woff'), |
| 21 | + asset_url('cormorant-garamond/Cormorant-Garamond-700.ttf') format('truetype'); |
21 | 22 | }
|
22 | 23 |
|
23 | 24 | // Lato
|
|
27 | 28 | font-family: 'Lato';
|
28 | 29 | font-style: normal;
|
29 | 30 | font-weight: 300;
|
30 |
| - src: url(font_path('lato/Lato-300.eot')); |
31 |
| - src: url(font_path('lato/Lato-300.eot?#iefix')) format('embedded-opentype'), |
32 |
| - local('Lato Light'), |
33 |
| - local('Lato-300'), |
34 |
| - url(font_path('lato/Lato-300.woff2')) format('woff2'), |
35 |
| - url(font_path('lato/Lato-300.woff')) format('woff'), |
36 |
| - url(font_path('lato/Lato-300.ttf')) format('truetype'), |
| 31 | + src: asset_url('lato/Lato-300.eot'); |
| 32 | + src: |
| 33 | + asset_url('lato/Lato-300.eot?#iefix') format('embedded-opentype'), |
| 34 | + local('Lato Light'), |
| 35 | + local('Lato-300'), |
| 36 | + asset_url('lato/Lato-300.woff2') format('woff2'), |
| 37 | + asset_url('lato/Lato-300.woff') format('woff'), |
| 38 | + asset_url('lato/Lato-300.ttf') format('truetype'); |
37 | 39 | }
|
38 | 40 |
|
39 | 41 | @font-face {
|
40 | 42 | font-family: 'Lato';
|
41 | 43 | font-style: normal;
|
42 | 44 | font-weight: 400;
|
43 |
| - src: url(font_path('lato/Lato-regular.eot')); |
44 |
| - src: url(font_path('lato/Lato-regular.eot?#iefix')) format('embedded-opentype'), |
45 |
| - local('Lato Regular'), |
46 |
| - local('Lato-regular'), |
47 |
| - url(font_path('lato/Lato-regular.woff2')) format('woff2'), |
48 |
| - url(font_path('lato/Lato-regular.woff')) format('woff'), |
49 |
| - url(font_path('lato/Lato-regular.ttf')) format('truetype'), |
| 45 | + src: asset_url('lato/Lato-regular.eot'); |
| 46 | + src: |
| 47 | + asset_url('lato/Lato-regular.eot?#iefix') format('embedded-opentype'), |
| 48 | + local('Lato Regular'), |
| 49 | + local('Lato-regular'), |
| 50 | + asset_url('lato/Lato-regular.woff2') format('woff2'), |
| 51 | + asset_url('lato/Lato-regular.woff') format('woff'), |
| 52 | + asset_url('lato/Lato-regular.ttf') format('truetype'); |
50 | 53 | }
|
51 | 54 |
|
52 | 55 | @font-face {
|
53 | 56 | font-family: 'Lato';
|
54 | 57 | font-style: normal;
|
55 | 58 | font-weight: 700;
|
56 |
| - src: url(font_path('lato/Lato-700.eot')); |
57 |
| - src: url(font_path('lato/Lato-700.eot?#iefix')) format('embedded-opentype'), |
58 |
| - local('Lato Bold'), |
59 |
| - local('Lato-700'), |
60 |
| - url(font_path('lato/Lato-700.woff2')) format('woff2'), |
61 |
| - url(font_path('lato/Lato-700.woff')) format('woff'), |
62 |
| - url(font_path('lato/Lato-700.ttf')) format('truetype'), |
| 59 | + src: asset_url('lato/Lato-700.eot'); |
| 60 | + src: |
| 61 | + asset_url('lato/Lato-700.eot?#iefix') format('embedded-opentype'), |
| 62 | + local('Lato Bold'), |
| 63 | + local('Lato-700'), |
| 64 | + asset_url('lato/Lato-700.woff2') format('woff2'), |
| 65 | + asset_url('lato/Lato-700.woff') format('woff'), |
| 66 | + asset_url('lato/Lato-700.ttf') format('truetype'); |
63 | 67 | }
|
0 commit comments