Skip to content

Commit 52e7446

Browse files
committed
fix mobile
1 parent 5507b91 commit 52e7446

File tree

4 files changed

+22
-9
lines changed

4 files changed

+22
-9
lines changed

docusaurus.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ const config = {
104104
// },
105105
navbar: {
106106
title: 'Steedos',
107+
// style: 'dark',
107108
logo: {
108109
alt: 'Steedos',
109110
src: 'img/logo.png',
@@ -151,6 +152,7 @@ const config = {
151152
className: 'navbar-social-link navbar-github-logo',
152153
'aria-label': 'GitHub repository',
153154
},
155+
154156
],
155157
},
156158
docs: {

i18n/zh-CN/docusaurus-theme-classic/footer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"description": "The title of the footer links column with title=Customer Success Stories in the footer"
5757
},
5858
"link.title.Resources": {
59-
"message": "资源",
59+
"message": "资料",
6060
"description": "The title of the footer links column with title=Resources in the footer"
6161
},
6262
"link.title.Contact Us": {

sidebars.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,6 @@ const sidebars = {
8686
apps: [
8787
{type: 'autogenerated', dirName: 'apps'},
8888
],
89-
90-
videos: [
91-
{type: 'autogenerated', dirName: 'videos'},
92-
],
9389

9490
solutions: [
9591
{

src/css/custom.css

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
@tailwind components;
1414
@tailwind utilities;
1515

16+
aside.theme-doc-sidebar-container {
17+
@apply border border-r bg-gray-50
18+
}
19+
1620
h1, h2, h3, h4, h5, h6 {
1721
font-weight: bold;
1822
}
@@ -27,6 +31,17 @@ h1, h2, h3, h4, h5, h6 {
2731
--ifm-footer-link-color: rgb(153,153,153);
2832
}
2933

34+
.navbar-sidebar {
35+
color: rgb(153,153,153);
36+
--ifm-menu-color: rgb(198,198,198);
37+
--ifm-menu-link-color: rgb(198,198,198);
38+
--ifm-menu-link-hover-color: #fff;
39+
}
40+
41+
.navbar__items {
42+
color: rgb(153,153,153);
43+
}
44+
3045
.navbar__title {
3146
color: #fff;
3247
font-size: 18px;
@@ -154,11 +169,11 @@ h6 {
154169
display: flex;
155170
background-repeat: no-repeat;
156171
}
157-
.navbar-github-logo::before {
172+
/* .navbar-github-logo::before {
158173
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23181717' aria-hidden='true' viewBox='0 -2 28 28' version='1.1' data-view-component='true' %3E%3Cpath fill-rule='evenodd' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12' %3E%3C/path%3E%3C/svg%3E");
159-
}
174+
} */
160175

161-
[data-theme='dark'] .navbar-github-logo::before {
176+
.navbar-github-logo::before {
162177
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' aria-hidden='true' viewBox='0 -2 28 28' version='1.1' data-view-component='true' %3E%3Cpath fill-rule='evenodd' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12' %3E%3C/path%3E%3C/svg%3E");
163178
}
164179
/*
@@ -199,7 +214,7 @@ h6 {
199214
display: none;
200215
} */
201216

202-
[data-theme="dark"] .theme-doc-sidebar-item-category-level-1>.menu__list-item-collapsible>.menu__link--sublist {
217+
.navbar-sidebar .theme-doc-sidebar-item-category-level-1>.menu__list-item-collapsible>.menu__link--sublist {
203218
color: #fff;
204219
}
205220

0 commit comments

Comments
 (0)