* [doc] update article style
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/2510206f Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/2510206f Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/2510206f Branch: refs/heads/master Commit: 2510206f443d9f7984fa532e6c5a6c867354fc1c Parents: ad732d2 Author: tancy <ron...@gmail.com> Authored: Wed Jun 28 10:42:29 2017 +0800 Committer: tancy <ron...@gmail.com> Committed: Wed Jun 28 10:42:29 2017 +0800 ---------------------------------------------------------------------- doc/themes/weex/source/css/common.scss | 14 ++++++++++---- doc/themes/weex/source/css/media-queries.scss | 2 +- doc/themes/weex/source/css/partial/highlight.scss | 7 ++++--- doc/themes/weex/source/css/variable.scss | 4 ++-- 4 files changed, 17 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2510206f/doc/themes/weex/source/css/common.scss ---------------------------------------------------------------------- diff --git a/doc/themes/weex/source/css/common.scss b/doc/themes/weex/source/css/common.scss index 47a1fe9..10c25cf 100644 --- a/doc/themes/weex/source/css/common.scss +++ b/doc/themes/weex/source/css/common.scss @@ -18,9 +18,12 @@ html, body { body { background: $bg-gray; - font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue","PingFang SC","Helvetica Neue",Arial,STHeiti,"Microsoft YaHei","Source Han Sans SC","Noto Sans CJK SC","Source Han Sans CN","Noto Sans SC","Noto Sans CJK TC",SimSun,sans-serif; + // font-family: Exo,'-apple-system','Open Sans',HelveticaNeue-Light,'Helvetica Neue Light','Helvetica Neue','Hiragino Sans GB','Microsoft YaHei',Helvetica,Arial,sans-serif; + font-family: Lato, "Microsoft Jhenghei", "Hiragino Sans GB", "Microsoft YaHei", sans-serif,'-apple-system','Open Sans',HelveticaNeue-Light,'Helvetica Neue Light'; + // font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', 'WenQuanYi Micro Hei',sans-serif; + // font-size:62.5%;max-height:100%; font-size: 14px; - line-height: 1.4; + line-height: 120%; color: $text-light-black; -webkit-tap-highlight-color: transparent; } @@ -72,11 +75,14 @@ img { vertical-align:middle; } -h1,h2,h3,h4,h5,h6,p { +p { font-weight: normal; margin: 0 0 1em; } - +h1,h2,h3,h4,h5,h6{ + font-weight: bold; + margin: 0 0 1em; +} h1 { font-size: 2em; } http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2510206f/doc/themes/weex/source/css/media-queries.scss ---------------------------------------------------------------------- diff --git a/doc/themes/weex/source/css/media-queries.scss b/doc/themes/weex/source/css/media-queries.scss index f461e84..f31a880 100644 --- a/doc/themes/weex/source/css/media-queries.scss +++ b/doc/themes/weex/source/css/media-queries.scss @@ -7,7 +7,7 @@ **********************************************/ body { user-select: none; - font-size: 13px; + font-size: 14px; } #header { http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2510206f/doc/themes/weex/source/css/partial/highlight.scss ---------------------------------------------------------------------- diff --git a/doc/themes/weex/source/css/partial/highlight.scss b/doc/themes/weex/source/css/partial/highlight.scss index 521357a..cf9e25c 100644 --- a/doc/themes/weex/source/css/partial/highlight.scss +++ b/doc/themes/weex/source/css/partial/highlight.scss @@ -1,13 +1,14 @@ code, pre { - font-family: Source Code Pro,Monaco,Menlo,Consolas,monospace; + // font-family: Source Code Pro,Monaco,Menlo,Consolas,monospace; color: #abb2bf; font-size: 14px; } code { - color: #e06c75; - background: #eaeaea; + color: #c7254e; + background: #f9f2f4; padding: 0 5px; + border-radius: 5px; } pre { http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2510206f/doc/themes/weex/source/css/variable.scss ---------------------------------------------------------------------- diff --git a/doc/themes/weex/source/css/variable.scss b/doc/themes/weex/source/css/variable.scss index 7586c0b..50e35cd 100644 --- a/doc/themes/weex/source/css/variable.scss +++ b/doc/themes/weex/source/css/variable.scss @@ -2,7 +2,7 @@ * Variable ***********************/ -$text-light-black: #363539; +$text-light-black: #333; $text-black: #333; $text-white: #fff; $text-gray: #999; @@ -10,7 +10,7 @@ $text-blue: #00BDFF; $bg-blue: $text-blue; $bg-light-blue: #23CEFD; $bg-white: #fff; -$bg-gray: #f5f5f5; +$bg-gray: #fafafa; $border-light: #ddd; $border-blue: $text-blue; $border-gray: #999ba4;