path relativi per font
This commit is contained in:
parent
e677fb34e0
commit
1439e9bea4
3 changed files with 59 additions and 63 deletions
|
@ -1,4 +0,0 @@
|
|||
@font-face {
|
||||
font-family: "Typo";
|
||||
src: url(../fonts/monotype.ttf) format("truetype");
|
||||
}
|
|
@ -1,59 +0,0 @@
|
|||
/* recursive-regular - latin */
|
||||
$font-display: swap;
|
||||
@font-face {
|
||||
font-family: 'Recursive';
|
||||
font-display: $font-display;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('/theme/fonts/recursive-v20-latin-regular.eot'); /* IE9 Compat Modes */
|
||||
src: local(''),
|
||||
url('/theme/fonts/recursive-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('/theme/fonts/recursive-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('/theme/fonts/recursive-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
|
||||
url('/theme/fonts/recursive-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
url('/theme/fonts/recursive-v20-latin-regular.svg#Recursive') format('svg'); /* Legacy iOS */
|
||||
}
|
||||
|
||||
/* recursive-500 - latin */
|
||||
@font-face {
|
||||
font-display: $font-display;
|
||||
font-family: 'Recursive';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('/theme/fonts/recursive-v20-latin-500.eot'); /* IE9 Compat Modes */
|
||||
src: local(''),
|
||||
url('/theme/fonts/recursive-v20-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('/theme/fonts/recursive-v20-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('/theme/fonts/recursive-v20-latin-500.woff') format('woff'), /* Modern Browsers */
|
||||
url('/theme/fonts/recursive-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
url('/theme/fonts/recursive-v20-latin-500.svg#Recursive') format('svg'); /* Legacy iOS */
|
||||
}
|
||||
|
||||
/* recursive-800 - latin */
|
||||
@font-face {
|
||||
font-display: $font-display;
|
||||
font-family: 'Recursive';
|
||||
font-style: normal;
|
||||
font-weight: 800;
|
||||
src: url('/theme/fonts/recursive-v20-latin-800.eot'); /* IE9 Compat Modes */
|
||||
src: local(''),
|
||||
url('/theme/fonts/recursive-v20-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('/theme/fonts/recursive-v20-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('/theme/fonts/recursive-v20-latin-800.woff') format('woff'), /* Modern Browsers */
|
||||
url('/theme/fonts/recursive-v20-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
url('/theme/fonts/recursive-v20-latin-800.svg#Recursive') format('svg'); /* Legacy iOS */
|
||||
}
|
||||
/* caesar-dressing-regular - latin */
|
||||
@font-face {
|
||||
$font-display: fallback;
|
||||
font-family: 'Caesar Dressing';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('/theme/fonts/caesar-dressing-v9-latin-regular.eot'); /* IE9 Compat Modes */
|
||||
src: local('Caesar Dressing'), local('CaesarDressing-Regular'),
|
||||
url('/theme/fonts/caesar-dressing-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('/theme/fonts/caesar-dressing-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('/theme/fonts/caesar-dressing-v9-latin-regular.woff') format('woff'), /* Modern Browsers */
|
||||
url('/theme/fonts/caesar-dressing-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
url('/theme/fonts/caesar-dressing-v9-latin-regular.svg#CaesarDressing') format('svg'); /* Legacy iOS */
|
||||
}
|
59
themes/maya0x17/static/fonts/fonts.scss
Normal file
59
themes/maya0x17/static/fonts/fonts.scss
Normal file
|
@ -0,0 +1,59 @@
|
|||
/* recursive-regular - latin */
|
||||
$font-display: swap;
|
||||
@font-face {
|
||||
font-family: 'Recursive';
|
||||
font-display: $font-display;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('theme/fonts/recursive-v20-latin-regular.eot'); /* IE9 Compat Modes */
|
||||
src: local(''),
|
||||
url('theme/fonts/recursive-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('theme/fonts/recursive-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('theme/fonts/recursive-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
|
||||
url('theme/fonts/recursive-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
url('theme/fonts/recursive-v20-latin-regular.svg#Recursive') format('svg'); /* Legacy iOS */
|
||||
}
|
||||
|
||||
/* recursive-500 - latin */
|
||||
@font-face {
|
||||
font-display: $font-display;
|
||||
font-family: 'Recursive';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('theme/fonts/recursive-v20-latin-500.eot'); /* IE9 Compat Modes */
|
||||
src: local(''),
|
||||
url('theme/fonts/recursive-v20-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('theme/fonts/recursive-v20-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('theme/fonts/recursive-v20-latin-500.woff') format('woff'), /* Modern Browsers */
|
||||
url('theme/fonts/recursive-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
url('theme/fonts/recursive-v20-latin-500.svg#Recursive') format('svg'); /* Legacy iOS */
|
||||
}
|
||||
|
||||
/* recursive-800 - latin */
|
||||
@font-face {
|
||||
font-display: $font-display;
|
||||
font-family: 'Recursive';
|
||||
font-style: normal;
|
||||
font-weight: 800;
|
||||
src: url('theme/fonts/recursive-v20-latin-800.eot'); /* IE9 Compat Modes */
|
||||
src: local(''),
|
||||
url('theme/fonts/recursive-v20-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('theme/fonts/recursive-v20-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('theme/fonts/recursive-v20-latin-800.woff') format('woff'), /* Modern Browsers */
|
||||
url('theme/fonts/recursive-v20-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
url('theme/fonts/recursive-v20-latin-800.svg#Recursive') format('svg'); /* Legacy iOS */
|
||||
}
|
||||
/* caesar-dressing-regular - latin */
|
||||
@font-face {
|
||||
$font-display: fallback;
|
||||
font-family: 'Caesar Dressing';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('theme/fonts/caesar-dressing-v9-latin-regular.eot'); /* IE9 Compat Modes */
|
||||
src: local('Caesar Dressing'), local('CaesarDressing-Regular'),
|
||||
url('theme/fonts/caesar-dressing-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('theme/fonts/caesar-dressing-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('theme/fonts/caesar-dressing-v9-latin-regular.woff') format('woff'), /* Modern Browsers */
|
||||
url('theme/fonts/caesar-dressing-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
url('theme/fonts/caesar-dressing-v9-latin-regular.svg#CaesarDressing') format('svg'); /* Legacy iOS */
|
||||
}
|
Loading…
Reference in a new issue