This is an automated email from the ASF dual-hosted git repository.
young pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git
The following commit(s) were added to refs/heads/master by this push:
new 5d3113ec539 fix: edit style, rm error last update info (#1423)
5d3113ec539 is described below
commit 5d3113ec539241c196bdeacf9ae393d7f9460632
Author: Young <[email protected]>
AuthorDate: Tue Nov 29 10:17:06 2022 +0800
fix: edit style, rm error last update info (#1423)
---
doc/src/css/edit.scss | 66 ++++++++++++++++++++++----------------------
website/docusaurus.config.js | 2 --
2 files changed, 33 insertions(+), 35 deletions(-)
diff --git a/doc/src/css/edit.scss b/doc/src/css/edit.scss
index 682d2b97fc4..82aad813249 100644
--- a/doc/src/css/edit.scss
+++ b/doc/src/css/edit.scss
@@ -7,42 +7,42 @@
a {
color: var(--color-primary) !important;
}
-}
-.page-title {
- font-size: 2.5rem;
- font-weight: 800;
- margin-top: 2rem;
-}
+ p {
+ font-size: 1.2rem;
+ line-height: 1.5;
+ margin: 1rem 0;
+ color: #666;
+ }
-p {
- font-size: 1.2rem;
- line-height: 1.5;
- margin: 1rem 0;
- color: #666;
-}
+ .page-title {
+ font-size: 2.5rem;
+ font-weight: 800;
+ margin-top: 2rem;
+ }
-.edit-btn {
- padding: 12px 18px;
- font-size: 18px;
- font-weight: 600;
- border-radius: 0.5rem;
- transition: all 0.3s ease 0s;
- background: var(--color-primary);
- color: white;
- border: none;
- box-sizing: border-box;
- display: flex;
- flex-direction: row;
- -webkit-box-align: center;
- align-items: center;
- -webkit-box-pack: center;
- justify-content: center;
- cursor: pointer;
- margin-top: 2rem;
- margin-bottom: 8rem;
+ .edit-btn {
+ padding: 12px 18px;
+ font-size: 18px;
+ font-weight: 600;
+ border-radius: 0.5rem;
+ transition: all 0.3s ease 0s;
+ background: var(--color-primary);
+ color: white;
+ border: none;
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: row;
+ -webkit-box-align: center;
+ align-items: center;
+ -webkit-box-pack: center;
+ justify-content: center;
+ cursor: pointer;
+ margin-top: 2rem;
+ margin-bottom: 8rem;
- &:hover {
- filter: brightness(105%);
+ &:hover {
+ filter: brightness(105%);
+ }
}
}
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index 615a53194eb..094cb721b9a 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -55,8 +55,6 @@ module.exports = {
'@docusaurus/preset-classic',
{
docs: {
- showLastUpdateAuthor: true,
- showLastUpdateTime: true,
path: 'docs/general',
routeBasePath: '/docs/general',
sidebarPath: require.resolve('./docs/general/sidebars.json'),