diff --git a/.gitignore b/.gitignore
index fa150874..dcf61e56 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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?
diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css
index aef4514c..f9de204f 100644
--- a/docs/stylesheets/extra.css
+++ b/docs/stylesheets/extra.css
@@ -12,7 +12,7 @@
}
[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 {
@@ -20,7 +20,7 @@
}
[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 {
diff --git a/docs/theme/partials/toc.html b/docs/theme/partials/toc.html
index 157e70f1..6923b109 100644
--- a/docs/theme/partials/toc.html
+++ b/docs/theme/partials/toc.html
@@ -22,7 +22,7 @@
diff --git a/docs/use/index.md b/docs/use/index.md
index b0919c76..bcf0f397 100644
--- a/docs/use/index.md
+++ b/docs/use/index.md
@@ -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 \
diff --git a/mkdocs.yml b/mkdocs.yml
index 9216a7e8..87995ac4 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -3,6 +3,10 @@ repo_name: GitHub
repo_url: https://github.com/SuperManito/LinuxMirrors
edit_uri: edit/main/docs/
copyright: 'Copyright © 2024 SuperManito '
+
+extra_css:
+ - stylesheets/extra.css
+
theme:
logo: assets/images/logo.png
name: material
@@ -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
@@ -88,8 +90,6 @@ extra:
data: 0
note: >-
感谢反馈!使用反馈表单帮助我们改进此页面。
-extra_css:
- - stylesheets/extra.css
markdown_extensions:
- toc:
permalink: "#"
@@ -141,7 +141,6 @@ plugins:
exclude:
- mirrors.md
- tags
- - glightbox
nav:
- "介绍": index.md
- "使用方法": use/index.md