« get me outta code hell

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:
Diffstat (limited to 'src/static/css')
-rw-r--r--src/static/css/features.css24
-rw-r--r--src/static/css/search.css9
2 files changed, 23 insertions, 10 deletions
diff --git a/src/static/css/features.css b/src/static/css/features.css
index c811c753..410bf5b9 100644
--- a/src/static/css/features.css
+++ b/src/static/css/features.css
@@ -566,7 +566,8 @@
   }
 
   #artwork-column .album-art-info {
-    margin: 10px min(15px, 1vw) 15px;
+    margin: 10px min(15px, 1vw) 18px;
+    z-index: 2;
   }
 
   #artwork-column .cover-artwork:not(:first-child),
@@ -1218,21 +1219,26 @@
   }
 }
 
-/* Group-contributions tables */
+/* Group contributions tables */
 
 @layer layout {
   .group-contributions-table {
-    display: inline-block;
+    margin-left: 40px;
+    border-collapse: collapse;
   }
 
-  .group-contributions-table .group-contributions-row {
-    display: flex;
-    justify-content: space-between;
+  .group-contributions-table td {
+    padding: 0 0 4px 0;
   }
 
-  .group-contributions-table .group-contributions-metrics {
-    margin-left: 1.5ch;
+  .group-contributions-table .group-contributions-link-cell {
+    display: list-item;
+  }
+
+  .group-contributions-table .group-contributions-metrics-cell {
+    padding-left: 1.5ch;
     white-space: nowrap;
+    text-align: right;
   }
 }
 
@@ -1954,7 +1960,7 @@
     /* Slight stretching past the bottom of the screen seems
      * to make resizing the window (and "revealing" that area)
      * a bit smoother.
-     */
+     *....../
     position: fixed;
     bottom: -20px;
     left: 0;
diff --git a/src/static/css/search.css b/src/static/css/search.css
index 3c56eed6..409e12df 100644
--- a/src/static/css/search.css
+++ b/src/static/css/search.css
@@ -49,10 +49,17 @@
 }
 
 @layer interaction {
-  .wiki-search-sidebar-box.showing-results ~ .sidebar:not(:hover) {
+  .wiki-search-sidebar-box.showing-results ~ .sidebar:not(:hover),
+  .wiki-search-sidebar-box.showing-results ~ .sidebar-box-joiner {
     opacity: 0.8;
     filter: brightness(0.85);
   }
+
+  .wiki-search-sidebar-box.showing-results ~ .sidebar:hover + .sidebar-box-joiner,
+  .wiki-search-sidebar-box.showing-results ~ .sidebar-box-joiner:has(+ .sidebar:hover) {
+    opacity: revert-layer;
+    filter: revert-layer;
+  }
 }
 
 /* Label and input elements */