« get me outta code hell

bug fixes and divided artist listings - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/static
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2020-11-16 11:52:35 -0400
committer(quasar) nebula <towerofnix@gmail.com>2020-11-16 12:03:26 -0400
commitba2e5e70900fb9f8f3cbf781e9ebdb74d42fd6cf (patch)
tree4ce83522dd82107abc41f2d1a75f88fb6a7dacab /static
parent47d41d236c6138eecfcbb3acb7d779a9a628b937 (diff)
bug fixes and divided artist listings
plus some tweaks to changelog formatting
Diffstat (limited to 'static')
-rw-r--r--static/site.css27
1 files changed, 23 insertions, 4 deletions
diff --git a/static/site.css b/static/site.css
index 3d33a5b..2d47385 100644
--- a/static/site.css
+++ b/static/site.css
@@ -34,7 +34,7 @@ a:hover {
     text-decoration: underline;
 }
 
-.columns {
+.layout-columns {
     display: flex;
 }
 
@@ -103,16 +103,29 @@ a:hover {
     fill: var(--fg-color);
 }
 
+.content-columns {
+    columns: 2;
+}
+
+.content-columns .column {
+    break-inside: avoid;
+}
+
+.content-columns .column h2 {
+    margin-top: 0;
+    font-size: 1em;
+}
+
 @media (max-width: 780px) {
     #sidebar:not(.no-hide) {
         display: none;
     }
 
-    .columns.vertical-when-thin {
+    .layout-columns.vertical-when-thin {
         flex-direction: column;
     }
 
-    .columns.vertical-when-thin > *:not(:last-child) {
+    .layout-columns.vertical-when-thin > *:not(:last-child) {
         margin-bottom: 10px;
     }
 
@@ -123,6 +136,12 @@ a:hover {
     }
 }
 
+@media (max-width: 600px) {
+    .content-columns {
+        columns: 1;
+    }
+}
+
 #sidebar, #content, #header {
     background-color: rgba(var(--bg-shade), var(--bg-shade), var(--bg-shade), 0.6);
     border: 1px dotted var(--fg-color);
@@ -131,7 +150,7 @@ a:hover {
 
 #sidebar {
     flex: 1 1 20%;
-    min-width: 200px;
+    min-width: 150px;
     max-width: 250px;
     flex-basis: 250px;
     float: left;