diff --git a/docs/assets/stylesheets/global.css b/docs/assets/stylesheets/global.css new file mode 100644 index 0000000..8bb9caa --- /dev/null +++ b/docs/assets/stylesheets/global.css @@ -0,0 +1,6 @@ +:root { + text-autospace: normal; +} +code, pre { + text-autospace: no-autospace; +} diff --git a/mkdocs.yml b/mkdocs.yml index a0ad99b..a0f5b27 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,7 +1,7 @@ site_name: MTR 齐齐玩服务器社区非官方指南 site_description: 这里是由 MTR 齐齐玩服务器玩家社区搭建的非官方指南,希望你能找到你想要的内容! site_author: LPS Community Team -site_url: https://www.lpsguide.cn +site_url: https://www.lpsguide.cn # 文档目录 docs_dir: docs @@ -85,3 +85,5 @@ copyright: Copyright © 2026 LPS Community Team extra_javascript: - javascripts/umami.js +extra_css: + - assets/stylesheets/global.css