From 279717c0d589e898e3d39e02a1ba5168f003408d Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Thu, 9 Feb 2023 09:39:22 +0800 Subject: [PATCH] set max width to 65% --- doc/source/_static/custom.css | 3 +++ doc/source/conf.py | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 doc/source/_static/custom.css diff --git a/doc/source/_static/custom.css b/doc/source/_static/custom.css new file mode 100644 index 0000000..0f4743a --- /dev/null +++ b/doc/source/_static/custom.css @@ -0,0 +1,3 @@ +.wy-nav-content { + max-width: 65% !important; +} \ No newline at end of file diff --git a/doc/source/conf.py b/doc/source/conf.py index 6fff24e..1db3110 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -72,3 +72,7 @@ html_static_path = ['_static'] # -- Copy Button -------------------------------------------------------- # copybutton_exclude = ['.linenos'] + +html_css_files = [ + 'custom.css', +] -- GitLab