« get me outta code hell

implement news entries data file and page! - 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-10 14:11:16 -0400
committer(quasar) nebula <towerofnix@gmail.com>2020-11-10 14:11:16 -0400
commit157ffb24a57e04ddd19f93c9dfff64df5a6208fd (patch)
treeefeb70f0391b1bfcd70674c75ef718102e46017e /static
parentc42861023bd97b355e59bc35e517ee76304df5a9 (diff)
implement news entries data file and page!
Diffstat (limited to 'static')
-rw-r--r--static/site.css31
1 files changed, 26 insertions, 5 deletions
diff --git a/static/site.css b/static/site.css
index f9e26a7..abde862 100644
--- a/static/site.css
+++ b/static/site.css
@@ -153,28 +153,31 @@ a:hover {
     flex-grow: 1;
 }
 
+#sidebar > h1,
+#sidebar > h2,
+#sidebar > h3,
+#sidebar > p {
+    text-align: center;
+}
+
 #sidebar h1 {
     font-size: 1.25em;
-    text-align: center;
 }
 
 #sidebar h2 {
     font-size: 1.1em;
-    text-align: center;
     margin: 0;
 }
 
 #sidebar h3 {
     font-size: 1.1em;
-    text-align: center;
     font-style: oblique;
     font-variant: small-caps;
     margin-top: 0.3em;
     margin-bottom: 0em;
 }
 
-#sidebar p {
-    text-align: center;
+#sidebar > p {
     margin: 0.5em 0;
 }
 
@@ -227,6 +230,24 @@ a:hover {
     overflow-wrap: break-word;
 }
 
+#sidebar article {
+    text-align: left;
+    margin: 5px 5px 15px 5px;
+}
+
+#sidebar article:last-child {
+    margin-bottom: 5px;
+}
+
+#sidebar article h2 {
+    border-bottom: 1px dotted white;
+}
+
+#sidebar article h2 time {
+    float: right;
+    font-weight: normal;
+}
+
 #cover-art {
     float: right;
     width: 40%;