added fonts locally
This commit is contained in:
@@ -15,8 +15,41 @@
|
||||
</div>
|
||||
|
||||
<style>
|
||||
@import url('https://fonts.upset.dev/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
|
||||
@import url('https://fonts.upset.dev/css2?family=Roboto+Flex:opsz,slnt,wdth,wght,XTRA,YOPQ,YTAS,YTFI,YTUC@8..144,-10..0,25..151,100..1000,323..603,69,649..854,560..788,528..760&display=swap');
|
||||
|
||||
/* Roboto Flex */
|
||||
@font-face {
|
||||
font-family: "Roboto Flex";
|
||||
src: url("fonts/roboto-flex/flex.ttf");
|
||||
}
|
||||
|
||||
/* Space Mono */
|
||||
@font-face {
|
||||
font-family: "Space Mono";
|
||||
src: url("fonts/space-mono/regular.ttf");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Space Mono";
|
||||
src: url("fonts/space-mono/italic.ttf");
|
||||
font-style: italic;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Space Mono";
|
||||
src: url("fonts/space-mono/bold.ttf");
|
||||
font-weight: bold;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Space Mono";
|
||||
src: url("fonts/space-mono/bolditalic.ttf");
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* IBM Plex Mono */
|
||||
@font-face {
|
||||
font-family: "IBM Plex Mono";
|
||||
src: url("fonts/ibm-plex-mono/medium.ttf");
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
:global {
|
||||
:root {
|
||||
@@ -38,8 +71,8 @@
|
||||
--color-link-visited: #ffd7f0;
|
||||
--color-link-hovered: #ffdad5;
|
||||
|
||||
--font-title: 'Roboto Flex';
|
||||
--font-sans-serif: 'Roboto Flex', 'Inter', 'Lato', sans-serif;
|
||||
/* --font-title: 'Roboto Flex'; */
|
||||
--font-sans-serif: 'Roboto Flex', 'Lato', sans-serif;
|
||||
--font-mono: 'IBM Plex Mono', monospace;
|
||||
|
||||
--page-width: 1200px;
|
||||
|
||||
Reference in New Issue
Block a user