diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 0a1176e6..3106721c 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,8 +5,13 @@ - + + + + + + diff --git a/_static/css/extra.css b/_static/css/extra.css deleted file mode 100644 index 723a324b..00000000 --- a/_static/css/extra.css +++ /dev/null @@ -1,10 +0,0 @@ -/* 修改夜间模式背景为灰色 */ -@media (prefers-color-scheme: dark) { - :root { - --md-default-bg-color: #2e2e2e; /* 页面主体背景 */ - --md-footer-bg-color: #2e2e2e; /* 页脚 */ - --md-header-bg-color: #2e2e2e; /* 顶部导航栏 */ - --md-code-bg-color: #3a3a3a; /* 代码块背景(可选) */ - --md-typeset-color: #e0e0e0; /* 正文字体颜色(增强对比) */ - } -} diff --git a/notebook/mkdocs.yml b/notebook/mkdocs.yml index e00191d1..fe6319cf 100644 --- a/notebook/mkdocs.yml +++ b/notebook/mkdocs.yml @@ -74,7 +74,7 @@ theme: name: 切换到夜间模式 - media: "(prefers-color-scheme: dark)" scheme: slate - primary: blue + primary: grey accent: blue toggle: icon: material/weather-night @@ -124,5 +124,4 @@ markdown_extensions: extra_javascript: - https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js -extra_css: - - _static/css/extra.css + diff --git a/notebook/themes/css/custom.css b/notebook/themes/css/custom.css deleted file mode 100644 index 88c6e5d7..00000000 --- a/notebook/themes/css/custom.css +++ /dev/null @@ -1 +0,0 @@ -body { font-family: 'Microsoft YaHei', sans-serif; } \ No newline at end of file diff --git a/notebook/themes/js/auto-render.min.js b/notebook/themes/js/auto-render.min.js deleted file mode 100644 index 56377a19..00000000 --- a/notebook/themes/js/auto-render.min.js +++ /dev/null @@ -1 +0,0 @@ -// auto-render.min.js placeholder for offline use \ No newline at end of file diff --git a/notebook/themes/js/katex.js b/notebook/themes/js/katex.js deleted file mode 100644 index eb50e4b5..00000000 --- a/notebook/themes/js/katex.js +++ /dev/null @@ -1,9 +0,0 @@ -document$.subscribe(() => { - renderMathInElement(document.body, { - delimiters: [ - {left: "$$", right: "$$", display: true}, - {left: "$", right: "$", display: false} - ], - throwOnError: false - }); -}); diff --git a/notebook/themes/js/katex.min.js b/notebook/themes/js/katex.min.js deleted file mode 100644 index cc656dea..00000000 --- a/notebook/themes/js/katex.min.js +++ /dev/null @@ -1 +0,0 @@ -// katex.min.js placeholder for offline use \ No newline at end of file