diff --git a/site/bisheng.config.js b/site/bisheng.config.js index d7edebff5d..e0bf310f12 100644 --- a/site/bisheng.config.js +++ b/site/bisheng.config.js @@ -30,11 +30,11 @@ module.exports = { themeConfig: { categoryOrder: { 'Ant Design': 0, - 设计原则: 1, + 原则: 1, Principles: 1, - 视觉语言: 2, + 视觉: 2, Visual: 2, - 模式语言: 3, + 模式: 3, Patterns: 3, 资源: 6, Resources: 6, diff --git a/site/theme/static/common.less b/site/theme/static/common.less index 24c3c43a29..1e8241cf8f 100644 --- a/site/theme/static/common.less +++ b/site/theme/static/common.less @@ -29,11 +29,10 @@ a { .main-container { padding: 0 170px 144px 64px; - margin-left: -1px; background: #fff; min-height: 500px; overflow: hidden; - border-left: 1px solid #e9e9e9; + border-left: 1px solid @site-border-color-split; position: relative; } @@ -44,6 +43,7 @@ a { .aside-container { padding-bottom: 50px; font-family: Lato, @font-family; + border: none; &.ant-menu-inline .ant-menu-submenu-title h4, &.ant-menu-inline > .ant-menu-item, diff --git a/site/theme/static/header.less b/site/theme/static/header.less index 466485c4f4..e8ab25a396 100644 --- a/site/theme/static/header.less +++ b/site/theme/static/header.less @@ -48,7 +48,7 @@ } #search-box { - border-left: 1px solid #ebedee; + border-left: 1px solid @site-border-color-split; float: left; height: 22px; line-height: 22px; @@ -69,6 +69,10 @@ border: 0; box-shadow: none; background: transparent; + + &::placeholder { + color: #a3b1bf; + } } .header-lang-button, diff --git a/site/theme/static/markdown.less b/site/theme/static/markdown.less index 25f30927c0..76970bb45b 100644 --- a/site/theme/static/markdown.less +++ b/site/theme/static/markdown.less @@ -13,6 +13,7 @@ } .markdown p > img { + margin: 34px 0; box-shadow: 0 8px 20px rgba(143, 168, 191, 0.35); } @@ -55,8 +56,8 @@ .markdown hr { height: 1px; border: 0; - background: #e9e9e9; - margin: 16px 0; + background: @site-border-color-split; + margin: 72px 0; clear: both; } diff --git a/site/theme/static/preview-img.less b/site/theme/static/preview-img.less index 3eb5378447..60d8e105a1 100644 --- a/site/theme/static/preview-img.less +++ b/site/theme/static/preview-img.less @@ -1,6 +1,6 @@ .preview-image-boxes { float: right; - margin: 0 0 70px 20px; + margin: 0 0 64px 20px; width: 496px; clear: both; diff --git a/site/theme/static/resource.less b/site/theme/static/resource.less index e6f7237c93..86ac51c85e 100644 --- a/site/theme/static/resource.less +++ b/site/theme/static/resource.less @@ -65,6 +65,6 @@ .resource-card-description { display: block; - color: #999; + color: #697b8c; padding-right: 8px; } diff --git a/site/theme/template/Layout/Header.jsx b/site/theme/template/Layout/Header.jsx index bcf0c5101b..c8afe61719 100644 --- a/site/theme/template/Layout/Header.jsx +++ b/site/theme/template/Layout/Header.jsx @@ -210,7 +210,7 @@ export default class Header extends React.Component {