From 97dcd7a09469b73f44c1ccae63c4840cc8209a6a Mon Sep 17 00:00:00 2001 From: reco_luan Date: Thu, 17 Oct 2019 20:45:40 +0800 Subject: [PATCH 1/6] fix: valine style --- styles/theme.styl | 1 + 1 file changed, 1 insertion(+) diff --git a/styles/theme.styl b/styles/theme.styl index 3b947af..fc9788c 100644 --- a/styles/theme.styl +++ b/styles/theme.styl @@ -265,6 +265,7 @@ th, td box-shadow: $boxShadow .vmeta .vat + margin-right: .2rem background: #f2f2f2 box-shadow: $boxShadow border-radius: $borderRadius From 517619df484a794eb219d3e9bf38b2a7e0ba6e50 Mon Sep 17 00:00:00 2001 From: reco_luan Date: Thu, 17 Oct 2019 20:50:58 +0800 Subject: [PATCH 2/6] fix: valine style --- styles/theme.styl | 1 + 1 file changed, 1 insertion(+) diff --git a/styles/theme.styl b/styles/theme.styl index fc9788c..051ca47 100644 --- a/styles/theme.styl +++ b/styles/theme.styl @@ -276,6 +276,7 @@ th, td background: #f2f2f2 box-shadow: $boxShadow border-radius: $borderRadius + margin-left: .4rem margin-right: 3.6rem padding-top: .1rem padding-left: .6rem From 636b209bc687c985792cd1a7a2b339068c54d8e0 Mon Sep 17 00:00:00 2001 From: reco_luan Date: Fri, 18 Oct 2019 17:09:07 +0800 Subject: [PATCH 3/6] fix: tags page $ timeline page And update comments version. --- layouts/Tags.vue | 27 ++++++++++++++------------- layouts/TimeLines.vue | 27 ++++++++++++++------------- package.json | 2 +- 3 files changed, 29 insertions(+), 27 deletions(-) diff --git a/layouts/Tags.vue b/layouts/Tags.vue index d637caf..95b3b6b 100644 --- a/layouts/Tags.vue +++ b/layouts/Tags.vue @@ -1,19 +1,20 @@ diff --git a/layouts/TimeLines.vue b/layouts/TimeLines.vue index 56ee739..167662d 100644 --- a/layouts/TimeLines.vue +++ b/layouts/TimeLines.vue @@ -1,18 +1,19 @@ diff --git a/package.json b/package.json index 3e08142..bda8c9f 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@vuepress-reco/vuepress-plugin-pagation": "^1.0.3", "@vuepress-reco/vuepress-plugin-screenfull": "^1.0.0", "@vuepress-reco/vuepress-plugin-ga": "^1.0.2", - "@vuepress-reco/vuepress-plugin-comments": "1.0.1", + "@vuepress-reco/vuepress-plugin-comments": "^1.0.2", "@vuepress/plugin-medium-zoom": "1.2.0", "@vuepress/plugin-blog": "1.3.0", "leancloud-storage": "3.13.2", From 889a32c477253c84c15e8eaa7c2467b9b7282cdd Mon Sep 17 00:00:00 2001 From: reco_luan Date: Fri, 18 Oct 2019 17:29:13 +0800 Subject: [PATCH 4/6] VERSION 1.0.9-alpha.17 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bda8c9f..4c6d7c0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vuepress-theme-reco", - "version": "1.0.9-alpha.15", + "version": "1.0.9-alpha.17", "description": "this is a vuepress theme", "main": "index.js", "scripts": { From f4a1d1ae00b3539abfa20b19ba976dc2c0f66b59 Mon Sep 17 00:00:00 2001 From: reco_luan Date: Sun, 20 Oct 2019 01:22:59 +0800 Subject: [PATCH 5/6] style: fix style --- components/Common.vue | 2 +- styles/recoConfig.styl | 2 +- styles/theme.styl | 25 ++++++++----------------- 3 files changed, 10 insertions(+), 19 deletions(-) diff --git a/components/Common.vue b/components/Common.vue index 329db45..0c509c0 100644 --- a/components/Common.vue +++ b/components/Common.vue @@ -197,7 +197,7 @@ export default { .comments-wrapper padding-left 2rem .comments-wrapper - padding-left: 16.4rem; + padding-left: 18.4rem; @media (max-width: $MQMobile) .comments-wrapper padding-left: 2rem diff --git a/styles/recoConfig.styl b/styles/recoConfig.styl index 4848be8..4fb6633 100644 --- a/styles/recoConfig.styl +++ b/styles/recoConfig.styl @@ -1,6 +1,6 @@ $boxShadow = 0 1px 6px 0 rgba(0, 0, 0, 0.2) $boxShadowHover = 0 2px 16px 0 rgba(0, 0, 0, 0.2) -$textShadow = 0 2px 4px rgba(0, 0, 0, 0.2); +$textShadow = 0 2px 4px rgba(0, 0, 0, 0.1); $borderRadius = .25rem $themePicker = { diff --git a/styles/theme.styl b/styles/theme.styl index 051ca47..d117a07 100644 --- a/styles/theme.styl +++ b/styles/theme.styl @@ -244,8 +244,8 @@ th, td .valine-wrapper #valine.v .vwrap - background: #f2f2f2 - box-shadow: $boxShadow + background: #f0f2f4 + // box-shadow: $boxShadow .vcontrol .vsubmit background: #fff @@ -264,24 +264,21 @@ th, td .vsys box-shadow: $boxShadow .vmeta + margin-bottom: 1rem .vat - margin-right: .2rem - background: #f2f2f2 + margin-right: .3rem + background: #f0f2f4 box-shadow: $boxShadow border-radius: $borderRadius padding: 0 .4rem color: #313131 border: 1px solid #ededed .vcontent - background: #f2f2f2 + background: #f0f2f4 box-shadow: $boxShadow border-radius: $borderRadius - margin-left: .4rem - margin-right: 3.6rem - padding-top: .1rem - padding-left: .6rem - padding-right: .6rem - padding-bottom: 0.05rem + margin: 0 .3rem + padding: .1rem .6rem .05rem .6rem p .at color: #1abc9c .info @@ -297,9 +294,3 @@ th, td .search-box input border-radius: $borderRadius - -/************** 回到顶部 **************/ - -.back-to-ceiling - box-shadow: 0 9px 17px 0 rgba(0,0,0,0.2)!important - background-color: transparent!important From d06f2145e1bbe631a4db0d012ced58928aa6723c Mon Sep 17 00:00:00 2001 From: reco_luan Date: Sun, 20 Oct 2019 12:59:04 +0800 Subject: [PATCH 6/6] feat: custom home page component --- layouts/Layout.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/layouts/Layout.vue b/layouts/Layout.vue index 582554f..93898f3 100644 --- a/layouts/Layout.vue +++ b/layouts/Layout.vue @@ -1,8 +1,7 @@