Added: WOFF2 fonts for better performance in supported browsers (#1994)

pull/2/head
James White 7 years ago committed by Leonardo Galli
parent e6fee32cf2
commit c4957fffee

@ -6,6 +6,7 @@
src: local('Open Sans Light'),
local('OpenSans-Light'),
url('./fonts/opensans-light.eot?#iefix') format('embedded-opentype'),
url('./fonts/opensans-light.woff2') format('woff2'),
url('./fonts/opensans-light.woff') format('woff'),
url('./fonts/opensans-light.ttf') format('truetype');
}
@ -18,6 +19,7 @@
src: local('Open Sans'),
local('OpenSans'),
url('./fonts/opensans-regular.eot?#iefix') format('embedded-opentype'),
url('./fonts/opensans-regular.woff2') format('woff2'),
url('./fonts/opensans-regular.woff') format('woff'),
url('./fonts/opensans-regular.ttf') format('truetype')
}
@ -30,6 +32,7 @@
src: local('Open Sans SemiBold'),
local('OpenSans-SemiBold'),
url('./fonts/opensans-semibold.eot?#iefix') format('embedded-opentype'),
url('./fonts/opensans-semibold.woff2') format('woff2'),
url('./fonts/opensans-semibold.woff') format('woff'),
url('./fonts/opensans-semibold.ttf') format('truetype')
}
@ -39,9 +42,10 @@
font-style: normal;
font-weight: 400;
src: url('./fonts/ubuntumono-regular.eot');
src: local('Open Sans'),
local('OpenSans'),
src: local('Ubuntu Mono'),
local('Ubuntu-Mono'),
url('./fonts/ubuntumono-regular.eot?#iefix') format('embedded-opentype'),
url('./fonts/ubuntumono-regular.woff2') format('woff'),
url('./fonts/ubuntumono-regular.woff') format('woff'),
url('./fonts/ubuntumono-regular.ttf') format('truetype')
}
}

Loading…
Cancel
Save