feat: change code font to JuliaMono.

This commit is contained in:
Yufan Sheng 2024-12-09 17:09:24 +08:00
parent 0c347576cc
commit d16418c740
Signed by: syhily
GPG Key ID: 9D18A22A7DCD5A9B
2 changed files with 7 additions and 2 deletions
src
assets/styles
layouts

View File

@ -141,7 +141,7 @@ td {
pre,
code {
font-family: 'LXGW WenKai Mono', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-family: JuliaMono, Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}
code {

View File

@ -44,13 +44,18 @@ const showFooter = Astro.props.footer !== undefined ? Astro.props.footer : true;
<PageMeta {title} {description} />
</slot>
<meta name="robots" content="index, follow" />
<link rel="stylesheet" type="text/css" href="https://npm.elemecdn.com/lxgw-wenkai-webfont/style.css" />
<meta name="googlebot" content="index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1" />
<link rel="alternate" type="application/rss+xml" title="且听书吟" href="/feed" />
<link rel="icon" href="/favicon.ico" sizes="32x32" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.webmanifest" />
<link rel="stylesheet" type="text/css" href="https://npm.elemecdn.com/lxgw-wenkai-webfont/style.css" />
<link
rel="stylesheet"
type="text/css"
href="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-y/juliamono/0.044/juliamono.min.css"
/>
</head>
<body class="home blog">
<div class="site-layout">