Ensure Lexend font family is applied to all pages
This commit is contained in:
parent
92904193fa
commit
bf2b665b7a
|
@ -22,29 +22,29 @@
|
|||
<link rel="icon" type="image/svg+xml" href="{{ site.chyrp_url }}/favicon.svg">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ site.chyrp_url }}/favicon/apple-touch-icon.png">
|
||||
<link rel="manifest" href="{{ site.chyrp_url }}/favicon/site.webmanifest">
|
||||
<link rel="preload" href="../../../fonts/lexend-v19-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="../../../fonts/lexend-v19-latin-700.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="/fonts/lexend-v19-latin-regular.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="/fonts/lexend-v19-latin-700.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<style>
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: 'Lexend';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../../../fonts/lexend-v19-latin-regular.woff2') format('woff2');
|
||||
src: url('/fonts/lexend-v19-latin-regular.woff2') format('woff2');
|
||||
}
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: 'Lexend';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: url('../../../fonts/lexend-v19-latin-600.woff2') format('woff2');
|
||||
src: url('/fonts/lexend-v19-latin-600.woff2') format('woff2');
|
||||
}
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: 'Lexend';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('../../../fonts/lexend-v19-latin-700.woff2') format('woff2');
|
||||
src: url('/fonts/lexend-v19-latin-700.woff2') format('woff2');
|
||||
}
|
||||
</style>
|
||||
{{ theme.feeds() }}
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
background-color: #d090ff;
|
||||
}
|
||||
body {
|
||||
font-family: "Lexend", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
font-family: Lexend, Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
|
||||
font-size: 1.2rem;
|
||||
color: #ffffff;
|
||||
line-height: 1.5;
|
||||
|
|
Loading…
Reference in New Issue