docs: update README and improve documentation styling

- Redesign README with better visual hierarchy and styling
- Update documentation styles including line height and blockquote formatting
- Remove BOM character from ai-capability-dictionary.md
- Add Setting icon import to Layout.vue
This commit is contained in:
sanbuphy
2026-01-13 15:42:48 +08:00
parent 0a0a22add3
commit 0b1473bcc3
5 changed files with 139 additions and 80 deletions
+17 -1
View File
@@ -3,7 +3,7 @@
/* 通过变量控制分组底部留白(默认 24px) */
--vp-sidebar-nav-section-gap: 8px;
--ev-doc-font-size: 13px;
--ev-doc-line-height: 1.5;
--ev-doc-line-height: 1.65;
}
.vp-doc {
@@ -18,10 +18,26 @@
--el-font-line-height-primary: var(--ev-doc-line-height);
}
.vp-doc p,
.vp-doc ul,
.vp-doc ol {
line-height: var(--ev-doc-line-height) !important;
}
.vp-doc :where(p, ul, ol, table, blockquote, pre, details, figure) {
margin: 10px 0;
}
.vp-doc blockquote {
font-size: 0.9em !important;
color: var(--vp-c-text-2);
}
.vp-doc blockquote p {
font-size: inherit !important;
line-height: 1.4 !important;
}
.vp-doc :where(li) {
margin: 4px 0;
}