Added font display swap

This commit is contained in:
zeldaroot 2021-01-18 06:16:35 +02:00
parent f8841370f1
commit d8f85caa6f
1 changed files with 2 additions and 0 deletions

View File

@ -106,6 +106,7 @@
}
@font-face {
font-display:swap;
font-family: 'Glyphicons Halflings';
src: url('/themes/<%- page.theme %>/public/fonts/glyphicons-halflings-regular.eot');
src: url('/themes/<%- page.theme %>/public/fonts/glyphicons-halflings-regular.eot') format('embedded-opentype'), url('/themes/<%- page.theme %>/public/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('/themes/<%- page.theme %>/public/fonts/glyphicons-halflings-regular.woff') format('woff'), url('/themes/<%- page.theme %>/public/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('/themes/<%- page.theme %>/public/fonts/glyphicons-halflings-regular.svg') format('svg')
@ -449,6 +450,7 @@
}
@font-face {
font-display:swap;
font-family: fontello;
src: url('/themes/<%- page.theme %>/public/fonts/fontello.eot');
src: url('/themes/<%- page.theme %>/public/fonts/fontello.eot') format('embedded-opentype'), url('/themes/<%- page.theme %>/public/fonts/fontello.woff') format('woff'), url('/themes/<%- page.theme %>/public/fonts/fontello.ttf') format('truetype'), url('/themes/<%- page.theme %>/public/fonts/fontello.svg') format('svg');