From 862914a2b1ad707bad64efd783415e53a354de1d Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Mon, 7 Oct 2024 23:50:43 +0200 Subject: [PATCH] pydata theme customize font and header height --- doc/source/_static/synadm.css | 4 ++++ doc/source/conf.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/source/_static/synadm.css b/doc/source/_static/synadm.css index c6cd3c03..0cd7021a 100644 --- a/doc/source/_static/synadm.css +++ b/doc/source/_static/synadm.css @@ -15,6 +15,10 @@ table { } table,thead,tbody {width:98%} */ +html { + --pst-font-size-base: 14px; + --pst-header-height: 3rem; +} /* pydata teal (primary): #126A7E */ /* pydata violet (secondary): #7D0E70 */ diff --git a/doc/source/conf.py b/doc/source/conf.py index 1e61a9a5..0a271bc6 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -79,8 +79,8 @@ # }, } html_title = "synadm" -# html_static_path = ["_static"] -# html_css_files = ["synadm.css"] +html_static_path = ["_static"] +html_css_files = ["synadm.css"] # -- Extension configuration -------------------------------------------------