From ea9de8fc50f39b0cee28f4613fec5fa4cd40cc44 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Thu, 16 Jan 2025 17:43:23 +0100 Subject: [PATCH] font size shouldn't be all h1 xd --- .../patches/_static/fix_code_header_style.css | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/jupyterbook_patches/patches/_static/fix_code_header_style.css b/src/jupyterbook_patches/patches/_static/fix_code_header_style.css index fbe6820..e25907c 100644 --- a/src/jupyterbook_patches/patches/_static/fix_code_header_style.css +++ b/src/jupyterbook_patches/patches/_static/fix_code_header_style.css @@ -1,3 +1,18 @@ -h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { +h1 code { font-size: var(--pst-font-size-h1); +} +h2 code { + font-size: var(--pst-font-size-h2); +} +h3 code { + font-size: var(--pst-font-size-h3); +} +h4 code { + font-size: var(--pst-font-size-h4); +} +h5 code { + font-size: var(--pst-font-size-h5); +} +h6 code { + font-size: var(--pst-font-size-h6); } \ No newline at end of file