Skip to content

Commit

Permalink
update fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
aslilac committed Jan 21, 2024
1 parent 413a1d2 commit f906dd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions content/resources/blog.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
font-style: normal;
font-display: swap;
font-weight: 100 900;
src: url("https://cdn.mckayla.cloud/fonts/outfit/Outfit-Variable.woff2") format("woff2"),
url("https://cdn.mckayla.cloud/fonts/outfit/Outfit-Variable.ttf") format("truetype");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
src: url("https://cdn.mckayla.cloud/fonts/Outfit.woff2") format("woff2");
}

html {
Expand Down Expand Up @@ -39,18 +36,15 @@ h6 {
font-style: normal;
font-display: swap;
font-weight: 600;
src: url("https://cdn.mckayla.cloud/fonts/CormorantSemiBold.ttf") format("truetype");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
src: url("https://cdn.mckayla.cloud/fonts/Cormorant-SemiBold.woff2") format(woff2);
}

@font-face {
font-family: "Cascadia Code";
font-style: normal;
font-display: swap;
font-weight: 600;
src: url("https://cdn.mckayla.cloud/fonts/CascadiaCode-Variable.woff2")
format("truetype");
src: url("https://cdn.mckayla.cloud/fonts/CascadiaCode.woff2") format(woff2);
}

body {
Expand Down
2 changes: 1 addition & 1 deletion src/templates/blog_post.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>{{title}}</title>
<meta charset="utf-8" />
<link rel="icon" href="https://cdn.mckayla.cloud/-/764b1512ee1f490a951e9c00d9ded4b2/Doodle.avif" />
<link rel="preload" href="https://cdn.mckayla.cloud/fonts/outfit/Outfit-Variable.woff2"
<link rel="preload" href="https://cdn.mckayla.cloud/fonts/Outfit.woff2"
as="font" type="font/woff2" crossorigin="anonymous" />
<link rel="stylesheet" href="/resources/blog.css" />
<!--<link rel="stylesheet" href="https://unpkg.com/prismjs@1.29.0/themes/prism.min.css" />-->
Expand Down

0 comments on commit f906dd9

Please sign in to comment.