From 13b91892a9f4ccdb4dcf293c780b256c4f01eda0 Mon Sep 17 00:00:00 2001 From: liuboaibc Date: Mon, 17 Aug 2020 17:09:23 +0800 Subject: [PATCH] change file path --- assets/scss/doc.scss | 5 ++--- assets/scss/markdown.scss | 5 ++--- i18n/zh.yaml | 2 +- layouts/docs/single.html | 3 ++- layouts/partials/breadcrumb.html | 2 +- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/assets/scss/doc.scss b/assets/scss/doc.scss index 2e7dc8a0a..e0f5df923 100644 --- a/assets/scss/doc.scss +++ b/assets/scss/doc.scss @@ -387,18 +387,17 @@ body { .content-div { .md-body { font-size: 16px; - line-height: 2.29; + line-height: 1.71; color: #36435c; } .md-body h2 { font-size: 24px; font-weight: 500; - line-height: 64px; + line-height: 40px; color: #171c34; text-shadow: none; text-align: left; - margin-bottom: 20px; } .md-body h3 { diff --git a/assets/scss/markdown.scss b/assets/scss/markdown.scss index b1e417cd9..beefb2abc 100644 --- a/assets/scss/markdown.scss +++ b/assets/scss/markdown.scss @@ -106,8 +106,8 @@ .md-body h4, .md-body h5, .md-body h6 { - margin-top: 30px; - margin-bottom: 20px; + margin-top: 20px; + margin-bottom: 5px; font-weight: 600; line-height: 1.5; color: #171c34; @@ -170,7 +170,6 @@ text-align: center; color: #171c34; text-shadow: 0 4px 8px rgba(35, 45, 65, 0.1); - margin-bottom: 60px; @media only screen and (max-width: $mobile-max-width) { margin-bottom: 20px; diff --git a/i18n/zh.yaml b/i18n/zh.yaml index e4dc68ee5..effb94cb1 100644 --- a/i18n/zh.yaml +++ b/i18n/zh.yaml @@ -43,7 +43,7 @@ - id: Read More translation: Read More - id: We can’t find the page that you’re looking for :( - translation: We can’t find the page that you’re looking for :( + translation: 没有你想找的页面 :( - id: Go To Home translation: 返回首页 - id: icon diff --git a/layouts/docs/single.html b/layouts/docs/single.html index b9c5c5954..4c2f7e4ee 100644 --- a/layouts/docs/single.html +++ b/layouts/docs/single.html @@ -139,6 +139,7 @@ {{ end }}