« get me outta code hell

content, css: generateAlbumSidebar: earlier/later releases - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/css
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-02-18 14:16:18 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-03-02 08:23:21 -0400
commit9dbcf794c4f2b9fa8a52b3302d9e3bee8b19cfec (patch)
treee98a8b3ec143272ca78c67f16e6fc1965fd422fe /src/static/css
parent6ebf03dc972806d7a6c3053350caf45ade1a1533 (diff)
content, css: generateAlbumSidebar: earlier/later releases
Also CSS tweak for release box backgrounds, and fix
generateAlbumSidebar being broken for non-track pages
Diffstat (limited to 'src/static/css')
-rw-r--r--src/static/css/site.css12
1 files changed, 8 insertions, 4 deletions
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;