Reorder the fonts for optimized loading

This commit is contained in:
Domi-G 2016-04-05 00:34:36 +02:00
parent 0fcdc2e118
commit 4db83293e5

View File

@ -1,3 +1,47 @@
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 100;
src: local('Roboto Thin'),
local('Roboto-Thin'),
url('Roboto-Thin/Roboto-Thin.woff2') format('woff2'),
url('Roboto-Thin/Roboto-Thin.woff') format('woff'),
url('Roboto-Thin/Roboto-Thin.ttf') format('truetype');
}
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-weight: 300;
src: local('Roboto Condensed Light'),
local('RobotoCondensed-Light'),
url('RobotoCondensed-Light/RobotoCondensed-Light.woff2') format('woff2'),
url('RobotoCondensed-Light/RobotoCondensed-Light.woff') format('woff'),
url('RobotoCondensed-Light/RobotoCondensed-Light.ttf') format('truetype');
}
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-weight: 400;
src: local('Roboto Condensed'),
local('RobotoCondensed-Regular'),
url('RobotoCondensed-Regular/RobotoCondensed-Regular.woff2') format('woff2'),
url('RobotoCondensed-Regular/RobotoCondensed-Regular.woff') format('woff'),
url('RobotoCondensed-Regular/RobotoCondensed-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-weight: 700;
src: local('Roboto Condensed Bold'),
local('RobotoCondensed-Bold'),
url('RobotoCondensed-Bold/RobotoCondensed-Bold.woff2') format('woff2'),
url('RobotoCondensed-Bold/RobotoCondensed-Bold.woff') format('woff'),
url('RobotoCondensed-Bold/RobotoCondensed-Bold.ttf') format('truetype');
}
@font-face { @font-face {
font-family: 'Roboto'; font-family: 'Roboto';
font-style: normal; font-style: normal;
@ -41,47 +85,3 @@
url('Roboto-Light/Roboto-Light.woff') format('woff'), url('Roboto-Light/Roboto-Light.woff') format('woff'),
url('Roboto-Light/Roboto-Light.ttf') format('truetype'); url('Roboto-Light/Roboto-Light.ttf') format('truetype');
} }
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 100;
src: local('Roboto Thin'),
local('Roboto-Thin'),
url('Roboto-Thin/Roboto-Thin.woff2') format('woff2'),
url('Roboto-Thin/Roboto-Thin.woff') format('woff'),
url('Roboto-Thin/Roboto-Thin.ttf') format('truetype');
}
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-weight: 700;
src: local('Roboto Condensed Bold'),
local('RobotoCondensed-Bold'),
url('RobotoCondensed-Bold/RobotoCondensed-Bold.woff2') format('woff2'),
url('RobotoCondensed-Bold/RobotoCondensed-Bold.woff') format('woff'),
url('RobotoCondensed-Bold/RobotoCondensed-Bold.ttf') format('truetype');
}
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-weight: 400;
src: local('Roboto Condensed'),
local('RobotoCondensed-Regular'),
url('RobotoCondensed-Regular/RobotoCondensed-Regular.woff2') format('woff2'),
url('RobotoCondensed-Regular/RobotoCondensed-Regular.woff') format('woff'),
url('RobotoCondensed-Regular/RobotoCondensed-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-weight: 300;
src: local('Roboto Condensed Light'),
local('RobotoCondensed-Light'),
url('RobotoCondensed-Light/RobotoCondensed-Light.woff2') format('woff2'),
url('RobotoCondensed-Light/RobotoCondensed-Light.woff') format('woff'),
url('RobotoCondensed-Light/RobotoCondensed-Light.ttf') format('truetype');
}