feat: 字体

This commit is contained in:
远野千束 2024-04-08 17:13:25 +08:00
parent 83692ffd55
commit edc86990a7
4 changed files with 6 additions and 3 deletions

View File

@ -12,8 +12,6 @@ export default defineUserConfig({
// 设置 favor.ico.vuepress/public 下
['link', {rel: 'icon', href: 'https://cdn.liteyuki.icu/favicon.ico'},],
['link', {rel: 'stylesheet', href: 'https://fonts.cdnfonts.com/css/colortube-2'}],
['link', {rel: 'stylesheet', href: 'https://cdn.bootcdn.net/ajax/libs/firacode/6.2.0/fira_code.min.css'}],
[

Binary file not shown.

View File

@ -1,11 +1,16 @@
// place your custom styles here
#main-title {
font-family: "ColorTube", serif;
font-family: "ColorTube", "Fira Code", serif;
color: #ff0000 !important; /* 你想要的颜色 */
line-height: 2;
}
@font-face {
font-family: ColorTube;
src: url(assets/fonts/ColorTube.woff) format("woff")
}
code {
font-family: "Fira Code", monospace !important;
}