Change default font family to Readex Pro
This commit is contained in:
parent
696043d29b
commit
3ec58976ff
@ -1,19 +1,19 @@
|
||||
<link rel="preload" href="/assets/fonts/lexend/lexend-v19-latin-regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
|
||||
<link rel="preload" href="/assets/fonts/lexend/lexend-v19-latin-700.woff2" as="font" type="font/woff2" crossorigin="anonymous">
|
||||
<link rel="preload" href="/assets/fonts/readex-pro/readex-pro-v22-latin-regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
|
||||
<link rel="preload" href="/assets/fonts/readex-pro/readex-pro-v22-latin-700.woff2" as="font" type="font/woff2" crossorigin="anonymous">
|
||||
<style>
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: 'Lexend';
|
||||
font-family: 'Readex Pro';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('/assets/fonts/lexend/lexend-v19-latin-regular.woff2') format('woff2');
|
||||
src: url('/assets/fonts/readex-pro/readex-pro-v22-latin-regular.woff2') format('woff2');
|
||||
}
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: 'Lexend';
|
||||
font-family: 'Readex Pro';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('/assets/fonts/lexend/lexend-v19-latin-700.woff2') format('woff2');
|
||||
src: url('/assets/fonts/readex-pro/readex-pro-v22-latin-700.woff2') format('woff2');
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="/assets/fonts/fonts.css">
|
||||
<link rel="stylesheet" href="/assets/fonts/fonts.css">
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
--clr-mod-entry-bg: #241445;
|
||||
|
||||
--ff-default: 'Lexend', Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
|
||||
--ff-default: 'Readex Pro', Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
|
||||
--ff-monospace: 'Intel One Mono', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
|
||||
|
||||
--fs-main: clamp(1.125rem, 1.104rem + 0.107vw, 1.2rem);
|
||||
@ -105,4 +105,4 @@
|
||||
[popover] {
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,17 +1,10 @@
|
||||
/* Lexend */
|
||||
/* Readex Pro */
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: 'Lexend';
|
||||
font-family: 'Readex Pro';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: url('/assets/fonts/lexend/lexend-v19-latin-600.woff2') format('woff2');
|
||||
}
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: 'Lexend';
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
src: url('/assets/fonts/lexend/lexend-v19-latin-900.woff2') format('woff2');
|
||||
src: url('/assets/fonts/readex-pro/readex-pro-v22-latin-600.woff2') format('woff2');
|
||||
}
|
||||
/* Intel One Mono */
|
||||
@font-face {
|
||||
@ -56,4 +49,4 @@
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: url('/assets/fonts/intel-one-mono/IntelOneMono-BoldItalic.woff2') format('woff2');
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
src/assets/fonts/readex-pro/readex-pro-v22-latin-600.woff2
Normal file
BIN
src/assets/fonts/readex-pro/readex-pro-v22-latin-600.woff2
Normal file
Binary file not shown.
BIN
src/assets/fonts/readex-pro/readex-pro-v22-latin-700.woff2
Normal file
BIN
src/assets/fonts/readex-pro/readex-pro-v22-latin-700.woff2
Normal file
Binary file not shown.
BIN
src/assets/fonts/readex-pro/readex-pro-v22-latin-regular.woff2
Normal file
BIN
src/assets/fonts/readex-pro/readex-pro-v22-latin-regular.woff2
Normal file
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Colophon
|
||||
keyword: colophon page
|
||||
updated: 2025-03-31T19:00:04+0800
|
||||
updated: 2025-04-02T23:31:43+0800
|
||||
toc: true
|
||||
eleventyNavigation:
|
||||
order: 15
|
||||
@ -55,7 +55,7 @@ Eleventy has the Markdown parser [markdown-it](https://www.npmjs.com/package/mar
|
||||
|
||||
### Fonts
|
||||
|
||||
* [Lexend](https://www.lexend.com/) font family — used as the default font of this site. CSS stylesheet and WOFF2 font format generated by [google-webfonts-helper](https://gwfh.mranftl.com/fonts).
|
||||
* [Readex Pro](https://fonts.google.com/specimen/Readex+Pro) font family — used as the default font of this site. CSS stylesheet and WOFF2 font format generated by [google-webfonts-helper](https://gwfh.mranftl.com/fonts).
|
||||
* [Intel One Mono](https://www.intel.com/content/www/us/en/company-overview/one-monospace-font.html) typeface — used as the monospaced font of this site.
|
||||
|
||||
## Branding
|
||||
|
Loading…
x
Reference in New Issue
Block a user