[PATCH 1/3] docs: add left padding to TOC lists

Rito Rhymes posted 3 patches 3 days, 3 hours ago
[PATCH 1/3] docs: add left padding to TOC lists
Posted by Rito Rhymes 3 days, 3 hours ago
Add a small amount of left padding to the kernel TOC lists.

This improves readability because the TOC lists and their
container use different background colors, and when the first
character sits too close to that contrasting edge it is harder to
read.

Signed-off-by: Rito Rhymes <rito@ritovision.com>
Assisted-by: Codex:GPT-5.4
---
 Documentation/sphinx-static/custom.css | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/sphinx-static/custom.css b/Documentation/sphinx-static/custom.css
index db24f4344..6ba3e48bf 100644
--- a/Documentation/sphinx-static/custom.css
+++ b/Documentation/sphinx-static/custom.css
@@ -64,6 +64,7 @@ div.kerneltoc li.toctree-l2,li.toctree-l3 { font-size: small;
 		margin-left: 1em;
 		list-style-type: none;
 	      }
+div.kerneltoc ul { padding-left: 10px; }
 div.kerneltoc li.current ul { margin-left: 0; }
 div.kerneltoc { background-color: #eeeeee; }
 div.kerneltoc li.current ul { background-color: white; }
-- 
2.51.0