fix fonts

This commit is contained in:
Gen 2024-03-06 16:58:06 -08:00
parent 494a0f6545
commit d6cb5a819e
No known key found for this signature in database
GPG key ID: CE5EAD50DD5E2278
3 changed files with 11 additions and 5 deletions

Binary file not shown.

View file

@ -1,11 +1,6 @@
<!doctype html>
<html lang="en">
<head>
<link rel="stylesheet" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="Gen's Website" />
<meta

View file

@ -4,6 +4,17 @@
box-sizing: border-box;
}
/* urbanist-regular - latin */
@font-face {
font-display: swap;
/* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Urbanist';
font-style: normal;
font-weight: 400;
src: url('../fonts/urbanist-v15-latin-regular.woff2') format('woff2');
/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
:root[theme="latte"] {
--ctp-rosewater: #dc8a78;
--ctp-flamingo: #dd7878;