diff --git a/README.md b/README.md index e5c01fd..686152b 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,10 @@ - 支持 github 账号评论 - 支持暗黑主题 - github action 自动部署 +- markdown 博客文章标题导航栏 ## TODO -- markdown 博客文章标题导航栏 - markdown 博客文章在线编辑功能 ## Demo diff --git a/blog.config.js b/blog.config.js index 45186cd..4237e5a 100644 --- a/blog.config.js +++ b/blog.config.js @@ -7,6 +7,6 @@ module.exports = { seo: { title: "闫越的网络日志", description: "Just blog and unjust blog", - keywords: "基督徒 | 歌者 | F2E", + keywords: "基督徒 | F2E", }, }; diff --git a/layouts/default.vue b/layouts/default.vue index ddc7275..28b3cc9 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -93,10 +93,20 @@ export default { box-sizing: border-box; margin: 0; } +body { + background-color: #f2f3f5; +} +.blog-wrap { + h2 { + font-weight: 600; + padding-bottom: .3em; + font-size: 1.5em; + } +} .markdown-body { box-sizing: border-box; min-width: 200px; - max-width: 980px; + max-width: 1146px; margin: 0 auto; padding: 0 15px; // padding: 45px; @@ -111,6 +121,7 @@ export default { color: var(--theme-color); } img { + box-sizing: border-box !important; border: 0.3em solid #e0dfcc !important; border-radius: 1em; &[width="40%"] { diff --git a/package-lock.json b/package-lock.json index 08948fa..fca9349 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "nuxt-boilerplate", - "version": "0.0.1", + "version": "0.1.0", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index c8e9e1f..27764fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nuxt-boilerplate", - "version": "0.0.9", + "version": "0.1.0", "author": "yanyue404", "scripts": { "serve": "cross-env PATH_TYPE=development nuxt", diff --git a/pages/posts/_id.vue b/pages/posts/_id.vue index 20c585c..ae223bb 100644 --- a/pages/posts/_id.vue +++ b/pages/posts/_id.vue @@ -1,9 +1,10 @@