From 4b519ee4677ca1dc930fa845b4c2dc817934f090 Mon Sep 17 00:00:00 2001 From: fenychn0206 Date: Thu, 22 Jan 2026 21:30:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(style):=20=E5=9C=A8ASCII=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E4=B8=8ECJK=E4=B9=8B=E9=97=B4=E8=87=AA=E5=8A=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/assets/stylesheets/global.css | 6 ++++++ mkdocs.yml | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 docs/assets/stylesheets/global.css 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