Add proper font links

This commit is contained in:
Yamboy1 2020-01-21 08:12:36 +13:00 committed by Sean Yesmunt
parent 9cc19936eb
commit 7e78c76e74

View file

@ -4,8 +4,64 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="ui.js" async></script>
<link rel="stylesheet" href="font/font.css" />
<title>LBRY</title>
<link rel="preload" href="font/v1/300.woff" as="font" type="font/woff" />
<link rel="preload" href="font/v1/300i.woff" as="font" type="font/woff" />
<link rel="preload" href="font/v1/400.woff" as="font" type="font/woff" />
<link rel="preload" href="font/v1/400i.woff" as="font" type="font/woff" />
<link rel="preload" href="font/v1/700.woff" as="font" type="font/woff" />
<link rel="preload" href="font/v1/700i.woff" as="font" type="font/woff" />
<style>
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url('font/v1/300.woff') format('woff');
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 300;
font-display: swap;
src: url('font/v1/300i.woff') format('woff');
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('font/v1/400.woff') format('woff');
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 400;
font-display: swap;
src: url('font/v1/400i.woff') format('woff');
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('font/v1/700.woff') format('woff');
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 700;
font-display: swap;
src: url('font/v1/700i.woff') format('woff');
}
</style>
</head>
<body>