You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2020/10/23 02:44:45 UTC
[dubbo-website] 08/12: fix home page style
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch mkdocs
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
commit ffed42aa820a2e962bdd327f35f54947f5725357
Author: ken.lj <ke...@gmail.com>
AuthorDate: Thu Oct 22 22:05:22 2020 +0800
fix home page style
---
material/overrides/home_en.html | 18 ++++++++++++++
material/overrides/home_zh.html | 52 +++++++++++++++++++++++++++--------------
mkdocs_en.yml | 1 +
mkdocs_zh.yml | 6 ++---
4 files changed, 56 insertions(+), 21 deletions(-)
diff --git a/material/overrides/home_en.html b/material/overrides/home_en.html
index 1cf2f87..11c2f42 100755
--- a/material/overrides/home_en.html
+++ b/material/overrides/home_en.html
@@ -407,6 +407,23 @@ This file was automatically generated - do not edit
margin-top: 35px;
}
+ #my-footer ul {
+ list-style: none;
+ margin-left: 50px;
+ display: inline;
+ }
+
+ #my-footer li {
+ display: inline;
+ line-height: 40px;
+ float:left
+ }
+
+ #my-footer img {
+ max-width: 6rem;
+ max-height: 2.5rem;
+ }
+
/* 页脚部分样式结束 */
</style>
<section class="tx-container">
@@ -515,6 +532,7 @@ This file was automatically generated - do not edit
<ul>
<li><a href="http://www.apache.org">Foundation</a></li>
<li><a href="http://www.apache.org/licenses/">License</a></li>
+ <li><a href="https://www.apache.org/security/">Security</a></li>
<li><a href="http://www.apache.org/events/current-event">Events</a></li>
<li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
diff --git a/material/overrides/home_zh.html b/material/overrides/home_zh.html
index e601047..e18011c 100644
--- a/material/overrides/home_zh.html
+++ b/material/overrides/home_zh.html
@@ -407,6 +407,22 @@ This file was automatically generated - do not edit
margin-top: 35px;
}
+ #my-footer ul {
+ list-style: none;
+ margin-left: 50px;
+ display: inline;
+ }
+
+ #my-footer li {
+ display: inline;
+ line-height: 40px;
+ float:left
+ }
+
+ #my-footer img {
+ max-width: 6rem;
+ max-height: 2.5rem;
+ }
/* 页脚部分样式结束 */
</style>
<section class="tx-container">
@@ -500,28 +516,30 @@ This file was automatically generated - do not edit
<img src="./img/users_haier.png" alt="">
</a>
</div>
+</div>
<!-- 合作伙伴结束 -->
- <div class="md-footer-meta md-typeset">
- <div class="md-footer-meta__inner md-grid">
- <div class="md-footer-social">
- <div class="md-footer-copyright text-center" id="my-footer">
- <img style="float:left;" src="img/apache_logo.png"/>
- <ul>
- <li><a href="http://www.apache.org">Foundation</a></li>
- <li><a href="http://www.apache.org/licenses/">License</a></li>
- <li><a href="http://www.apache.org/events/current-event">Events</a></li>
- <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
- <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
- </ul>
- </div>
- <div class="md-footer-copyright">
- <div class="md-footer-copyright__highlight">
- Copyright © 2018-2020 The Apache Software Foundation. Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
- </div>
+<div class="md-footer-meta md-typeset">
+ <div class="md-footer-meta__inner md-grid">
+ <div class="md-footer-social">
+ <div class="md-footer-copyright text-center" id="my-footer">
+ <img style="float:left; " src="img/apache_logo.png"/>
+ <ul>
+ <li><a href="http://www.apache.org">Foundation</a></li>
+ <li><a href="http://www.apache.org/licenses/">License</a></li>
+ <li><a href="https://www.apache.org/security/">Security</a></li>
+ <li><a href="http://www.apache.org/events/current-event">Events</a></li>
+ <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
+ <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+ </ul>
+ </div>
+ <div class="md-footer-copyright">
+ <div class="md-footer-copyright__highlight">
+ Copyright © 2018-2020 The Apache Software Foundation. Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
</div>
</div>
</div>
</div>
+</div>
{% endblock %}
{% block content %}{% endblock %}
{% block footer %}{% endblock %}
\ No newline at end of file
diff --git a/mkdocs_en.yml b/mkdocs_en.yml
index dbe4ad1..bc5b886 100644
--- a/mkdocs_en.yml
+++ b/mkdocs_en.yml
@@ -72,6 +72,7 @@ nav:
- "Simplified registry URL": 'docs/2.7/user/demos/simplify-registry-data.md'
- "API reference": 'docs/2.7/user/demos/api.md'
- "Schema reference":
+ - "Introduction": 'docs/2.7/user/references/xml/introduction.md'
- "dubbo:service": 'docs/2.7/user/references/xml/dubbo-service.md'
- "dubbo:reference": 'docs/2.7/user/references/xml/dubbo-reference.md'
- "dubbo:protocol": 'docs/2.7/user/references/xml/dubbo-protocol.md'
diff --git a/mkdocs_zh.yml b/mkdocs_zh.yml
index e26fac0..864ed9f 100644
--- a/mkdocs_zh.yml
+++ b/mkdocs_zh.yml
@@ -74,6 +74,7 @@ nav:
- "简化注册中心URL": 'docs/2.7/user/demos/simplify-registry-data.md'
- "API 参考手册": 'docs/2.7/user/demos/api.md'
- "schema 配置参考手册":
+ - "简介": 'docs/2.7/user/references/xml/introduction.md'
- "dubbo:service": 'docs/2.7/user/references/xml/dubbo-service.md'
- "dubbo:reference": 'docs/2.7/user/references/xml/dubbo-reference.md'
- "dubbo:protocol": 'docs/2.7/user/references/xml/dubbo-protocol.md'
@@ -242,10 +243,7 @@ theme:
# Plugins
plugins:
- - search:
- separator: '[\s\-\.]+'
- lang:
- - ja
+ - search
- minify:
minify_html: true