Skip to content

Commit

Permalink
更正文档
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperManito committed Dec 24, 2024
1 parent 9351ac9 commit 0893018
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 13 deletions.
20 changes: 19 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
.idea/
.DS_Store
site/
node_modules

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor directories and files
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
4 changes: 2 additions & 2 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
}

[data-md-color-scheme='slate'] .md-header {
background-color: hsla(240, 4%, 11%, 0.33);
background-color: hsla(var(--md-hue), 15%, 9%, 0.33);
}

.md-tabs {
background-color: hsla(240, 9%, 75%, 0.33);
}

[data-md-color-scheme='slate'] .md-tabs {
background-color: hsla(240, 4%, 11%, 0.33);
background-color: hsla(var(--md-hue), 15%, 9%, 0.33);
}

@font-face {
Expand Down
2 changes: 1 addition & 1 deletion docs/theme/partials/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<img src="/assets/images/sponsor/arcadia-dark.png#only-dark" alt="Arcadia 一站式代码运维平台" style="width: 60%" />
</a>
<a href="/sponsor/" target="_blank" class="sponsor-item">
<span class="sponsor-item" style="font-size: 0.6rem">
<span style="font-size: 0.6rem">
<strong>成为赞助商</strong>
</span>
</a>
Expand Down
1 change: 0 additions & 1 deletion docs/use/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,6 @@ hide:
--protocol http \
--use-intranet-source false \
--install-epel true \
--close-firewall true \
--backup true \
--upgrade-software false \
--clean-cache false \
Expand Down
15 changes: 7 additions & 8 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ repo_name: GitHub
repo_url: https://github.com/SuperManito/LinuxMirrors
edit_uri: edit/main/docs/
copyright: 'Copyright &copy; 2024 <a href="https://github.com/SuperManito" target="_blank"> SuperManito</a> <a href="https://www.netlify.com" target="_blank"><img height="64" width="64" src="/assets/images/icon/netlify.svg" style="vertical-align: -0.6em"></a>'

extra_css:
- stylesheets/extra.css

theme:
logo: assets/images/logo.png
name: material
Expand Down Expand Up @@ -36,18 +40,16 @@ theme:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: white
accent: white
toggle:
icon: octicons/sun-16
name: 亮色主题
name: 亮色模式
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: blue
accent: blue
primary: black
toggle:
icon: octicons/moon-16
name: 深色主题
name: 暗黑模式
features:
- header.autohide
- navigation.top
Expand Down Expand Up @@ -88,8 +90,6 @@ extra:
data: 0
note: >-
感谢反馈!使用<a href="https://github.com/SuperManito/LinuxMirrors/issues" target="_blank" rel="noopener">反馈表单</a></br>帮助我们改进此页面。
extra_css:
- stylesheets/extra.css
markdown_extensions:
- toc:
permalink: "#"
Expand Down Expand Up @@ -141,7 +141,6 @@ plugins:
exclude:
- mirrors.md
- tags
- glightbox
nav:
- "介绍": index.md
- "使用方法": use/index.md
Expand Down

0 comments on commit 0893018

Please sign in to comment.