This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 6a83538a45c feat: modify ss && blog style community remove pdf link
(#26865)
6a83538a45c is described below
commit 6a83538a45c72026def41b4c54082210bc271c72
Author: davidChan3000 <[email protected]>
AuthorDate: Mon Jul 10 12:58:59 2023 +0800
feat: modify ss && blog style community remove pdf link (#26865)
---
.../tale.scss_5ad6f408b0e3e473c748aac88af0ea18.content | 4 ++--
docs/blog/static/css/theme-mine.css | 5 ++++-
docs/blog/themes/tale4zh/assets/scss/tale/_base.scss | 2 +-
docs/blog/themes/tale4zh/assets/scss/tale/_post.scss | 3 ++-
.../themes/hugo-theme-learn/layouts/partials/menu.html | 16 ++++++++--------
docs/document/static/css/theme-white.css | 2 +-
6 files changed, 18 insertions(+), 14 deletions(-)
diff --git
a/docs/blog/resources/_gen/assets/scss/scss/tale.scss_5ad6f408b0e3e473c748aac88af0ea18.content
b/docs/blog/resources/_gen/assets/scss/scss/tale.scss_5ad6f408b0e3e473c748aac88af0ea18.content
index 764773287c3..de4c261a4d5 100644
---
a/docs/blog/resources/_gen/assets/scss/scss/tale.scss_5ad6f408b0e3e473c748aac88af0ea18.content
+++
b/docs/blog/resources/_gen/assets/scss/scss/tale.scss_5ad6f408b0e3e473c748aac88af0ea18.content
@@ -60,7 +60,7 @@ td {
vertical-align: top; }
p {
- text-indent: 2rem; }
+ text-indent: 0rem; }
table {
width: 100%;
@@ -148,7 +148,7 @@ pre code {
.post p {
margin: 0 0 1rem;
line-height: 2em;
- text-indent: 2em; }
+ text-indent: 0em; }
.post li {
line-height: 2em; }
.post a:hover {
diff --git a/docs/blog/static/css/theme-mine.css
b/docs/blog/static/css/theme-mine.css
index c47c463300b..1d183c83abe 100644
--- a/docs/blog/static/css/theme-mine.css
+++ b/docs/blog/static/css/theme-mine.css
@@ -23,4 +23,7 @@
text-align: left;
display: inherit;
}
-
\ No newline at end of file
+
+.post p{
+ text-indent: 0em;
+}
\ No newline at end of file
diff --git a/docs/blog/themes/tale4zh/assets/scss/tale/_base.scss
b/docs/blog/themes/tale4zh/assets/scss/tale/_base.scss
index 9e0954019d5..aeb9b36840e 100644
--- a/docs/blog/themes/tale4zh/assets/scss/tale/_base.scss
+++ b/docs/blog/themes/tale4zh/assets/scss/tale/_base.scss
@@ -74,7 +74,7 @@ td {
}
p {
- text-indent: 2rem;
+ text-indent: 0rem;
}
table {
diff --git a/docs/blog/themes/tale4zh/assets/scss/tale/_post.scss
b/docs/blog/themes/tale4zh/assets/scss/tale/_post.scss
index b07874a5ddf..3b24ac55d30 100644
--- a/docs/blog/themes/tale4zh/assets/scss/tale/_post.scss
+++ b/docs/blog/themes/tale4zh/assets/scss/tale/_post.scss
@@ -44,7 +44,8 @@
margin: 0 0 1rem;
// text-align: justify;
line-height: 2em;
- text-indent: 2em;
+ // text-indent: 2em;
+ text-indent: 0em;
}
li {
diff --git a/docs/community/themes/hugo-theme-learn/layouts/partials/menu.html
b/docs/community/themes/hugo-theme-learn/layouts/partials/menu.html
index f1ab1459715..0c1dc64b2da 100644
--- a/docs/community/themes/hugo-theme-learn/layouts/partials/menu.html
+++ b/docs/community/themes/hugo-theme-learn/layouts/partials/menu.html
@@ -44,14 +44,14 @@
<!-- download button -->
<!-- <hr /> -->
- {{ if eq .Lang "en"}}
- <a class="padding"
href="{{"https://shardingsphere.apache.org/pdf/shardingsphere_docs_en.pdf" |
absURL}}">
- <!--i class="fa fa-fw fa-file-pdf-o" ></i> -->Download
PDF<!-- is a placeholder-->
- {{ else }}
- <a class="padding"
href="{{"https://shardingsphere.apache.org/pdf/shardingsphere_docs_cn.pdf" |
absURL}}">
- <!-- class="fa fa-fw fa-file-pdf-o"
></i> -->下载PDF文档<!-- is a placeholder -->
- {{end}}
- </a>
+ <!-- {{ if eq .Lang "en"}} -->
+ <!-- <a class="padding"
href="{{"https://shardingsphere.apache.org/pdf/shardingsphere_docs_en.pdf" |
absURL}}"> -->
+ <!--i class="fa fa-fw fa-file-pdf-o" ></i> >Download
PDF< is a placeholder-->
+ <!-- {{ else }} -->
+ <!-- <a class="padding"
href="{{"https://shardingsphere.apache.org/pdf/shardingsphere_docs_cn.pdf" |
absURL}}"> -->
+ <!-- class="fa fa-fw fa-file-pdf-o" ></i> >下载PDF文档<
is a placeholder -->
+ <!-- {{end}} -->
+ <!-- </a> -->
<section id="footer">
{{ partial "menu-footer.html" . }}
diff --git a/docs/document/static/css/theme-white.css
b/docs/document/static/css/theme-white.css
index 9f90928fe3a..d2ed72660bb 100644
--- a/docs/document/static/css/theme-white.css
+++ b/docs/document/static/css/theme-white.css
@@ -371,7 +371,7 @@ table{
}
table td,p,code{
- word-break:break-all;
+ word-break:break-word;
white-space: inherit;
}