This is an automated email from the ASF dual-hosted git repository. chen pushed a commit to branch document in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/document by this push: new 900d62a update official website style 900d62a is described below commit 900d62a5936f1664d18a6055dfb2648dcdabf765 Author: chenzhx <c...@apache.org> AuthorDate: Thu Jun 7 15:45:46 2018 +0800 update official website style --- website/_includes/dev_nav.html | 2 +- website/_includes/docs23_nav.cn.html | 2 +- website/_includes/docs23_nav.html | 2 +- website/_includes/footer.html | 6 +++--- website/_layouts/blog.html | 2 +- website/_layouts/community-cn.html | 14 +++++++------- website/_layouts/community.html | 14 +++++++------- website/assets/css/docs.css | 4 ++-- website/assets/css/styles.css | 5 ++++- website/blog/index.md | 6 +++--- website/community/index.md | 2 +- website/index.cn.md | 2 +- website/index.md | 2 +- 13 files changed, 33 insertions(+), 30 deletions(-) diff --git a/website/_includes/dev_nav.html b/website/_includes/dev_nav.html index 354caf9..224e4c0 100644 --- a/website/_includes/dev_nav.html +++ b/website/_includes/dev_nav.html @@ -16,7 +16,7 @@ * limitations under the License. --> -<div class="col-md-4 col-lg-4 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 2em"> +<div class="col-md-4 col-lg-4 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 5em"> <ul class="nav nav-pills nav-stacked"> {% for section in site.data.development %} <li><a href="#{{ section | first }}" data-toggle="collapse" class="navtitle">{{ section.title }}</a></li> diff --git a/website/_includes/docs23_nav.cn.html b/website/_includes/docs23_nav.cn.html index 0ee5553..c54b18d 100644 --- a/website/_includes/docs23_nav.cn.html +++ b/website/_includes/docs23_nav.cn.html @@ -16,7 +16,7 @@ * limitations under the License. --> -<div class="col-md-4 col-lg-4 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 2em"> +<div class="col-md-4 col-lg-4 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 5em"> <ul class="nav nav-pills nav-stacked"> {% for section in site.data.docs23-cn %} <li><a href="#{{ section | first }}" data-toggle="collapse" class="navtitle">{{ section.title }}</a></li> diff --git a/website/_includes/docs23_nav.html b/website/_includes/docs23_nav.html index c535d16..18f995c 100644 --- a/website/_includes/docs23_nav.html +++ b/website/_includes/docs23_nav.html @@ -16,7 +16,7 @@ * limitations under the License. --> -<div class="col-md-4 col-lg-4 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 2em"> +<div class="col-md-4 col-lg-4 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 5em"> <ul class="nav nav-pills nav-stacked"> {% for section in site.data.docs23 %} <li><a href="#{{ section | first }}" data-toggle="collapse" class="navtitle">{{ section.title }}</a></li> diff --git a/website/_includes/footer.html b/website/_includes/footer.html index 29d6345..a265085 100644 --- a/website/_includes/footer.html +++ b/website/_includes/footer.html @@ -22,14 +22,14 @@ <div class="col-md-12 widget"> <div class="widget-body"> <a href="http://www.apache.org"> - <img id="asf-logo" alt="Apache Software Foundation" src="/assets/images/apache_footer.png"> + <img id="asf-logo" height="78px" alt="Apache Software Foundation" src="/assets/images/apache_footer.png"> </a> - <p style="padding-top: 14px;"> + <p style="padding-top: 11px;"> The contents of this website are © 2015 Apache Software Foundation under the terms of the <a href="http://www.apache.org/licenses/LICENSE-2.0"> Apache License v2 </a>. </p> - <p style="margin-bottom: 14px;"> + <p style="margin-bottom: 11px;"> Apache Kylin and its logo are trademarks of the Apache Software Foundation. </div> diff --git a/website/_layouts/blog.html b/website/_layouts/blog.html index c142de0..0cb3952 100644 --- a/website/_layouts/blog.html +++ b/website/_layouts/blog.html @@ -20,7 +20,7 @@ {% include head.html %} <body> {% include header.html %} - <div class="page-content"> + <div class="page-content main"> <header style=" padding:2em 0 0 "> <div class="container" > <div style=" padding:0 4em"> diff --git a/website/_layouts/community-cn.html b/website/_layouts/community-cn.html index 81b707d..d6a9f0e 100644 --- a/website/_layouts/community-cn.html +++ b/website/_layouts/community-cn.html @@ -27,13 +27,13 @@ <main id="main" > <div > <div id="zero" class=" main community" > - - <div class="page-content"> - <div class="wrapper"> - {{ content }} - </div> - </div> - + <header style="padding:2em 0 2em 0;"> + <div class="page-content"> + <div class="wrapper"> + {{ content }} + </div> + </div> + </header> </div> </div> </main> diff --git a/website/_layouts/community.html b/website/_layouts/community.html index 81b707d..d6a9f0e 100644 --- a/website/_layouts/community.html +++ b/website/_layouts/community.html @@ -27,13 +27,13 @@ <main id="main" > <div > <div id="zero" class=" main community" > - - <div class="page-content"> - <div class="wrapper"> - {{ content }} - </div> - </div> - + <header style="padding:2em 0 2em 0;"> + <div class="page-content"> + <div class="wrapper"> + {{ content }} + </div> + </div> + </header> </div> </div> </main> diff --git a/website/assets/css/docs.css b/website/assets/css/docs.css index 6837a58..3224dc7 100755 --- a/website/assets/css/docs.css +++ b/website/assets/css/docs.css @@ -32,13 +32,12 @@ .list-group ul li{ height: 40px; } - .aside2 { height: 100%; overflow-y: auto; background-color: #fff; overflow-x: hidden; - padding: 8px 0px 0px 60px; + padding: 0px 0px 0px 60px; } .post-title { @@ -123,6 +122,7 @@ } .docs { margin-bottom: 100px; + margin-top: 5em; } .docs ul { list-style: none; diff --git a/website/assets/css/styles.css b/website/assets/css/styles.css index a0de80e..9d3dade 100644 --- a/website/assets/css/styles.css +++ b/website/assets/css/styles.css @@ -748,7 +748,7 @@ a.section-menu-title:hover { .community .members-card .members-role{ font-size: 14px; line-height: 18px; - padding-top: 0px; + margin-top: 0px; } .community .members-card .apche-id{ @@ -778,9 +778,12 @@ a.section-menu-title:hover { .blog-card { height: 105px; box-shadow: 0 0 4px 0 #CFD8DC; + display: block; + color: #333; } .blog-card:hover { height: 105px; + color: #333; box-shadow: 0 0 4px 0 #f3982a; } .blog-card:hover .blog-pic{ diff --git a/website/blog/index.md b/website/blog/index.md index e65c974..afa2e0f 100644 --- a/website/blog/index.md +++ b/website/blog/index.md @@ -14,13 +14,13 @@ title: Blog {% if category[0] == 'blog' %} {% for post in category[1] %} <div class="col-md-6 col-lg-6 col-xs-6"> - <div class="blog-card"> + <a class="blog-card" href="{{ post.url | prepend: site.baseurl }}"> <div class="blog-pic"> <img width="20" src="../assets/images/icon_blog_w.png"> </div> - <p class="blog-title"><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></p> + <p class="blog-title">{{ post.title }}</p> <p align="left" class="post-meta" >posted: {{ post.date | date: "%b %-d, %Y" }}</p> - </div> + </a> </div> {% endfor %} {% endif %} diff --git a/website/community/index.md b/website/community/index.md index 7e8bd87..5267b9d 100644 --- a/website/community/index.md +++ b/website/community/index.md @@ -4,7 +4,7 @@ title: Community permalink: /community/index.html --- <div class="container" > - <div class="row" style="margin-top:60px"> + <div class="row"> <div class="col-sm-6 col-md-6"> <h2> Powered By Apache Kylin™ </h2> <p>For information about who are using Apache Kylin™, please refer to <a href="/community/poweredby.html">Powered By</a> page.</p> diff --git a/website/index.cn.md b/website/index.cn.md index 8470ced..c5fe6d9 100644 --- a/website/index.cn.md +++ b/website/index.cn.md @@ -7,7 +7,7 @@ title: 首页 <main id="main" > <div class="container" > <div id="zero" class=" main" > - <header style=" padding:4em 0;"> + <header style=" padding:2em 0 4em 0;"> <div class="container" > <h4 class="index-title"><span>Apache Kylin™ 概览</span></h4> <div class="row" style="margin-top:-20px;"> diff --git a/website/index.md b/website/index.md index 42558c7..2df710e 100644 --- a/website/index.md +++ b/website/index.md @@ -7,7 +7,7 @@ title: Home <main id="main" > <div class="container" > <div id="zero" class=" main" > - <header style=" padding:4em 0;"> + <header style=" padding:2em 0 4em 0;"> <div class="container" > <h4 class="index-title"><span>Apache Kylin™ Overview</span></h4> <div class="row" style="margin-top:-20px;"> -- To stop receiving notification emails like this one, please contact c...@apache.org.