first commit

This commit is contained in:
史悦
2025-11-04 15:26:48 +08:00
commit d71d396ede
20 changed files with 5178 additions and 0 deletions

45
docs/.vitepress/config.ts Normal file
View File

@@ -0,0 +1,45 @@
export default {
lang: 'zh-CN',
title: '考研英语资料库',
description: '考研英语写作与阅读资料汇总',
lastUpdated: true,
cleanUrls: true,
themeConfig: {
nav: [
{ text: '写作总览', link: '/英语作文-总20241122' },
{ text: '阅读主题词', link: '/阅读真题主题词' },
{ text: '做题技巧', link: '/英语做题技巧' }
],
sidebar: [
{
text: '写作资料',
items: [
{ text: '写作总览', link: '/英语作文-总20241122' },
{ text: '作文主题词与原因分析', link: '/作文主题词即原因分析' },
{ text: '作文例句', link: '/作文例句' },
{ text: '因果关系短语', link: '/因果关系短语' },
//{ text: '图表作文批改润色助手 Prompt', link: '/图表作文批改润色助手prompt' },
{ text: '英语作文打印版', link: '/英语作文-打印版' },
{ text: '英语作文背诵版', link: '/英语作文-背诵版' }
]
},
{
text: '阅读与技巧',
items: [
{ text: '阅读真题主题词', link: '/阅读真题主题词' },
{ text: '英语做题技巧', link: '/英语做题技巧' }
]
}
],
outline: {
level: [2, 3],
label: '本页提要'
},
docFooter: {
prev: '上一页',
next: '下一页'
},
returnToTopLabel: '返回顶部',
lastUpdatedText: '最后更新'
}
}

View File

@@ -0,0 +1,22 @@
:root {
--doc-max-width: min(1200px, calc(100vw - 64px));
--doc-max-width-with-aside: min(1200px, calc(100vw - var(--vp-sidebar-width) - 96px));
}
@media (min-width: 960px) {
.VPDoc .container {
max-width: calc(100vw - 64px) !important;
}
.VPDoc .content {
max-width: var(--doc-max-width) !important;
}
.VPDoc .content-container {
max-width: var(--doc-max-width) !important;
}
.VPDoc.has-aside .content-container {
max-width: var(--doc-max-width-with-aside) !important;
}
}

View File

@@ -0,0 +1,9 @@
import DefaultTheme from 'vitepress/theme'
import type { Theme } from 'vitepress'
import './custom.css'
const theme: Theme = {
...DefaultTheme
}
export default theme