From e182c982ccd633e68cd2fcd154dde09a25439b50 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Tue, 9 Jun 2026 01:51:27 +0200 Subject: [PATCH] docs: left-align the downloads line with separators above and below Style the sidebar downloads line to align with the boxes above and the table of contents below (padding 22px), with a horizontal separator both between the search box and the downloads line and between the downloads line and the table of contents. Co-Authored-By: Claude Opus 4.8 --- docs/borg_theme/css/borg.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/borg_theme/css/borg.css b/docs/borg_theme/css/borg.css index e05fd24ed..e96d3f071 100644 --- a/docs/borg_theme/css/borg.css +++ b/docs/borg_theme/css/borg.css @@ -236,3 +236,17 @@ readthedocs-flyout { .sphinxsidebar > .sidebar-block:has(#main-search):after { margin: 7px 22px 0 22px; } +/* Downloads line in the sidebar: a single line, left-aligned with the boxes + above it and the table of contents below it. */ +.borg-downloads { + padding: 0 22px; + margin: 7px 0 7px 0; + font-size: 14px; + color: #000; +} +.borg-downloads:after { + content: ''; + display: block; + border-top: 1px solid #ccc; + margin: 7px 0 0 0; +}