From 777160afef0dca4f4cb3a7864216a107dc73b927 Mon Sep 17 00:00:00 2001 From: James Knight Date: Mon, 14 Oct 2024 14:52:49 -0400 Subject: [PATCH] doc: add border style to content entries When presenting various directives, roles and more; it can a bit hard to make a distinction between each content-section when reading documentation. This help improve the experience, adding a slight border hint at the top of each content-section. Signed-off-by: James Knight --- doc/_themes/sphinx13b/static/sphinx13b.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/_themes/sphinx13b/static/sphinx13b.css b/doc/_themes/sphinx13b/static/sphinx13b.css index f152d74e..7101d0b4 100644 --- a/doc/_themes/sphinx13b/static/sphinx13b.css +++ b/doc/_themes/sphinx13b/static/sphinx13b.css @@ -530,6 +530,13 @@ p.rubric { background-color: #efe9e8 !important; } +.rst.directive, .rst.role, +.std.confval, .std.builderval, .std.event, +.py.function { + border-top: 1px solid #ccc; + padding-top: 5px; +} + @media (max-width: 750px) { .quick-links { display: none;