Remove Google Fonts / Change to use local Fira Sans

This commit is contained in:
n loewen 2023-09-20 12:19:41 -07:00
parent b4f16efe37
commit 17888e7724
4 changed files with 6 additions and 25 deletions

BIN
assets/fonts/FiraSans-Heavy.otf Executable file

Binary file not shown.

BIN
assets/fonts/FiraSans-Regular.otf Executable file

Binary file not shown.

View File

@ -4,10 +4,6 @@
<title> Quilt logo sketch </title> <title> Quilt logo sketch </title>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="device-width, initial-scale=1"> <meta name="viewport" content="device-width, initial-scale=1">
<link rel="preconnect" href="https://fonts.googleapis.com">
<!-- TODO: maybe don't use google fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
</head> </head>
<body> <body>

View File

@ -4,29 +4,19 @@
padding: 0; padding: 0;
} }
/*
@font-face { @font-face {
font-family: "Dinish"; font-family: "Fira Sans";
src: url("./fonts/Dinish/Dinish-Regular.otf"); src: url("./assets/fonts/FiraSans-Regular.otf");
font-weight: normal; font-weight: 400;
} }
@font-face { @font-face {
font-family: "Dinish Condensed"; font-family: "Fira Sans";
src: url("./fonts/DinishCondensed/DinishCondensed.otf") format("opentype"); src: url("./assets/fonts/FiraSans-Heavy.otf");
font-weight: normal; font-weight: 900;
} }
@font-face {
font-family: "Dinish Condensed";
src: url("./fonts/DinishCondensed/DinishCondensed-Bold.otf") format("opentype");
font-weight: bold;
}
*/
body { body {
/* font-family: 'Dinish', sans-serif; */
width: 100%; width: 100%;
height: 100vh; height: 100vh;
display: grid; display: grid;
@ -75,8 +65,3 @@ h1 {
font-size: 1.7rem; font-size: 1.7rem;
margin-top: 1em; margin-top: 1em;
} }
/* FIXME temp: */
a {
font-family: 'Fira Sans';
}