Skip to content

Commit

Permalink
Changed up the fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
eternalfrustation committed Oct 22, 2024
1 parent 93bf9e4 commit 47042eb
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
Binary file added 0xproto-webfont.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
</title>
<link href="styles.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preload" as="font" href="/0xproto-webfont.woff2" crossorigin>
<script src="scripts.js">
</script>
</head>
Expand Down
Binary file added profile.avif
Binary file not shown.
Binary file removed profile.jpg
Binary file not shown.
5 changes: 3 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

@font-face {
font-family: xProto;
src: url("0xProto.woff2")
font-display: optional;
src: url("/0xproto-webfont.woff2")
}


Expand Down Expand Up @@ -207,7 +208,7 @@ body>div:hover::after {
#profilePhoto {
overflow: hidden;
align-items: center;
background: url("profile.jpg");
background: url("profile.avif");
background-size: cover;
background-position: center;
grid-column: 1;
Expand Down

0 comments on commit 47042eb

Please sign in to comment.