Serve fonts locally
This commit is contained in:
parent
e17269bc14
commit
0096e41e0f
20 changed files with 269 additions and 1 deletions
|
@ -1,4 +1,70 @@
|
|||
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,600i,700,700i');
|
||||
/* open-sans-regular - latin */
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local(''),
|
||||
url('../fonts/open-sans-v27-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('../fonts/open-sans-v27-latin-regular.woff') format('woff'), /* Modern Browsers */
|
||||
url('../fonts/open-sans-v27-latin-regular.ttf') format('truetype'); /* Safari, Android, iOS */
|
||||
}
|
||||
|
||||
/* open-sans-600 - latin */
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: local(''),
|
||||
url('../fonts/open-sans-v27-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('../fonts/open-sans-v27-latin-600.woff') format('woff'), /* Modern Browsers */
|
||||
url('../fonts/open-sans-v27-latin-600.ttf') format('truetype'); /* Safari, Android, iOS */
|
||||
}
|
||||
|
||||
/* open-sans-700 - latin */
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local(''),
|
||||
url('../fonts/open-sans-v27-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('../fonts/open-sans-v27-latin-700.woff') format('woff'), /* Modern Browsers */
|
||||
url('../fonts/open-sans-v27-latin-700.ttf') format('truetype'); /* Safari, Android, iOS */
|
||||
}
|
||||
|
||||
/* open-sans-italic - latin */
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local(''),
|
||||
url('../fonts/open-sans-v27-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('../fonts/open-sans-v27-latin-italic.woff') format('woff'), /* Modern Browsers */
|
||||
url('../fonts/open-sans-v27-latin-italic.ttf') format('truetype'); /* Safari, Android, iOS */
|
||||
}
|
||||
|
||||
/* open-sans-600italic - latin */
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: italic;
|
||||
font-weight: 600;
|
||||
src: local(''),
|
||||
url('../fonts/open-sans-v27-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('../fonts/open-sans-v27-latin-600italic.woff') format('woff'), /* Modern Browsers */
|
||||
url('../fonts/open-sans-v27-latin-600italic.ttf') format('truetype'); /* Safari, Android, iOS */
|
||||
}
|
||||
|
||||
/* open-sans-700italic - latin */
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: local(''),
|
||||
url('../fonts/open-sans-v27-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('../fonts/open-sans-v27-latin-700italic.woff') format('woff'), /* Modern Browsers */
|
||||
url('../fonts/open-sans-v27-latin-700italic.ttf') format('truetype'); /* Safari, Android, iOS */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Basic theme elements */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue