« get me outta code hell

content, css: main-separator - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/css/site.css
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-06-14 20:38:36 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-06-14 20:38:36 -0300
commitdcf499d8e6739d5213a5c069419a73dc6a0c0190 (patch)
treef8fef87141c00dcb4f0c0cc158565ab9f6015225 /src/static/css/site.css
parent09588ce5589003cc06873ce343af46428e2ebca2 (diff)
content, css: main-separator
Diffstat (limited to 'src/static/css/site.css')
-rw-r--r--src/static/css/site.css37
1 files changed, 30 insertions, 7 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css
index f98a5ab1..fe16f5d2 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -2230,31 +2230,54 @@ li .origin-details {
 
 #content hr {
   border: 1px inset #808080;
-  width: 100%;
+}
+
+#content hr.split {
+  color: #808080;
 }
 
 #content hr.split::before {
   content: "(split)";
-  color: #808080;
 }
 
-#content hr.split {
+#content hr.main-separator {
+  color: var(--dim-color);
+  clear: none;
+  margin-top: -0.25em;
+  margin-bottom: 1.75em;
+}
+
+#content hr.main-separator::before {
+  content: "♦";
+  font-size: 1.2em;
+}
+
+#content hr.split,
+#content hr.main-separator {
   position: relative;
   overflow: hidden;
   border: none;
 }
 
-#content hr.split::after {
+#content hr.split::after,
+#content hr.main-separator::after {
   display: inline-block;
   content: "";
-  border: 1px inset #808080;
-  width: 100%;
+  width: calc(100% - min(calc(8vw - 35px), 45px));
   position: absolute;
   top: 50%;
-  margin-top: -2px;
   margin-left: 10px;
 }
 
+#content hr.split::after {
+  border: 1px inset currentColor;
+  margin-top: -2px;
+}
+
+#content hr.main-separator::after {
+  border-bottom: 1px solid currentColor;
+}
+
 li > ul {
   margin-top: 5px;
 }