mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-14 14:57:25 +08:00
feat: 字体
This commit is contained in:
parent
83692ffd55
commit
edc86990a7
@ -12,8 +12,6 @@ export default defineUserConfig({
|
|||||||
// 设置 favor.ico,.vuepress/public 下
|
// 设置 favor.ico,.vuepress/public 下
|
||||||
['link', {rel: 'icon', href: 'https://cdn.liteyuki.icu/favicon.ico'},],
|
['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'}],
|
['link', {rel: 'stylesheet', href: 'https://cdn.bootcdn.net/ajax/libs/firacode/6.2.0/fira_code.min.css'}],
|
||||||
|
|
||||||
[
|
[
|
||||||
|
BIN
docs/.vuepress/public/assets/fonts/ColorTube.woff
Normal file
BIN
docs/.vuepress/public/assets/fonts/ColorTube.woff
Normal file
Binary file not shown.
Binary file not shown.
@ -1,11 +1,16 @@
|
|||||||
// place your custom styles here
|
// place your custom styles here
|
||||||
|
|
||||||
#main-title {
|
#main-title {
|
||||||
font-family: "ColorTube", serif;
|
font-family: "ColorTube", "Fira Code", serif;
|
||||||
color: #ff0000 !important; /* 你想要的颜色 */
|
color: #ff0000 !important; /* 你想要的颜色 */
|
||||||
line-height: 2;
|
line-height: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: ColorTube;
|
||||||
|
src: url(assets/fonts/ColorTube.woff) format("woff")
|
||||||
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: "Fira Code", monospace !important;
|
font-family: "Fira Code", monospace !important;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user