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>
<meta charset="utf-8">
<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">
</head>
<body>

View File

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