This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev
in repository
https://gitbox.apache.org/repos/asf/incubator-streampark-website.git
The following commit(s) were added to refs/heads/dev by this push:
new d8997f1 minor improvement
d8997f1 is described below
commit d8997f116475658d28f24d6c227cc345bce9cead
Author: benjobs <[email protected]>
AuthorDate: Thu Oct 5 10:54:54 2023 +0800
minor improvement
---
docs/user-guide/4-dockerDeployment.md | 2 +-
docs/user-guide/5-LDAP.md | 2 +-
docs/user-guide/6-Team.md | 2 +-
.../current/user-guide/4-dockerDeployment.md | 2 +-
.../current/user-guide/5-LDAP.md | 2 +-
.../current/user-guide/6-Team.md | 2 +-
src/css/bootstrap.min.css | 11 -------
src/css/custom.css | 28 ++++++++---------
src/styles/base.less | 35 +---------------------
9 files changed, 19 insertions(+), 67 deletions(-)
diff --git a/docs/user-guide/4-dockerDeployment.md
b/docs/user-guide/4-dockerDeployment.md
index 18aad30..c540e7b 100644
--- a/docs/user-guide/4-dockerDeployment.md
+++ b/docs/user-guide/4-dockerDeployment.md
@@ -1,6 +1,6 @@
---
id: 'docker-deployment'
-title: 'Docker Quick Tutorial'
+title: 'Docker Tutorial'
sidebar_position: 4
---
diff --git a/docs/user-guide/5-LDAP.md b/docs/user-guide/5-LDAP.md
index f22979d..c9fe57e 100644
--- a/docs/user-guide/5-LDAP.md
+++ b/docs/user-guide/5-LDAP.md
@@ -1,6 +1,6 @@
---
id: 'LDAP'
-title: 'LDAP Quick Tutorial'
+title: 'LDAP Tutorial'
sidebar_position: 5
---
diff --git a/docs/user-guide/6-Team.md b/docs/user-guide/6-Team.md
index 637fc9f..328e93b 100644
--- a/docs/user-guide/6-Team.md
+++ b/docs/user-guide/6-Team.md
@@ -1,6 +1,6 @@
---
id: 'Team'
-title: 'User, team, role and member Management'
+title: 'Team & member Management'
sidebar_position: 6
---
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/4-dockerDeployment.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/4-dockerDeployment.md
index 97cd57c..c1014cd 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/4-dockerDeployment.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/4-dockerDeployment.md
@@ -1,6 +1,6 @@
---
id: 'docker-deployment'
-title: 'Docker 快速使用教程'
+title: 'Docker 部署'
sidebar_position: 4
---
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/5-LDAP.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/5-LDAP.md
index 1918f72..9013c2c 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/5-LDAP.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/5-LDAP.md
@@ -1,6 +1,6 @@
---
id: 'LDAP'
-title: 'LDAP 快速使用教程'
+title: 'LDAP 使用'
sidebar_position: 5
---
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/6-Team.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/6-Team.md
index 02e3220..8c8b8f0 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/6-Team.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user-guide/6-Team.md
@@ -1,6 +1,6 @@
---
id: 'Team'
-title: '用户、团队、角色以及成员管理'
+title: '团队成员管理'
sidebar_position: 6
---
diff --git a/src/css/bootstrap.min.css b/src/css/bootstrap.min.css
index fb81670..447eef0 100755
--- a/src/css/bootstrap.min.css
+++ b/src/css/bootstrap.min.css
@@ -51,17 +51,6 @@ article, aside, figcaption, figure, footer, header, hgroup,
main, nav, section {
display: block
}
-body {
- margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe
UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
- font-size: 1rem;
- font-weight: 400;
- line-height: 1.5;
- color: #212529;
- text-align: left;
- background-color: #fff
-}
-
[tabindex="-1"]:focus:not(:focus-visible) {
outline: 0 !important
}
diff --git a/src/css/custom.css b/src/css/custom.css
index 57dc22e..3685f70 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -86,36 +86,32 @@
--ifm-container-width-xl: 1200px;
--ifm-menu-link-padding-vertical: 0.5rem;
--ifm-menu-link-padding-horizontal: 1.25rem;
+ --default-font: 0.90rem;
+ --default-line-height: 21px;
/* --ifm-navbar-height: 5rem; */
}
html {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
"Hiragino Sans GB", "Microsoft YaHei",
- "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol";
font-variant: tabular-nums;
font-feature-settings: "tnum";
}
+body {
+ margin: 0;
+ font-size: var(--default-font) !important;
+ line-height: var(--default-line-height);
+ font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI
Symbol;
+}
+
.navbar__title {
font-size: 18px;
font-weight: 500;
}
-/* .navbar__link {
- color: #444950;
- font-size: 15px;
- font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
- font-weight: 400;
- padding: 15px;
-} */
.navbar__link--active {
color: var(--ifm-navbar-link-hover-color) !important;
}
-/* .navbar__items {
- margin-left: 20px;
-} */
-
.navbar__logo {
height: 50px;
}
@@ -339,7 +335,6 @@ footer .subscribe-box ul li a:hover .wechat-dropdown {
.menu__list .menu__list {
flex: 0 0 100%;
margin-top: 0.25rem;
- padding-left: var(--ifm-menu-link-padding-horizontal);
}
.menu__list-item--collapsed .menu__list {
@@ -379,7 +374,7 @@ footer .subscribe-box ul li a:hover .wechat-dropdown {
}
.theme-doc-sidebar-menu:not(#\#):not(#\#) {
- font-size: 0.95rem;
+ font-size: 0.90rem;
}
.theme-doc-sidebar-item-link-level-1:not(:first-child):not(#\#):not(#\#),
@@ -478,6 +473,7 @@ footer .subscribe-box ul li a:hover .wechat-dropdown {
background-color: #b6b7b9;
}
-p{
+p {
color: var(--ifm-color-secondary-contrast-foreground);
+ font-weight: 500;
}
diff --git a/src/styles/base.less b/src/styles/base.less
index 7678d55..4a1ea4e 100644
--- a/src/styles/base.less
+++ b/src/styles/base.less
@@ -4,24 +4,9 @@
box-sizing: border-box;
}
-/*会导致docusaurus 中的md文档的列表格式 无法正常显示
-body,
-ul,
-li,
-ol,
-h1,
-h2,
-h3,
-h4,
-h5,
-h6,
-p {
- margin: 0;
- padding: 0;
-}*/
-
body {
min-width: 1200px;
+ margin: 0;
font-size: 14px;
color: var(--ifm-font-color-base);
color-scheme: var(--ifm-color-scheme);
@@ -30,24 +15,6 @@ body {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica
Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI
Symbol, Noto Color Emoji !important
}
-/*
-会导致docusaurus 中的md文档的列表格式 无法正常显示
-ul,
-li,
-ol {
- list-style: none;
-}
-
-a {
- text-decoration: none;
-}
-
-a:link,
-a:visited {
- color: @enhance-color;
-}
-*/
-
.block {
width: 1200px;
padding: 0 20px;