Skip to content

Commit 912feb7

Browse files
fix font loading
1 parent 709d7b8 commit 912feb7

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<link rel="stylesheet" href="style.css">
1010
</head>
1111
<body>
12+
<h1 id="tagline"><span class="inline-logo"></span> is a community of artists, makers, and hackers.</h1>
1213
</body>
1314
</html>
1415

style.css

Lines changed: 8 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

stylesheets/fonts.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@font-face {
22
font-family: 'STIX';
3-
src: url('STIX2Text-Italic.woff2') format('woff2'),
4-
url('STIX2Text-Italic.woff') format('woff');
3+
src: url('fonts/STIX2Text-Italic.woff2') format('woff2'),
4+
url('fonts/STIX2Text-Italic.woff') format('woff');
55
font-weight: normal;
66
font-style: italic;
77
}

stylesheets/main.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ body {
99
background-color: --bg-yellow;
1010
color: black;
1111
}
12+
13+
#tagline {
14+
font-style: italic;
15+
font-weight: 400;
16+
font-family: "STIX", "Times New Roman", Times, serif;
17+
}

0 commit comments

Comments
 (0)