Skip to content

Commit 777160a

Browse files
committed
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 <[email protected]>
1 parent ffd9387 commit 777160a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/_themes/sphinx13b/static/sphinx13b.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,13 @@ p.rubric {
530530
background-color: #efe9e8 !important;
531531
}
532532

533+
.rst.directive, .rst.role,
534+
.std.confval, .std.builderval, .std.event,
535+
.py.function {
536+
border-top: 1px solid #ccc;
537+
padding-top: 5px;
538+
}
539+
533540
@media (max-width: 750px) {
534541
.quick-links {
535542
display: none;

0 commit comments

Comments
 (0)