added font to css

This commit is contained in:
Justin 2026-08-30 16:06:07 -05:00
parent ae21ab1be9
commit a3b77de5aa
2 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,13 @@
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@font-face {
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('/fonts/ibm-plex-mono-400.woff2') format('woff2');
}
:root { :root {
--bg: #0a0c10; --bg: #0a0c10;
--bg2: #0f1218; --bg2: #0f1218;

View File

@ -16,9 +16,6 @@
<link rel="icon" type="image/png" sizes="256x256" href="/favicon-256x256.png" /> <link rel="icon" type="image/png" sizes="256x256" href="/favicon-256x256.png" />
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="./fonts/css2@family=IBM+Plex+Mono%3Awght@300;400;500;600&family=IBM+Plex+Sans%3Awght@300;400;500&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="css/style.css"> <link rel="stylesheet" href="css/style.css">
</head> </head>