home: host inter font ourselves
This commit is contained in:
Binary file not shown.
Binary file not shown.
+2
-2
@@ -3,12 +3,12 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>atom.town</title>
|
<title>atom.town</title>
|
||||||
<link rel="preconnect" href="https://rsms.me/">
|
<link rel="stylesheet" href="style/fonts.css">
|
||||||
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
|
|
||||||
<link rel="stylesheet" href="style/reset.css">
|
<link rel="stylesheet" href="style/reset.css">
|
||||||
<link rel="stylesheet" href="style/style.css">
|
<link rel="stylesheet" href="style/style.css">
|
||||||
<link rel="icon" type="image/png" href="assets/logo_icon.png">
|
<link rel="icon" type="image/png" href="assets/logo_icon.png">
|
||||||
<link rel="preload" as="image" href="assets/clouds.avif">
|
<link rel="preload" as="image" href="assets/clouds.avif">
|
||||||
|
<link rel="preload" as="font" href="assets/InterVariable-Italic.woff2">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="assets/logo.png" class="logo" />
|
<img src="assets/logo.png" class="logo" />
|
||||||
|
|||||||
+2
-2
@@ -3,12 +3,12 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>atom.town</title>
|
<title>atom.town</title>
|
||||||
<link rel="preconnect" href="https://rsms.me/">
|
<link rel="stylesheet" href="style/fonts.css">
|
||||||
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
|
|
||||||
<link rel="stylesheet" href="style/reset.css">
|
<link rel="stylesheet" href="style/reset.css">
|
||||||
<link rel="stylesheet" href="style/style.css">
|
<link rel="stylesheet" href="style/style.css">
|
||||||
<link rel="icon" type="image/png" href="assets/logo_icon.png">
|
<link rel="icon" type="image/png" href="assets/logo_icon.png">
|
||||||
<link rel="preload" as="image" href="assets/clouds.avif">
|
<link rel="preload" as="image" href="assets/clouds.avif">
|
||||||
|
<link rel="preload" as="font" href="assets/InterVariable-Italic.woff2">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="assets/logo.png" class="logo" />
|
<img src="assets/logo.png" class="logo" />
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
/* http://rsms.me/inter/font-files/InterVariable.woff2 */
|
||||||
|
@font-face {
|
||||||
|
font-family: InterVariable;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 100 900;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../assets/InterVariable.woff2") format('woff2');
|
||||||
|
}
|
||||||
|
/* http://rsms.me/inter/font-files/InterVariable-Italic.woff2 */
|
||||||
|
@font-face {
|
||||||
|
font-family: InterVariable;
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 100 900;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("../assets/InterVariable-Italic.woff2") format('woff2');
|
||||||
|
}
|
||||||
@@ -1,9 +1,6 @@
|
|||||||
:root {
|
:root {
|
||||||
font-family: Inter, sans-serif;
|
font-family: InterVariable, sans-serif;
|
||||||
font-feature-settings: 'liga' 1, 'calt' 1;
|
font-feature-settings: 'liga' 1, 'calt' 1;
|
||||||
@supports (font-variation-settings: normal) {
|
|
||||||
font-family: InterVariable, sans-serif;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
|||||||
@@ -3,12 +3,12 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>atom.town</title>
|
<title>atom.town</title>
|
||||||
<link rel="preconnect" href="https://rsms.me/">
|
<link rel="stylesheet" href="style/fonts.css">
|
||||||
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
|
|
||||||
<link rel="stylesheet" href="style/reset.css">
|
<link rel="stylesheet" href="style/reset.css">
|
||||||
<link rel="stylesheet" href="style/style.css">
|
<link rel="stylesheet" href="style/style.css">
|
||||||
<link rel="icon" type="image/png" href="assets/logo_icon.png">
|
<link rel="icon" type="image/png" href="assets/logo_icon.png">
|
||||||
<link rel="preload" as="image" href="assets/clouds.avif">
|
<link rel="preload" as="image" href="assets/clouds.avif">
|
||||||
|
<link rel="preload" as="font" href="assets/InterVariable-Italic.woff2">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="assets/logo.png" class="logo" />
|
<img src="assets/logo.png" class="logo" />
|
||||||
|
|||||||
Reference in New Issue
Block a user