E579 docs(style[toc]): increase TOC font size from 81.25% to 87.5% · tmux-python/tmuxp@1c93acf · GitHub
[go: up one dir, main page]

Skip to content

Commit 1c93acf

Browse files
committed
docs(style[toc]): increase TOC font size from 81.25% to 87.5%
why: Larger text improves readability for API pages with long method names. what: - Bump --toc-font-size from --font-size--small--2 to --font-size--small - Use body selector to match Furo's variable scoping (overrides :root)
1 parent f22b1f4 commit 1c93acf

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/_static/css/custom.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,10 @@ article h6 {
9090
* Uses Furo CSS variable overrides where possible.
9191
* ────────────────────────────────────────────────────────── */
9292

93-
/* TOC font sizes: items 75% → 81.25% (12→13px),
94-
title 62.5% → 87.5% (10→14px) */
95-
:root {
96-
--toc-font-size: var(--font-size--small--2);
97-
--toc-title-font-size: var(--font-size--small);
93+
/* TOC font sizes: override Furo defaults (75% → 87.5%) */
94+
body {
95+
--toc-font-size: var(--font-size--small); /* 87.5% = 14px */
96+
--toc-title-font-size: var(--font-size--small); /* 87.5% = 14px */
9897
}
9998

10099
/* More generous line-height for wrapped TOC entries */

0 commit comments

Comments
 (0)
0