From 9dbcf794c4f2b9fa8a52b3302d9e3bee8b19cfec Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 18 Feb 2025 14:16:18 -0400 Subject: content, css: generateAlbumSidebar: earlier/later releases Also CSS tweak for release box backgrounds, and fix generateAlbumSidebar being broken for non-track pages --- src/static/css/site.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/static/css') diff --git a/src/static/css/site.css b/src/static/css/site.css index bf9ec3be..42d4216f 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -550,9 +550,6 @@ summary.underline-white > span:hover a:not(:hover) { .track-release-sidebar-box { --content-padding: 3px; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - background: var(--dark-color), var(--bg-black-color); } .track-release-sidebar-box h1 { @@ -563,12 +560,19 @@ summary.underline-white > span:hover a:not(:hover) { } .track-release-sidebar-box + .track-release-sidebar-box, -.track-release-sidebar-box + .track-list-sidebar-box { +.track-release-sidebar-box + .track-list-sidebar-box, +.track-list-sidebar-box + .track-release-sidebar-box { margin-top: 5px !important; border-top-left-radius: 0; border-top-right-radius: 0; } +.track-release-sidebar-box:has(+ .track-list-sidebar-box), +.track-list-sidebar-box:has(+ .track-release-sidebar-box) { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + .wiki-search-sidebar-box { padding: 1px 0 0 0; -- cgit 1.3.0-6-gf8a5