summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan <38150833+beigebeats@users.noreply.github.com>2023-12-13 10:25:39 -0800
committerEvan <38150833+beigebeats@users.noreply.github.com>2023-12-13 10:25:39 -0800
commit5a4dd81d20d139a54eb77cb7a5dad911c654a91d (patch)
tree1a8e7278145ca6a19ac7f479eb098e5e9afab9fa
parent59a283ac82fb89452ff55e85244617ca6e87745d (diff)
Added Font Files
-rw-r--r--fonts/JosefinSans-VariableFont_wght.ttfbin0 -> 117720 bytes
-rw-r--r--index.html4
-rw-r--r--styles.css5
-rw-r--r--styles.scss7
4 files changed, 12 insertions, 4 deletions
diff --git a/fonts/JosefinSans-VariableFont_wght.ttf b/fonts/JosefinSans-VariableFont_wght.ttf
new file mode 100644
index 0000000..00ea1e7
--- /dev/null
+++ b/fonts/JosefinSans-VariableFont_wght.ttf
Binary files differ
diff --git a/index.html b/index.html
index ee24571..51df6ae 100644
--- a/index.html
+++ b/index.html
@@ -5,10 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>QR Code Menu</title>
<link rel="stylesheet" href="styles.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=Josefin+Sans&display=swap" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Josefin+Slab&display=swap" rel="stylesheet">
</head>
<body>
<div class="menu-container">
diff --git a/styles.css b/styles.css
index d30dbc2..32fb5cf 100644
--- a/styles.css
+++ b/styles.css
@@ -1,3 +1,8 @@
+@font-face {
+ font-family: "Josefin Sans";
+ src: url("fonts/JosefinSans-VariableFont_wght.ttf");
+ src: url("fonts/JosefinSans-VariableFont_wght.ttf") format("truetype");
+}
* {
margin: 0px;
padding: 0px;
diff --git a/styles.scss b/styles.scss
index de1b44e..5b82a6f 100644
--- a/styles.scss
+++ b/styles.scss
@@ -6,6 +6,13 @@ $secondary-color: #487143;
$accent-color: #cfab28;
// Fonts
+@font-face {
+font-family: "Josefin Sans";
+src: url('fonts/JosefinSans-VariableFont_wght.ttf');
+src: url('fonts/JosefinSans-VariableFont_wght.ttf') format('truetype');
+}
+
+
$sans-serif-font: 'Josefin Sans';
$serif-font: 'Josefin Slab';